...
|
...
|
@@ -240,6 +240,21 @@ class OrderModel |
|
|
$result['isJit'] = true;
|
|
|
$result['jitDetailUrl'] = Helpers::url('/cart/index/jitDetail', array('orderCode' => $orderCode, 'sessionKey' => $sessionKey));
|
|
|
}
|
|
|
|
|
|
//电子发票
|
|
|
if (!empty($orderDetail['data']['invoice'])) {
|
|
|
$result['invoice'] = $orderDetail['data']['invoice'];
|
|
|
//纸质 1,电子 2
|
|
|
$result['invoice']['type'] = $result['invoice']['type'] * 1 === 2 ? true : false;
|
|
|
}
|
|
|
|
|
|
$result['invoice'] = array(
|
|
|
'type' => true,//-- 纸质 false,电子 true
|
|
|
'title' => '发票抬头',// --发票抬头
|
|
|
'contentValue' => '服饰',//-- 发票内容
|
|
|
'mobilePhone' => '13651898702',//--电话
|
|
|
'pdfUrl' => 'http://redmine.yoho.cn/attachments/download/2732/%E7%94%B5%E5%AD%90%E5%8F%91%E7%A5%A8-wap%E7%AB%AF.pdf',//--pdf下载地址
|
|
|
);
|
|
|
}
|
|
|
//取消订单原因列表
|
|
|
$resons = OrderData::closeReasons();
|
...
|
...
|
|