|
|
|
@ -751,7 +751,12 @@ class Index extends CI_Controller {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//检测是否是APP订单,默认不处理
|
|
|
|
|
if ((strpos($item->pn_memo, 'China Train Booking') !== false) || (strpos($item->pn_memo, 'ChinaTrainBooking') !== false)) { //APP自动出票的订单不需要处理
|
|
|
|
|
if (
|
|
|
|
|
( (strpos($item->pn_memo, 'China Train Booking') !== false)
|
|
|
|
|
|| (strpos($item->pn_memo, 'ChinaTrainBooking') !== false)
|
|
|
|
|
)
|
|
|
|
|
&& empty($pn_txn_id)
|
|
|
|
|
) { //APP自动出票的订单不需要处理
|
|
|
|
|
$this->Note_model->update_send($item->pn_txn_id, 'send');
|
|
|
|
|
continue;
|
|
|
|
|
}
|
|
|
|
@ -795,7 +800,7 @@ class Index extends CI_Controller {
|
|
|
|
|
$this->Note_model->set_invoice($item->pn_txn_id, $orderid_info->orderid . '_' . $orderid_info->ordertype);
|
|
|
|
|
|
|
|
|
|
//检测是否是APP订单,默认不处理
|
|
|
|
|
if ($orderid_info->ordertype == 'A') { //APP自动出票的订单不需要处理
|
|
|
|
|
if ($orderid_info->ordertype == 'A' ) { //APP自动出票的订单不需要处理
|
|
|
|
|
$this->Note_model->update_send($item->pn_txn_id, 'send');
|
|
|
|
|
continue;
|
|
|
|
|
}
|
|
|
|
|