Skip to content
Permalink
Browse files

[IMP] Payment : display transaction amount on transaction display

  • Loading branch information...
Feyensv committed Jan 25, 2019
1 parent 2ebc35f commit a1ff47a78c5812441dfefa20977f6a6ff9c1a047
@@ -129,7 +129,7 @@
<div class="text-center">
<p>We are not able to find your payment, but don't worry.</p>
<p>You should receive an email confirming your payment in a few minutes.</p>
<p>If, the payment hasn't been confirmed you can contact us.</p>
<p>If the payment hasn't been confirmed you can contact us.</p>
</div>
</t>

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>

<template id="pay_methods" name="Payment Methods">
<t t-call="portal.frontend_layout">
<t t-set="additional_title">Payment Methods</t>
@@ -137,6 +137,8 @@
<span t-if='payment_tx_id.acquirer_id.pending_msg' t-raw="payment_tx_id.acquirer_id.pending_msg"/>
<span t-if='thanks_msg' t-raw="thanks_msg"/>
<div t-if="thanks_msg and payment_tx_id.acquirer_id.provider == 'transfer' and reference">
<b>Amount: </b> <span t-field="payment_tx_id.amount"/>
<br/>
<b>Communication: </b><span t-esc='reference'/>
</div>
<div t-if="(payment_tx_id.partner_id.country_id.code in ['BE', 'AT', 'DE', 'FI', 'NL']) and (payment_tx_id.acquirer_id.qr_code == True) and (payment_tx_id.currency_id.name == 'EUR')">
@@ -174,5 +176,4 @@
</div>
</template>

</data>
</odoo>

0 comments on commit a1ff47a

Please sign in to comment.
You can’t perform that action at this time.