diff --git a/application/controllers/orders.php b/application/controllers/orders.php index 9471afe6..42fdc83a 100644 --- a/application/controllers/orders.php +++ b/application/controllers/orders.php @@ -289,11 +289,8 @@ class Orders extends CI_Controller { $this->Orders_model->MEI_Nationality = $this->Orders_model->GetNationalityID($this->input->post('Nationality')); $this->Orders_model->COLI_ProductSN = $this->input->post('cli_sn'); - if(empty($this->input->post('Date_Start')){ - $this->Orders_model->COLI_OrderStartDate = $this->input->post('Date_Start_Mobile'); - }else{ - $this->Orders_model->COLI_OrderStartDate = $this->input->post('Date_Start'); - } + + $this->Orders_model->COLI_OrderStartDate = $this->input->post('Date_Start'); $this->Orders_model->MEI_Gender = $this->input->post('gender');