diff --git a/resources/views/portal/invoices/preview.blade.php b/resources/views/portal/invoices/preview.blade.php index b8555526b..adab432eb 100644 --- a/resources/views/portal/invoices/preview.blade.php +++ b/resources/views/portal/invoices/preview.blade.php @@ -23,68 +23,70 @@
@if (! empty($payment_methods) && ! in_array($invoice->status, ['paid', 'cancelled'])) -
+
@php $is_active = true; @endphp - + @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 b1bc4adeb..239a04d13 100644 --- a/resources/views/portal/invoices/show.blade.php +++ b/resources/views/portal/invoices/show.blade.php @@ -21,66 +21,70 @@
@if (! empty($payment_methods) && ! in_array($invoice->status, ['paid', 'cancelled'])) -
-
+ +
@php $is_active = true; @endphp - - @php $is_active = true; @endphp - @foreach ($payment_methods as $key => $name) - @stack('invoice_{{ $key }}_content_start') + + @foreach ($payment_methods as $key => $name) + @stack('invoice_{{ $key }}_content_start') + +
+ +
+
+ @stack('invoice_{{ $key }}_content_end') -
- -
+ @php $is_active = false; @endphp + @endforeach - @stack('invoice_{{ $key }}_content_end') + + - @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 9f2e35cf9..a7af3a0f1 100644 --- a/resources/views/portal/invoices/signed.blade.php +++ b/resources/views/portal/invoices/signed.blade.php @@ -30,60 +30,70 @@
@if (! empty($payment_methods) && ! in_array($invoice->status, ['paid', 'cancelled'])) -
+
@php $is_active = true; @endphp - - - + + - - + + + + @endif @if ($invoice->transactions->count())