[FIX] payment: Do not display add card button if no s2s acquirer
> - On the route /my/payment_method if there's no s2s acquirers you cannot add a new card, so we hide the button if no s2s acquirers found.
This commit is contained in:
@@ -147,7 +147,7 @@
|
||||
<i class="fa fa-lock"> Pay</i>
|
||||
</t>
|
||||
</button>
|
||||
<button t-if="mode == 'manage'" id="o_payment_form_add_pm" class="btn btn-primary btn-lg mb8 mt8">
|
||||
<button t-if="mode == 'manage' and s2s_acquirers" id="o_payment_form_add_pm" class="btn btn-primary btn-lg mb8 mt8">
|
||||
<i class="fa fa-plus-circle"> Add new card</i>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user