AH水灯节两类表单绑定国籍

master
Jimmy Liow 2 years ago
parent 765f109b35
commit bcd23d60f4

@ -77,6 +77,8 @@ class Orders extends CI_Controller {
} }
$this->Orders_model->COLI_OrderStartDate = date('Y-m-d', strtotime($this->input->post('ticket_date'))); $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'); $this->Orders_model->MEI_Phone = $this->input->post('PhoneNo');
if (!empty($third_webcode)) { if (!empty($third_webcode)) {

Loading…
Cancel
Save