From bcd23d60f4a24d13f90da5e99a071c60704eccca Mon Sep 17 00:00:00 2001 From: Jimmy Liow <18777396951@163.com> Date: Mon, 7 Aug 2023 10:49:33 +0800 Subject: [PATCH] =?UTF-8?q?AH=E6=B0=B4=E7=81=AF=E8=8A=82=E4=B8=A4=E7=B1=BB?= =?UTF-8?q?=E8=A1=A8=E5=8D=95=E7=BB=91=E5=AE=9A=E5=9B=BD=E7=B1=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/controllers/orders.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/application/controllers/orders.php b/application/controllers/orders.php index 82db5aec..cb01e2e2 100644 --- a/application/controllers/orders.php +++ b/application/controllers/orders.php @@ -77,6 +77,8 @@ class Orders extends CI_Controller { } $this->Orders_model->COLI_OrderStartDate = date('Y-m-d', strtotime($this->input->post('ticket_date'))); + $country_id = $this->Orders_model->get_country_id_by_code($this->input->post('country_code')); + $this->Orders_model->MEI_Nationality = $country_id; $this->Orders_model->MEI_Phone = $this->input->post('PhoneNo'); if (!empty($third_webcode)) {