AH TM 表单成人累加规则变更

master
Jimmy Liow 2 years ago
parent 4c550973c6
commit 6214961fcc

@ -119,7 +119,12 @@ class Orders extends CI_Controller {
$this->Orders_model->COLI_GroupType = '19006';
$this->Orders_model->COLI_OrderType = '19006';
$adultNumber = $this->input->post('adult');
$adult_18_40 = $this->input->post('adult_18_40');
$adult_41_64 = $this->input->post('adult_41_64');
$adult_65_plus = $this->input->post('adult_65_plus');
$adultNumber = intval($adult_18_40) + intval($adult_41_64) + intval($adult_65_plus);
//
$childrenNumber = $this->input->post('children_3_9_yrs');
$teenagerNumber = $this->input->post('teenager_10_17_yrs');
$infantNumber = $this->input->post('infant_0_2_yrs');

Loading…
Cancel
Save