修改火车出票产生的警告

feature/pay
cyc 6 years ago
parent 9cd6562f37
commit 8f517e548c

@ -13,6 +13,7 @@ class addorders extends CI_Controller{
$this->train_zw = $this->config->item('train_zw'); $this->train_zw = $this->config->item('train_zw');
$this->black_list = $this->config->item('black_list'); $this->black_list = $this->config->item('black_list');
$this->isauto = 0; $this->isauto = 0;
$this->istanding = 'false';
} }
public function index(){ public function index(){

@ -114,7 +114,7 @@ class returnorders extends CI_Controller{
$this->Sendmail_model->SendMailToTable($fromName,$fromEmail,$toName,$toEmail,$subject,$body); $this->Sendmail_model->SendMailToTable($fromName,$fromEmail,$toName,$toEmail,$subject,$body);
//发送邮件给客人 //发送邮件给客人
$customer_subject = 'China Train Ticket(s) Cancelation'; $customer_subject = 'China Train Ticket(s) Cancelation';
$customer_body = '<p>Dear '.$data->tst_realname.',</p><p>Your application for online ticket cancellation (ticket number '.$back_detail_data->result->ordernumber.', for name '.$data->tst_realname.', train No.'.$back_detail_data->result->checi.') has failed.Your travel advisor('.$toName.', email address: '.$toEmail.', phone number '.Mobile.') will contact you via email within 24 hours. Please call us if you need to contact us urgently.</p>'; $customer_body = '<p>Dear '.$data->tst_realname.',</p><p>Your application for online ticket cancellation (ticket number '.$back_detail_data->result->ordernumber.', for name '.$data->tst_realname.', train No.'.$back_detail_data->result->checi.') has failed.Your travel advisor('.$toName.', email address: '.$toEmail.', phone number '.$Mobile.') will contact you via email within 24 hours. Please call us if you need to contact us urgently.</p>';
$customer_email = $this->BIZ_train_model->get_guest_info($coli_id); $customer_email = $this->BIZ_train_model->get_guest_info($coli_id);
$customer_email = $customer_email[0]->GUT_Email; $customer_email = $customer_email[0]->GUT_Email;
$this->Sendmail_model->SendMailToTable($toName,$toEmail,$data->tst_realname,$customer_email,$customer_subject,$customer_body); $this->Sendmail_model->SendMailToTable($toName,$toEmail,$data->tst_realname,$customer_email,$customer_subject,$customer_body);

Loading…
Cancel
Save