Accounts Receivable (AR)
TZS {{ number_format(($arBalances->total_invoiced ?? 0) - ($arBalances->total_paid ?? 0), 2) }} Outstanding
@php
$arPerc = ($arBalances->total_invoiced ?? 0) > 0 ? (($arBalances->total_paid ?? 0) / $arBalances->total_invoiced) * 100 : 0;
@endphp
Total Invoiced: TZS {{ number_format($arBalances->total_invoiced ?? 0, 2) }} | Paid: {{ number_format($arPerc, 1) }}%
Accounts Payable (AP)
TZS {{ number_format(($apBalances->total_invoiced ?? 0) - ($apBalances->total_paid ?? 0), 2) }} Outstanding
@php
$apPerc = ($apBalances->total_invoiced ?? 0) > 0 ? (($apBalances->total_paid ?? 0) / $apBalances->total_invoiced) * 100 : 0;
@endphp
Total Billed: TZS {{ number_format($apBalances->total_invoiced ?? 0, 2) }} | Paid: {{ number_format($apPerc, 1) }}%