{{ __('purchase_payable_report.title') }}

@forelse ($rows as $r) @empty @endforelse @if (count($rows) > 0) @endif
{{ __('common.date') }} {{ __('common.no') }} {{ __('common.supplier') }} {{ __('common.project') }} {{ __('common.type') }} {{ __('purchase_payable_report.purchased') }} {{ __('common.paid') }} {{ __('common.owed') }}
{{ $r->purchase_date ? substr((string) $r->purchase_date, 0, 10) : '—' }} {{ $r->purchase_no }} {{ $r->supplier_name ?: '—' }} {{ $r->project_name ?: '-' }} {{ $r->payment_type }} {{ number_format((float) $r->purchased, 2) }} {{ number_format((float) $r->paid, 2) }} {{ number_format((float) $r->owed, 2) }}
{{ __('common.no_records') }}
{{ __('purchase_payable_report.totals') }} {{ number_format((float) $totals['purchased'], 2) }} {{ number_format((float) $totals['paid'], 2) }} {{ number_format((float) $totals['owed'], 2) }}