@include('templates.pdf_header', [ 'organisation' => $organisation, 'title' => 'Loan Statement', 'currency_code' =>'UGX' ])

Loan Ref: {{ $loan->loan_reference }}

Supplier: {{ $loan->supplier->name ?? '' }}

Disbursed: {{ number_format($loan->disbursed_amount, 2) }}

Balance: {{ number_format($loan->balance, 2) }}

Repayment History

@foreach($loan->repayments as $r) @endforeach
Date Amount
{{ \Carbon\Carbon::parse($r->paid_at)->format('d M Y') }} {{ number_format($r->amount_paid, 2) }}

Repayment Schedule

@foreach($loan->schedules as $s) @endforeach
Due Principal Interest Paid Balance
{{ $s->due_date }} {{ number_format($s->principal_amount, 2) }} {{ number_format($s->interest_amount, 2) }} {{ number_format($s->amount_paid, 2) }} {{ number_format($s->balance, 2) }}


Prepared By: __________________ Approved By: __________________