Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
周少峰
9 years ago
Commit
31b803426cf1ba360f43e93caffd317db59a829e
1 parent
09586a6e
add invoice switchtag
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
template/www.yohobuy.com/actions/cart/index/order-ensure.phtml
yohobuy/www.yohobuy.com/application/modules/Cart/controllers/Index.php
template/www.yohobuy.com/actions/cart/index/order-ensure.phtml
View file @
31b8034
...
...
@@ -413,12 +413,12 @@
</div>
<div class="receipt-type receipt-margin">
<span class="e-receipt curser-buttonn receipt-type-selected ">电子发票</span>
<span class="paper-receipt curser-button">纸质发票</span>
<span class="e-receipt curser-buttonn {{#if openInvoice}} receipt-type-selected {{^}} hide {{/if}}">电子发票</span>
<span class="paper-receipt curser-button {{#unless openInvoice}}receipt-type-selected{{/unless}}">纸质发票</span>
</div>
<div class="receipt-container receipt-margin">
<div class="e-receipt-desc">
<div class="e-receipt-desc
{{#unless openInvoice}}hide{{/unless}}
">
<a href="{{invoiceUrl}}" target="_blank"></a>
</div>
...
...
@@ -450,7 +450,7 @@
</div>
</div>
<div class="invoice-list invoice-phone">
<div class="invoice-list invoice-phone
{{#unless openInvoice}}hide{{/unless}}
">
<span class="invoice-star">*</span>
<span class="invoice-list-type">收票人手机</span>
<div class="invoice-line first-line input-line">
...
...
yohobuy/www.yohobuy.com/application/modules/Cart/controllers/Index.php
View file @
31b8034
...
...
@@ -259,6 +259,7 @@ class IndexController extends WebAction
$this
->
_view
->
display
(
'order-ensure'
,
array
(
'orderEnsurePage'
=>
true
,
'openInvoice'
=>
false
,
//是否开启电子发票
'orderEnsure'
=>
$orderEnsure
,
));
}
...
...
Please
register
or
login
to post a comment