From 43d4869532e652866e5b150a7a81dfb6f8ec7049 Mon Sep 17 00:00:00 2001 From: Matt Young Date: Wed, 28 Jan 2026 22:15:03 -0600 Subject: [PATCH] Update customer invoice to show payments. --- resources/views/invoices/show.blade.php | 52 +++++++++++++++++++++---- 1 file changed, 45 insertions(+), 7 deletions(-) diff --git a/resources/views/invoices/show.blade.php b/resources/views/invoices/show.blade.php index 2990970..648a3bb 100644 --- a/resources/views/invoices/show.blade.php +++ b/resources/views/invoices/show.blade.php @@ -67,13 +67,51 @@ -
-

Payment

-

Please make payment to:

-

eBandroom

-

540 W. Louse Ave.

-

Vinita, OK 74301

-
+ @if($invoice->payments->count() > 0) +
+

Payments Received

+ + + + + + + + + + + @foreach($invoice->payments as $payment) + + + + + + + @endforeach + + + + + + + + + + + +
DateMethodReferenceAmount
{{ $payment->payment_date->format('F j, Y') }}{{ $payment->payment_method->label() }}{{ $payment->reference }}{{ formatMoney($payment->amount) }}
Total Payments{{ formatMoney($invoice->total_payments) }}
Balance Due{{ formatMoney($invoice->balance_due) }}
+
+ @endif + + @if($invoice->balance_due != 0) +
+

Payment

+

Please make payment to:

+

eBandroom

+

540 W. Louse Ave.

+

Vinita, OK 74301

+
+ @endif @if($invoice->notes)