修改退票程序

feature/pay
cyc 6 years ago
parent 521a20e536
commit 014c8a77fc

@ -102,7 +102,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 = 'returntickets'; $customer_subject = 'returntickets';
$customer_body = '<p>Dear'.$data->tst_realname.',</p><p>Your tickets (for name '.$data->tst_realname.',train No. '.$back_detail_data->result->checi.')have been cancelled online successfully. Your travel advisor('.$toName.',email address:'.$toEmail',phone number (+86)'.$Mobile.')will contact you with the refund details via email within 24 hours.'; $customer_body = '<p>Dear'.$data->tst_realname.',</p><p>Your tickets (for name '.$data->tst_realname.',train No. '.$back_detail_data->result->checi.')have been cancelled online successfully. Your travel advisor('.$toName.',email address:'.$toEmail.',phone number (+86)'.$Mobile.')will contact you with the refund details via email within 24 hours.';
$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,'cyc@hainatravel.com',$customer_subject,$customer_body); $this->Sendmail_model->SendMailToTable($toName,$toEmail,$data->tst_realname,'cyc@hainatravel.com',$customer_subject,$customer_body);

Loading…
Cancel
Save