From 4b94c34bf70f24f61034973df2d24a3566beedaf Mon Sep 17 00:00:00 2001 From: Jimmy Liow Date: Tue, 12 Dec 2023 13:55:01 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=9F=E4=B8=80=E5=B9=B4=E9=BE=84=20name=20?= =?UTF-8?q?=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/controllers/orders.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/application/controllers/orders.php b/application/controllers/orders.php index e8676c3b..35f995d0 100644 --- a/application/controllers/orders.php +++ b/application/controllers/orders.php @@ -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;