Authored by cailing

电子发票代码恢复

... ... @@ -47,8 +47,7 @@ function invoiceInit() {
if (orderCont.invoiceType) {
$('.invoice-type').text(invoiceCont[orderCont.invoiceType] + '(' + invoicesType[orderCont.invoicesType] + ')');
} else {
// $('.invoice-type').text('服装(电子)');
$('.invoice-type').text('服装(纸质)');
$('.invoice-type').text('服装(电子)');
}
}
... ... @@ -135,7 +134,7 @@ $invoice.on('touchend', '.checkbox', function() {
orderInfo('invoiceText', '');
orderInfo('invoiceType', '7');
orderInfo('receiverMobile', $('.user-mobile').val());
orderInfo('invoicesType', '1');
orderInfo('invoicesType', '2');
orderInfo('invoiceTitle', '个人');
}
if ($this.hasClass('icon-radio')) {
... ...
... ... @@ -403,7 +403,7 @@ class IndexController extends AbstractAction
$invoices_title = '';
$invoiceType = '7'; //发票类型ID
$invoices_type = '1'; //发票类型 /**纸质 1 ,电子 2 */
// $invoices_type = '2'; //发票类型 /**纸质 1 ,电子 2 */
$invoices_type = '2'; //发票类型 /**纸质 1 ,电子 2 */
$invoice_Top = '个人';
}
... ... @@ -416,11 +416,11 @@ class IndexController extends AbstractAction
'companyName' => $invoices_title,
'isPaper' => $invoices_type == 1 ? true : false,
'invoicesType' => array(
// array(
// 'id' => '2',
// 'type' => '电子发票',
// 'choosed' => empty($invoices_type) || $invoices_type == 2 ? true : false,
// ),
array(
'id' => '2',
'type' => '电子发票',
'choosed' => empty($invoices_type) || $invoices_type == 2 ? true : false,
),
array(
'id' => '1',
'type' => '纸质发票',
... ...