Skip to content

Commit a4f8464

Browse files
committedMar 23, 2016
[FIX] website_sale: when paying by wire transfer, display payment info
In 8.0, when paying by wire tranfer, the confirmation page contained the detailed payment information. This behaviour was lost in 9, this revision reintroduces it.
1 parent 48eb674 commit a4f8464

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed
 

‎addons/website_sale/views/templates.xml

+6-3
Original file line numberDiff line numberDiff line change
@@ -1376,7 +1376,7 @@
13761376
<t t-if="tx_ids and state == 'cancel'">
13771377
<p>The payment seems to have been canceled.</p>
13781378
</t>
1379-
<t t-if="tx_ids and state == 'pending' and validation == 'manual'">
1379+
<t t-if="tx_ids and state == 'pending' and validation">
13801380
<p>Your transaction is waiting a manual confirmation.</p><br />
13811381
<t t-if="tx_post_msg">
13821382
<div class="hidden-print"><t t-raw="tx_post_msg"/></div>
@@ -1426,8 +1426,11 @@
14261426
<!-- payment acquirer information -->
14271427
<template id="payment_confirmation_status">
14281428
<t t-if="order.payment_acquirer_id.auto_confirm == 'none'">
1429-
<div class="alert alert-info" role="alert">
1430-
<t t-raw="order.payment_acquirer_id.pending_msg"/>
1429+
<div class="panel panel-info">
1430+
<div class="panel-heading" t-raw="order.payment_acquirer_id.pending_msg" />
1431+
<div class="panel-body" t-if="order.payment_acquirer_id.post_msg">
1432+
<t t-raw="order.payment_acquirer_id.post_msg"/>
1433+
</div>
14311434
</div>
14321435
</t>
14331436
<t t-if="order.payment_acquirer_id.auto_confirm == 'at_pay_confirm'">

0 commit comments

Comments
 (0)
Please sign in to comment.