|
|
@ -217,6 +217,10 @@ class PaymentService extends CI_Controller {
|
|
|
|
$where = " OPN_SN=" . $item->OPN_SN;
|
|
|
|
$where = " OPN_SN=" . $item->OPN_SN;
|
|
|
|
$this->note_model->update_note($where, $update_note_column);
|
|
|
|
$this->note_model->update_note($where, $update_note_column);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if ($send_email===false) {
|
|
|
|
|
|
|
|
$this->note_model->update_send($item->OPN_SN, $item->OPN_transactionId, 'closed');
|
|
|
|
|
|
|
|
continue; // 这里不跳出, 退款后续需要检测是否发送财务
|
|
|
|
|
|
|
|
}
|
|
|
|
// 邮件外联
|
|
|
|
// 邮件外联
|
|
|
|
$opi_email = !empty($advisor_info->OPI_Email) ? $advisor_info->OPI_Email : '';
|
|
|
|
$opi_email = !empty($advisor_info->OPI_Email) ? $advisor_info->OPI_Email : '';
|
|
|
|
$opi_firstname = !empty($advisor_info->OPI_FirstName) ? $advisor_info->OPI_FirstName : !empty($advisor_info->OPI_Name) ? $advisor_info->OPI_Name : '';
|
|
|
|
$opi_firstname = !empty($advisor_info->OPI_FirstName) ? $advisor_info->OPI_FirstName : !empty($advisor_info->OPI_Name) ? $advisor_info->OPI_Name : '';
|
|
|
|