mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Hide WePay credit card form if token billing is disabled
This commit is contained in:
parent
b5ed7d9896
commit
c433661d11
@ -202,6 +202,9 @@
|
||||
<p> <br/> </p>
|
||||
@endif
|
||||
|
||||
@if ($accountGateway->isGateway(GATEWAY_WEPAY) && $account->token_billing_type_id === TOKEN_BILLING_DISABLED)
|
||||
{{--- do nothing ---}}
|
||||
@else
|
||||
<div class="row">
|
||||
<div class="col-lg-{{ ($accountGateway->gateway_id == GATEWAY_BRAINTREE) ? 12 : 8 }}">
|
||||
|
||||
@ -304,6 +307,7 @@
|
||||
<div class='card-wrapper'></div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div class="col-md-12">
|
||||
<div id="js-error-message" style="display:none" class="alert alert-danger"></div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user