Authored by 王水玲

发票

@@ -24,9 +24,8 @@ @@ -24,9 +24,8 @@
24 <input type="text" name="tel" data-tel="{{completeTel}}" class="tel {{#phone}}istel{{/phone}}" value="{{phone}}" placeholder="可通过手机号在发票服务平台查询"> 24 <input type="text" name="tel" data-tel="{{completeTel}}" class="tel {{#phone}}istel{{/phone}}" value="{{phone}}" placeholder="可通过手机号在发票服务平台查询">
25 </span> 25 </span>
26 </li> 26 </li>
27 - {{#isCompany}}  
28 - <li class="company-area"><input type="text" name="company" class="company" value="{{companyName}}" placeholder="填写单位名称"></li>  
29 - {{/isCompany}} 27 +
  28 + <li class="company-area" {{#isCompany}}style="display: none;"{{/isCompany}}><input type="text" name="company" class="company" value="{{companyName}}" placeholder="填写单位名称"></li>
30 </ul> 29 </ul>
31 30
32 <ul class="invoice-cont"> 31 <ul class="invoice-cont">
@@ -374,7 +374,7 @@ class IndexController extends AbstractAction @@ -374,7 +374,7 @@ class IndexController extends AbstractAction
374 'invoiceNotice' => '发票须知', 374 'invoiceNotice' => '发票须知',
375 'phone' => $mobile ? substr_replace($mobile, '****', 3, 4) : '', 375 'phone' => $mobile ? substr_replace($mobile, '****', 3, 4) : '',
376 'completeTel' => $mobile, 376 'completeTel' => $mobile,
377 - 'isCompany' => $invoice_Top ? true : false, 377 + 'isCompany' => $invoice_Top ? false : true,
378 'companyName' => $invoices_title, 378 'companyName' => $invoices_title,
379 'invoicesType' => array( 379 'invoicesType' => array(
380 array( 380 array(