From b736bab143ee6da84327af72335debab5bf7d2e2 Mon Sep 17 00:00:00 2001 From: Burak Civan Date: Wed, 16 Nov 2022 18:16:15 +0300 Subject: [PATCH] payment method problem --- .../views/portal/invoices/preview.blade.php | 44 ++++++++++++------- .../views/portal/invoices/show.blade.php | 44 ++++++++++++------- .../views/portal/invoices/signed.blade.php | 44 ++++++++++++------- 3 files changed, 84 insertions(+), 48 deletions(-) diff --git a/resources/views/portal/invoices/preview.blade.php b/resources/views/portal/invoices/preview.blade.php index 86c14a20b..c65867582 100644 --- a/resources/views/portal/invoices/preview.blade.php +++ b/resources/views/portal/invoices/preview.blade.php @@ -28,23 +28,35 @@ @php $is_active = true; @endphp -
- @foreach ($payment_methods as $key => $name) - @stack('invoice_{{ $key }}_tab_start') -
- -
- {{ $name }} -
-
-
- @stack('invoice_{{ $key }}_tab_end') +
+
+ @foreach ($payment_methods as $key => $name) + @stack('invoice_{{ $key }}_tab_start') +
+ +
+ {{ $name }} +
+
+
+ @stack('invoice_{{ $key }}_tab_end') - @php $is_active = false; @endphp - @endforeach + @php $is_active = false; @endphp + @endforeach +
+ + @if (count($payment_methods) > 3) +
+ chevron_right +
+ +
+ chevron_left +
+ @endif
diff --git a/resources/views/portal/invoices/show.blade.php b/resources/views/portal/invoices/show.blade.php index 33736c241..bb1ae6fe6 100644 --- a/resources/views/portal/invoices/show.blade.php +++ b/resources/views/portal/invoices/show.blade.php @@ -26,23 +26,35 @@ @php $is_active = true; @endphp -
- @foreach ($payment_methods as $key => $name) - @stack('invoice_{{ $key }}_tab_start') -
- -
- {{ $name }} -
-
-
- @stack('invoice_{{ $key }}_tab_end') +
+
+ @foreach ($payment_methods as $key => $name) + @stack('invoice_{{ $key }}_tab_start') +
+ +
+ {{ $name }} +
+
+
+ @stack('invoice_{{ $key }}_tab_end') - @php $is_active = false; @endphp - @endforeach + @php $is_active = false; @endphp + @endforeach +
+ + @if (count($payment_methods) > 3) +
+ chevron_right +
+ +
+ chevron_left +
+ @endif
diff --git a/resources/views/portal/invoices/signed.blade.php b/resources/views/portal/invoices/signed.blade.php index c3e00e454..86bed3ae3 100644 --- a/resources/views/portal/invoices/signed.blade.php +++ b/resources/views/portal/invoices/signed.blade.php @@ -35,23 +35,35 @@ @php $is_active = true; @endphp -
- @foreach ($payment_methods as $key => $name) - @stack('invoice_{{ $key }}_tab_start') -
- -
- {{ $name }} -
-
-
- @stack('invoice_{{ $key }}_tab_end') +
+
+ @foreach ($payment_methods as $key => $name) + @stack('invoice_{{ $key }}_tab_start') +
+ +
+ {{ $name }} +
+
+
+ @stack('invoice_{{ $key }}_tab_end') - @php $is_active = false; @endphp - @endforeach + @php $is_active = false; @endphp + @endforeach +
+ + @if (count($payment_methods) > 3) +
+ chevron_right +
+ +
+ chevron_left +
+ @endif