{{-- Verification Receivables - the verified items behind the unpaid bills, in the house PDF style. --}} @extends('layouts.PdfReportLayout') @section('doc_title', $docTitle) @section('doc_subtitle', $docSubtitle) @section('meta') @foreach(array_chunk($filterLabels, 2, true) as $pair) @foreach($pair as $label => $value) {{ $label }} {{ $value }} @endforeach @endforeach Generated {{ $generatedAt }} Prepared By {{ $generatedBy }} @endsection @section('content')
Total Receivables
{{ $money($summary['total']) }}
Overdue ({{ number_format($summary['overdue_bills']) }} bills)
{{ $money($summary['overdue_amount']) }}
Expired Control No. ({{ number_format($summary['expired_bills']) }})
{{ $money($summary['expired_amount']) }}
Not Yet Due ({{ number_format($summary['not_due_bills']) }})
{{ $money($summary['not_due_amount']) }}
Verified Items / Bills
{{ number_format($summary['items']) }} / {{ number_format($summary['bills']) }}
{{-- Stacked, not side by side: mPDF does not lay out tables nested in a table cell reliably. --}}
By Activity
@foreach($byActivity as $i => $row) @endforeach
#ActivityItemsAmount
{{ $i + 1 }} {{ $row['name'] }}@if($row['initials']) ({{ $row['initials'] }})@endif {{ number_format($row['items']) }} {{ $money($row['amount']) }}
By Region
@foreach($byRegion as $i => $row) @endforeach
#RegionItemsAmount
{{ $i + 1 }} {{ $row['name'] }} {{ number_format($row['items']) }} {{ $money($row['amount']) }}
Verified Items ({{ number_format($itemTotal) }}) @if($itemCount < $itemTotal) - newest {{ number_format($itemCount) }} shown; the Excel export holds every item @endif
{!! \App\Support\Pdf\ReportPdf::LONG_TABLE !!}
Basis: live items of bills with an issued control number that are still owed as at {{ $asAt }}. On a partly paid bill each item carries its share of the remaining balance. A bill is due {{ $termDays }} days after it is raised and overdue once past that or past its control number's expiry. Cancelled bills are excluded. Amounts are in Tanzanian Shillings.
@endsection