From dc2ebc8d4f1fdd0b686287764375108ad83e1e83 Mon Sep 17 00:00:00 2001 From: Kishan Patel Date: Tue, 26 Apr 2022 10:48:24 +0530 Subject: [PATCH] payment details added on payment page. --- .../gateways/forte/ach/authorize.blade.php | 1 - .../gateways/forte/ach/pay.blade.php | 79 ++++++++++--------- .../forte/credit_card/authorize.blade.php | 2 - .../gateways/forte/credit_card/pay.blade.php | 73 +++++++++-------- 4 files changed, 80 insertions(+), 75 deletions(-) diff --git a/resources/views/portal/ninja2020/gateways/forte/ach/authorize.blade.php b/resources/views/portal/ninja2020/gateways/forte/ach/authorize.blade.php index fbc4dc8aebbe..6929c8b3ea8b 100644 --- a/resources/views/portal/ninja2020/gateways/forte/ach/authorize.blade.php +++ b/resources/views/portal/ninja2020/gateways/forte/ach/authorize.blade.php @@ -102,7 +102,6 @@ @section('gateway_footer') - - - + @if($gateway->forte->company_gateway->getConfigField('testMode')) + + @else + + @endif @endsection @section('gateway_content') @@ -22,7 +20,7 @@ -
+
@component('portal.ninja2020.components.general.card-element', ['title' => ctrans('texts.payment_type')]) Bank Transfer @@ -31,29 +29,19 @@ @include('portal.ninja2020.gateways.includes.payment_details') @component('portal.ninja2020.components.general.card-element', ['title' => ctrans('texts.pay_with')]) - @if(count($tokens) > 0) - @foreach($tokens as $token) - - @endforeach - @else -
- @if($client->getBankTransferGateway()) - - {{ ctrans('texts.bank_account') }} - - @endif -
- @endif - + + @component('portal.ninja2020.components.general.card-element', ['title' => ctrans('texts.routing_number')]) + + @endcomponent + + @component('portal.ninja2020.components.general.card-element', ['title' => ctrans('texts.account_number')]) + + @endcomponent + + @component('portal.ninja2020.components.general.card-element-single') + + + @endcomponent @endcomponent
+ @endsection @section('gateway_footer') @endsection diff --git a/resources/views/portal/ninja2020/gateways/forte/credit_card/authorize.blade.php b/resources/views/portal/ninja2020/gateways/forte/credit_card/authorize.blade.php index 540067e6eb6e..70d356f8e2f2 100644 --- a/resources/views/portal/ninja2020/gateways/forte/credit_card/authorize.blade.php +++ b/resources/views/portal/ninja2020/gateways/forte/credit_card/authorize.blade.php @@ -21,7 +21,6 @@ method="post" id="server_response"> @csrf - {{-- --}} @@ -73,7 +72,6 @@ @section('gateway_footer') - + + + @if($gateway->forte->company_gateway->getConfigField('testMode')) + + @else + + @endif @endsection @section('gateway_content') @@ -22,7 +25,7 @@ -
+
@component('portal.ninja2020.components.general.card-element', ['title' => ctrans('texts.payment_type')]) {{ ctrans('texts.credit_card') }} @@ -31,30 +34,9 @@ @include('portal.ninja2020.gateways.includes.payment_details') @component('portal.ninja2020.components.general.card-element', ['title' => ctrans('texts.pay_with')]) - @if(count($tokens) > 0) - @foreach($tokens as $token) - - @endforeach - @else -
- - @if($client->getCreditCardGateway()) - - {{ ctrans('texts.credit_card') }} - - @endif -
- @endif + + + @include('portal.ninja2020.gateways.forte.includes.credit_card') @endcomponent
@@ -66,22 +48,43 @@ {{ $slot ?? ctrans('texts.pay_now') }} -
+ @endsection @section('gateway_footer') @endsection