CREDITORS & DEBTORS LIST

Generated On: {{ date('d/m/Y H:i:s') }}

@foreach($suppliers as $index => $supplier) @endforeach
# Supplier Name Contact Balance Status
{{ $index + 1 }} {{ $supplier->name }} {{ $supplier->contact ?? '-' }} {{ number_format($supplier->balance, 2) }} {{ $supplier->balance > 0 ? 'Creditor' : 'Debtor' }}

Total Creditors (We Owe Them): {{ number_format($totalCreditors, 2) }}

Total Debtors (They Owe Us): {{ number_format(abs($totalDebtors), 2) }}

Net Balance: {{ number_format($netBalance, 2) }}

Total Suppliers: {{ $suppliers->count() }}