Showing
1 changed file
with
1 additions
and
2 deletions
@@ -248,7 +248,7 @@ class OrderModel | @@ -248,7 +248,7 @@ class OrderModel | ||
248 | break; | 248 | break; |
249 | } | 249 | } |
250 | //判断是否显示电子发票 | 250 | //判断是否显示电子发票 |
251 | - if($orderDetail['data']['invoice']['showInvoice'] == 'false' || empty($orderDetail['data']['invoice']['showInvoice'])){ | 251 | + if($orderDetail['data']['invoice']['showInvoice'] == false || empty($orderDetail['data']['invoice']['showInvoice'])){ |
252 | break; | 252 | break; |
253 | } | 253 | } |
254 | //pdf下载地址 | 254 | //pdf下载地址 |
@@ -260,7 +260,6 @@ class OrderModel | @@ -260,7 +260,6 @@ class OrderModel | ||
260 | $result['invoice']['type'] = $result['invoice']['type'] * 1 === 2 ? true : false; | 260 | $result['invoice']['type'] = $result['invoice']['type'] * 1 === 2 ? true : false; |
261 | } | 261 | } |
262 | while(false); | 262 | while(false); |
263 | - | ||
264 | // $result['invoice'] = array( | 263 | // $result['invoice'] = array( |
265 | // 'type' => true,//-- 纸质 false,电子 true | 264 | // 'type' => true,//-- 纸质 false,电子 true |
266 | // 'title' => '发票抬头',// --发票抬头 | 265 | // 'title' => '发票抬头',// --发票抬头 |
-
Please register or login to post a comment