|
|
|
|
@ -653,8 +653,6 @@ class Index extends CI_Controller {
|
|
|
|
|
$ordertype = 'T';
|
|
|
|
|
} elseif (substr($ordertype_temp, 0, 1) == 'B') {
|
|
|
|
|
$ordertype = 'B';
|
|
|
|
|
} elseif (substr($ordertype_temp, 0, 1) == 'A') {
|
|
|
|
|
$ordertype = 'A';
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
// 2018.05.28 for Trippest, tourMaster的订单号是01开头
|
|
|
|
|
@ -749,10 +747,8 @@ class Index extends CI_Controller {
|
|
|
|
|
}
|
|
|
|
|
//退款状态默认为已经处理,陆燕在退款前手动通知外联了,系统跳过处理
|
|
|
|
|
if ($item->pn_payment_status == 'Refunded') {
|
|
|
|
|
$this->send_refund($item, $handpick, $old_ssje);
|
|
|
|
|
$this->Note_model->update_send($item->pn_txn_id, 'send');
|
|
|
|
|
continue;
|
|
|
|
|
// $this->Note_model->update_send($item->pn_txn_id, 'send');
|
|
|
|
|
// continue;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//只处理完成状态,其他状态由陆燕处理
|
|
|
|
|
@ -882,6 +878,7 @@ class Index extends CI_Controller {
|
|
|
|
|
$M_State = 0;
|
|
|
|
|
$this->Paypal_model->save_automail($fromName, $fromEmail, $toName, $toEmail, $subject, $body, $M_RelatedInfo, $M_State, $M_AddTime, 'paypal note');
|
|
|
|
|
//添加邮件发送记录 end
|
|
|
|
|
|
|
|
|
|
$this->Note_model->update_send($item->pn_txn_id, 'send');
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@ -961,6 +958,7 @@ class Index extends CI_Controller {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$opi_email = !empty($advisor_info->OPI_Email) ? $advisor_info->OPI_Email : ''; //lussie@chinahighlights.net
|
|
|
|
|
$opi_firstname = !empty($advisor_info->OPI_FirstName) ? $advisor_info->OPI_FirstName : !empty($advisor_info->OPI_Name) ? $advisor_info->OPI_Name : ''; //lussie
|
|
|
|
|
|
|
|
|
|
|