|
|
|
@ -125,9 +125,9 @@ class Orders extends CI_Controller {
|
|
|
|
|
$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');
|
|
|
|
|
$childrenNumber = $this->input->post('children_3_9');
|
|
|
|
|
$teenagerNumber = $this->input->post('teenager_10_17');
|
|
|
|
|
$infantNumber = $this->input->post('infant_0_2');
|
|
|
|
|
$personNumber = intval($adultNumber) + intval($teenagerNumber);
|
|
|
|
|
$this->Orders_model->COLI_PersonNum = $personNumber;
|
|
|
|
|
$this->Orders_model->COLI_ChildNum = $childrenNumber;
|
|
|
|
@ -415,9 +415,9 @@ class Orders extends CI_Controller {
|
|
|
|
|
$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');
|
|
|
|
|
$childrenNumber = $this->input->post('children_3_9');
|
|
|
|
|
$teenagerNumber = $this->input->post('teenager_10_17');
|
|
|
|
|
$infantNumber = $this->input->post('infant_0_2');
|
|
|
|
|
$personNumber = intval($adultNumber) + intval($teenagerNumber);
|
|
|
|
|
$this->Orders_model->COLI_PersonNum = $personNumber;
|
|
|
|
|
$this->Orders_model->COLI_ChildNum = $childrenNumber;
|
|
|
|
|