@include('templates.pdf_header', [ 'organisation' => $organisation, 'asOfDate' => \Carbon\Carbon::parse($date)->format('d M Y'), 'title' => 'CREDITORS SUMMARY REPORT' ])
Period: {{ $period ?? 'All Periods' }}
Status: Active Creditors
Currency: {{ $currency ?? 'TZS' }}
Generated: {{ now()->format('d M Y H:i') }}

{{ $supplier->name }}

Supplier Code: {{ $supplier->code }}
TOTAL INVOICED
{{ number_format($totalInvoiced, 2) }}
OUTSTANDING
{{ number_format($outstanding, 2) }}
Notes:
  • Payment Terms: {{ $supplier->payment_terms ?? 'N/A' }}
  • Average Days Outstanding: {{ $averageDays ?? 0 }} days
  • Last Payment Date: {{ $lastPaymentDate ?? 'N/A' }}
Aging Category: {{ $agingCategory ?? 'Current' }}
Status: {{ $status ?? 'Within Terms' }}
Next Payment Due: {{ $nextDueDate ?? 'N/A' }}
Recommendation: Maintain timely settlement