Authored by cailing

电子发票修改

... ... @@ -248,7 +248,7 @@ class OrderModel
break;
}
//判断是否显示电子发票
if($orderDetail['data']['invoice']['showInvoice'] == 'false' || empty($orderDetail['data']['invoice']['showInvoice'])){
if($orderDetail['data']['invoice']['showInvoice'] == false || empty($orderDetail['data']['invoice']['showInvoice'])){
break;
}
//pdf下载地址
... ... @@ -260,7 +260,6 @@ class OrderModel
$result['invoice']['type'] = $result['invoice']['type'] * 1 === 2 ? true : false;
}
while(false);
// $result['invoice'] = array(
// 'type' => true,//-- 纸质 false,电子 true
// 'title' => '发票抬头',// --发票抬头
... ...