Created By:{{ $invoice->created_by }}

Receipt To:

{{ $invoice && $invoice->user ? $invoice->user->name : '--' }}

{{ $invoice->user->member_number }}

{{ $invoice && $invoice->user ? $invoice->user->full_address : '--' }}

{{ $invoice && $invoice->user ? $invoice->user->primary_contact_number : '--' }}

Invoice Date:
{{ $invoice->issue_date_format }}

Due Date:
{{ $invoice->due_date_format }}

Payment Method:
{{ $invoice->payment_methods[0]?? '' }}

@foreach ($invoice->invoiceDetails as $invoice_detail) @endforeach
No Item Description Year Price(AUD) Amount(AUD)
{{ $loop->index + 1 }} {{ $invoice_detail->invoiceItem->item }} {{ $invoice_detail->year ?? '' }} ${{ $invoice_detail->amount }} ${{ numberFormat($invoice_detail->amount) }}

Remarks:

{{ $invoice->remarks }}

Sub Total:    ${{ numberFormat($invoice->amount) }}
Grand Total:   ${{ numberFormat($invoice->amount) }}
Paid Amount:   ${{ numberFormat($invoice->payments()->sum('amount_paid')) }}
Due Amount:   ${{ numberFormat($invoice->getDue()) }}

{{ env('CHURCH_NAME') }} Contact Detail

A: {{ env('ADDRESS') }}

E: {{ env('EMAIL_ADDRESS') }}

Contact: {{ env('CONTACT_NUMBER') }}

W: {{ env('WEBSITE') }}


{{ env('CHURCH_ADDRESS') }} - {{ env('CHURCH_POBOX') }}
Tel: {{ env('CHURCH_TEL') }} Fax: {{ env('CHURCH_FAX') }} ABN: {{ env('CHURCH_ABN') }}
Email: {{ env('CHURCH_EMAIL') }}   Website: {{ env('WEBSITE') }}