Showing
3 changed files
with
4 additions
and
2 deletions
web-static/img/order/invoice-desc.png
0 → 100644

8.68 KB
@@ -701,8 +701,10 @@ class CartModel | @@ -701,8 +701,10 @@ class CartModel | ||
701 | /* 发票内容 */ | 701 | /* 发票内容 */ |
702 | if (!empty($pay['data']['invoices']['invoiceContentList'])) { | 702 | if (!empty($pay['data']['invoices']['invoiceContentList'])) { |
703 | foreach ($pay['data']['invoices']['invoiceContentList'] as $value) { | 703 | foreach ($pay['data']['invoices']['invoiceContentList'] as $value) { |
704 | - $result['piaoTypes'][$value['invoices_type_id']]['id'] = $value['invoices_type_id']; | ||
705 | - $result['piaoTypes'][$value['invoices_type_id']]['name'] = $value['invoices_type_name']; | 704 | + $result['piaoTypes'][] = array( |
705 | + 'id' => $value['invoices_type_id'], | ||
706 | + 'name' => $value['invoices_type_name'] | ||
707 | + ); | ||
706 | } | 708 | } |
707 | $result['receiverMobile'] = isset($userInfo['data']['mobile']) && $userInfo['data']['mobile'] ? $userInfo['data']['mobile'] : ''; | 709 | $result['receiverMobile'] = isset($userInfo['data']['mobile']) && $userInfo['data']['mobile'] ? $userInfo['data']['mobile'] : ''; |
708 | $result['invoiceUrl'] = 'http://www.yohobuy.com/help?category_id=99'; | 710 | $result['invoiceUrl'] = 'http://www.yohobuy.com/help?category_id=99'; |
-
Please register or login to post a comment