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]?? '' }}

Invoice Status:
{!! $invoice->isDue()? 'Partially Paid': ' Paid' !!}

Due Amount:
${{ numberFormat($invoice->getDue()) }}

@if($invoice->isDue()) @endif
Receipt No {{$payment->id}}
For {{$payment->type}}
Payment Date {{$payment->paid_date}}
Payment Method {{$payment->payment_method}}
Total Invoice Amount ${{ numberFormat($invoice->amount) }}
Todays Payment {{$payment->amount_paid}}
Total Payment ${{ numberFormat($invoice->paid_amount) }}
Due ${{ numberFormat($invoice->getDue()) }}
Invoice Status {{$invoice->isDue()?"Due":"Paid"}}
Remarks {{ $invoice->remars }}

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

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

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

C: {{ 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') }}