[IMP] payment: show distinctly acquirers in test mode.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user