@extends('layouts.inspinia') @section('title', 'Debtors & Creditors Summary') @section('content_header', 'Debtors & Creditors Summary') @section('breadcrumb')
customers.current_balance and suppliers.current_balance
maintained by the Sales and Purchase posting engines. These are operational balances, not GL ledger accounts.
Total Receivable {{ $debtorCount }} customers with balance
Total Payable {{ $creditorCount }} suppliers with balance
Net Position {{ $netPosition >= 0 ? '(Net Receivable)' : '(Net Payable)' }}
Customers / Suppliers (Total)
| # | Customer | Phone | Balance (TZS) |
|---|---|---|---|
| {{ $i + 1 }} | {{ $d->name }} | {{ $d->phone ?? '—' }} | {{ number_format($d->current_balance, 2) }} |
| # | Supplier | Phone | Balance (TZS) |
|---|---|---|---|
| {{ $i + 1 }} | {{ $c->name }} | {{ $c->phone ?? '—' }} | {{ number_format($c->current_balance, 2) }} |
| Customer | Phone | Balance (TZS) | |
|---|---|---|---|
| {{ $d->name }} | {{ $d->phone ?? '—' }} | {{ $d->email ?? '—' }} | {{ number_format($d->current_balance, 2) }} |
| Supplier | Phone | Balance (TZS) | |
|---|---|---|---|
| {{ $c->name }} | {{ $c->phone ?? '—' }} | {{ $c->email ?? '—' }} | {{ number_format($c->current_balance, 2) }} |