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