diff --git a/resources/views/portal/invoices/preview.blade.php b/resources/views/portal/invoices/preview.blade.php index c65867582..46fbf9f0c 100644 --- a/resources/views/portal/invoices/preview.blade.php +++ b/resources/views/portal/invoices/preview.blade.php @@ -23,72 +23,69 @@
@if (! empty($payment_methods) && ! in_array($invoice->status, ['paid', 'cancelled'])) - +
@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') + + @stack('invoice_{{ $key }}_tab_end') - @php $is_active = false; @endphp - @endforeach + @php $is_active = false; @endphp + @endforeach +
+ + @if (count($payment_methods) > 3) +
+ chevron_right
- @if (count($payment_methods) > 3) -
- chevron_right -
- -
- chevron_left -
- @endif -
- +
+ chevron_left +
+ @endif +
@php $is_active = true; @endphp - - @foreach ($payment_methods as $key => $name) - @stack('invoice_{{ $key }}_content_start') - -
- -
-
- @stack('invoice_{{ $key }}_content_end') + @foreach ($payment_methods as $key => $name) + @stack('invoice_{{ $key }}_content_start') +
+ +
+ @stack('invoice_{{ $key }}_content_end') - @php $is_active = false; @endphp - @endforeach + @php $is_active = false; @endphp + @endforeach - - + + - - -
- + + +
@endif @if ($invoice->transactions->count()) diff --git a/resources/views/portal/invoices/show.blade.php b/resources/views/portal/invoices/show.blade.php index bb1ae6fe6..b62a1b6ec 100644 --- a/resources/views/portal/invoices/show.blade.php +++ b/resources/views/portal/invoices/show.blade.php @@ -21,72 +21,69 @@
@if (! empty($payment_methods) && ! in_array($invoice->status, ['paid', 'cancelled'])) - +
@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') + + @stack('invoice_{{ $key }}_tab_end') - @php $is_active = false; @endphp - @endforeach + @php $is_active = false; @endphp + @endforeach +
+ + @if (count($payment_methods) > 3) +
+ chevron_right
- @if (count($payment_methods) > 3) -
- chevron_right -
- -
- chevron_left -
- @endif -
- +
+ chevron_left +
+ @endif +
@php $is_active = true; @endphp - - @foreach ($payment_methods as $key => $name) - @stack('invoice_{{ $key }}_content_start') - -
- -
-
- @stack('invoice_{{ $key }}_content_end') + @foreach ($payment_methods as $key => $name) + @stack('invoice_{{ $key }}_content_start') +
+ +
+ @stack('invoice_{{ $key }}_content_end') - @php $is_active = false; @endphp - @endforeach + @php $is_active = false; @endphp + @endforeach - - + + - - -
- + + +
@endif @if ($invoice->transactions->count()) diff --git a/resources/views/portal/invoices/signed.blade.php b/resources/views/portal/invoices/signed.blade.php index 86bed3ae3..a3835c6fe 100644 --- a/resources/views/portal/invoices/signed.blade.php +++ b/resources/views/portal/invoices/signed.blade.php @@ -30,72 +30,69 @@
@if (! empty($payment_methods) && ! in_array($invoice->status, ['paid', 'cancelled'])) - +
@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') + + @stack('invoice_{{ $key }}_tab_end') - @php $is_active = false; @endphp - @endforeach + @php $is_active = false; @endphp + @endforeach +
+ + @if (count($payment_methods) > 3) +
+ chevron_right
- @if (count($payment_methods) > 3) -
- chevron_right -
- -
- chevron_left -
- @endif -
- +
+ chevron_left +
+ @endif +
@php $is_active = true; @endphp - - @foreach ($payment_methods as $key => $name) - @stack('invoice_{{ $key }}_content_start') - -
- -
-
- @stack('invoice_{{ $key }}_content_end') - - @php $is_active = false; @endphp - @endforeach + @foreach ($payment_methods as $key => $name) + @stack('invoice_{{ $key }}_content_start') +
+ +
+ @stack('invoice_{{ $key }}_content_end') - - + @php $is_active = false; @endphp + @endforeach - - -
- + + + + + +
@endif @if ($invoice->transactions->count())