|
|
@ -409,6 +409,7 @@ class Orders extends CI_Controller {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$this->Orders_model->MEI_MailList = $this->input->post('email');
|
|
|
|
$this->Orders_model->MEI_MailList = $this->input->post('email');
|
|
|
|
$this->Orders_model->MEI_Mail = $this->input->post('email2');
|
|
|
|
$this->Orders_model->MEI_Mail = $this->input->post('email2');
|
|
|
|
|
|
|
|
/*
|
|
|
|
$pos = strstr($this->input->post('realname'), ' ');
|
|
|
|
$pos = strstr($this->input->post('realname'), ' ');
|
|
|
|
if ($pos === false) {
|
|
|
|
if ($pos === false) {
|
|
|
|
$this->Orders_model->MEI_FirstName = $this->input->post('realname');
|
|
|
|
$this->Orders_model->MEI_FirstName = $this->input->post('realname');
|
|
|
@ -416,6 +417,9 @@ class Orders extends CI_Controller {
|
|
|
|
$this->Orders_model->MEI_FirstName = str_replace($pos, '', $this->input->post('realname'));
|
|
|
|
$this->Orders_model->MEI_FirstName = str_replace($pos, '', $this->input->post('realname'));
|
|
|
|
$this->Orders_model->MEI_LastName = $pos;
|
|
|
|
$this->Orders_model->MEI_LastName = $pos;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
$this->Orders_model->MEI_FirstName = $this->input->post('firstname');
|
|
|
|
|
|
|
|
$this->Orders_model->MEI_LastName = $this->input->post('lastname');
|
|
|
|
$this->Orders_model->MEI_Nationality = $this->Orders_model->GetNationalityID($this->
|
|
|
|
$this->Orders_model->MEI_Nationality = $this->Orders_model->GetNationalityID($this->
|
|
|
|
input->post('nationality'));
|
|
|
|
input->post('nationality'));
|
|
|
|
$this->COLI_ProductSN = '';
|
|
|
|
$this->COLI_ProductSN = '';
|
|
|
|