Authored by cailing

发票默认title修改

@@ -571,7 +571,7 @@ class IndexController extends AbstractAction @@ -571,7 +571,7 @@ class IndexController extends AbstractAction
571 $invoices['invoices_type_id'] = $orderInfo['invoiceType']; //发票类型ID 571 $invoices['invoices_type_id'] = $orderInfo['invoiceType']; //发票类型ID
572 $invoices['invoices_type'] = $orderInfo['invoicesType']; //发票类型 /**纸质 1 ,电子 2 */ 572 $invoices['invoices_type'] = $orderInfo['invoicesType']; //发票类型 /**纸质 1 ,电子 2 */
573 $invoices['receiverMobile'] = $orderInfo['receiverMobile']; //发票人手机 573 $invoices['receiverMobile'] = $orderInfo['receiverMobile']; //发票人手机
574 - $invoices['invoices_title'] = $orderInfo['invoiceText']; //发票抬头 574 + $invoices['invoices_title'] = empty($orderInfo['invoiceText']) ? '个人' : $orderInfo['invoiceText']; //发票抬头
575 } 575 }
576 576
577 /* 判断是否是友盟过来的用户 */ 577 /* 判断是否是友盟过来的用户 */