From 9551b106e7d87657c459647d6decb46ba4a7097e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=BCneyt=20=C5=9Eent=C3=BCrk?= Date: Thu, 17 Dec 2020 15:26:51 +0300 Subject: [PATCH] Offline payment portal issue solved.. --- .../Resources/views/show.blade.php | 45 ++++++------------- .../Resources/views/signed.blade.php | 30 +++++++++++++ 2 files changed, 43 insertions(+), 32 deletions(-) diff --git a/modules/OfflinePayments/Resources/views/show.blade.php b/modules/OfflinePayments/Resources/views/show.blade.php index 316b3c3d4..0abba7b55 100644 --- a/modules/OfflinePayments/Resources/views/show.blade.php +++ b/modules/OfflinePayments/Resources/views/show.blade.php @@ -5,44 +5,25 @@ @endif @if (!empty($setting['description'])) -
- {{ $setting['description'] }} -
+
{{ $setting['description'] }}
@endif
- + {!! Form::open([ + 'url' => route("portal.invoices.offline-payments.confirm", $document->id), + 'id' => 'redirect-form', + 'role' => 'form', + 'autocomplete' => "off", + 'novalidate' => 'true' + ]) !!} + + {!! Form::hidden('payment_method', $setting['code'], ['v-model' => 'form.payment_method']) !!} + {!! Form::close() !!}
- - diff --git a/modules/OfflinePayments/Resources/views/signed.blade.php b/modules/OfflinePayments/Resources/views/signed.blade.php index 5587f1f11..79f8fea92 100644 --- a/modules/OfflinePayments/Resources/views/signed.blade.php +++ b/modules/OfflinePayments/Resources/views/signed.blade.php @@ -38,3 +38,33 @@ }); }); //--> + +
+
+ @if (!empty($setting['name'])) +

{{ $setting['name'] }}

+ @endif + + @if (!empty($setting['description'])) +
{{ $setting['description'] }}
+ @endif +
+
+ +
+
+ {!! Form::open([ + 'url' => urldecode($confirm_url), + 'id' => 'redirect-form', + 'role' => 'form', + 'autocomplete' => "off", + 'novalidate' => 'true' + ]) !!} + + {!! Form::hidden('payment_method', $setting['code'], ['v-model' => 'form.payment_method']) !!} + {!! Form::close() !!} +
+
+