mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 13:24:30 -04:00
Fix for online payments page
This commit is contained in:
parent
5cda4c0dd9
commit
37a92fc853
@ -147,7 +147,8 @@
|
|||||||
->class('creditcard-types')
|
->class('creditcard-types')
|
||||||
->addGroupClass('gateway-option')
|
->addGroupClass('gateway-option')
|
||||||
!!}
|
!!}
|
||||||
@if(isset($accountGateway) && $accountGateway->gateway_id == GATEWAY_WEPAY)
|
|
||||||
|
@if(!isset($accountGateway) && $accountGateway->gateway_id == GATEWAY_WEPAY)
|
||||||
@if ($account->getGatewayByType(PAYMENT_TYPE_DIRECT_DEBIT, $accountGateway))
|
@if ($account->getGatewayByType(PAYMENT_TYPE_DIRECT_DEBIT, $accountGateway))
|
||||||
{!! Former::checkbox('enable_ach')
|
{!! Former::checkbox('enable_ach')
|
||||||
->label(trans('texts.ach'))
|
->label(trans('texts.ach'))
|
||||||
@ -161,7 +162,7 @@
|
|||||||
->text(trans('texts.enable_ach')) !!}
|
->text(trans('texts.enable_ach')) !!}
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@elseif(!isset($accountGateway) || $accountGateway->gateway_id == GATEWAY_STRIPE)
|
@elseif(!isset($accountGateway) && $accountGateway->gateway_id == GATEWAY_STRIPE)
|
||||||
<div class="stripe-ach">
|
<div class="stripe-ach">
|
||||||
@if ($account->getGatewayByType(PAYMENT_TYPE_DIRECT_DEBIT, isset($accountGateway)?$accountGateway:null))
|
@if ($account->getGatewayByType(PAYMENT_TYPE_DIRECT_DEBIT, isset($accountGateway)?$accountGateway:null))
|
||||||
{!! Former::checkbox('enable_ach')
|
{!! Former::checkbox('enable_ach')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user