INVOICE

{{ $invoice->invoice_number }}

eBandroom

540 W. Louse Ave.

Vinita, OK 74301

Bill To

{{ $invoice->client->name }}

Invoice Date: {{ $invoice->invoice_date?->format('F j, Y') }}
Due Date: {{ $invoice->due_date?->format('F j, Y') }}
@foreach($invoice->lines as $line) @endforeach
SKU Description School Year Qty Unit Price Amount
{{ $line->sku }} {{ $line->name }} {{ $line->school_year_formatted }} {{ $line->quantity }} {{ formatMoney($line->unit_price) }} {{ formatMoney($line->amount) }}
Total {{ formatMoney($invoice->total) }}
@php $completedPayments = $invoice->payments->where('status', \App\Enums\PaymentStatus::COMPLETED); $pendingPayments = $invoice->payments->where('status', '!=', \App\Enums\PaymentStatus::COMPLETED); @endphp @if($completedPayments->count() > 0)

Payments Received

@foreach($completedPayments as $payment) @endforeach
Date Method Reference Amount
{{ $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($pendingPayments->count() > 0)

Pending Payments

@foreach($pendingPayments as $payment) @endforeach
Date Method Reference Status Amount
{{ $payment->payment_date->format('F j, Y') }} {{ $payment->payment_method->label() }} {{ $payment->reference }} {{ $payment->status->label() }} {{ formatMoney($payment->amount) }}
@endif @if($invoice->balance_due != 0)

Payment

Please make payment to:

eBandroom

540 W. Louse Ave.

Vinita, OK 74301

@endif @if($invoice->notes)

Notes

{{ $invoice->notes }}

@endif