[IMP] payment: show distinctly acquirers in test mode.

This commit is contained in:
Victor Feyens
2019-08-12 08:45:50 +00:00
parent 2a3f550d41
commit b4f226875c
+6 -1
View File
@@ -63,7 +63,12 @@
t-att-class="'d-none' if (acquirers_count==1 and pms_count==0) else ''"
t-att-checked="acquirers_count==1 and pms_count==0 or acquirers[0] == acq"/>
</t>
<span class="payment_option_name" t-esc="acq.display_as or acq.name"/>
<span class="payment_option_name">
<t t-esc="acq.display_as or acq.name"/>
<div t-if="acq.state == 'test'" class="badge-pill badge-warning float-right">
Test Mode
</div>
</span>
<t t-if="acq_extra_fees and acq_extra_fees.get(acq)">
<span class="badge badge-pill badge-secondary"> + <t t-esc="acq_extra_fees[acq]" t-options='{"widget": "monetary", "display_currency": acq_extra_fees["currency_id"]}'/> Fee </span>
</t>