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)) {