@include('loan.payments.partials.flash') @include('loan.collections.hub.partials.due-today-print') @include('loan.collections.hub.partials.collections-due-register-tones')

Due Today — {{ $filters['date'] ?? now()->toDateString() }}

@php $dueTodayExportQuery = collect(request()->query())->except(['embedded', 'page'])->merge(['export' => 'csv'])->all(); @endphp Export @if (auth()->user()?->hasLoanPermission('bulksms.view')) Bulk SMS @endif
@include('loan.collections.hub.partials.due-today-intelligence', ['totals' => $totals])
@forelse ($installments as $row) @php $client = $row->loan?->loanClient; $loan = $row->loan; $case = $loan?->collectionCases?->first(); $rowToneClass = match ($row->register_row_tone ?? 'open') { 'cleared' => 'collections-due-row--cleared', 'partial' => 'collections-due-row--partial', 'arrears' => 'collections-due-row--arrears', default => '', }; @endphp @empty @endforelse
# Client Phone Inst. Due Today Past Due Total Payable Paid Today Prepaid Outstanding Branch Officer Status Actions
{{ ($installments->firstItem() ?? 0) + $loop->index }} {{ trim(($client->first_name ?? '').' '.($client->last_name ?? '')) }} @if ($client?->phone) {{ $client->phone }} @else — @endif {{ $row->register_installment_label ?? $row->installment_no }} @if ($row->register_maturing ?? false) Maturing @endif {{ number_format($row->register_due_today ?? $row->totalRemaining(), 0) }} {{ number_format($row->register_past_due ?? $row->register_arrears ?? 0, 0) }} {{ number_format($row->register_total_payable ?? 0, 0) }} {{ number_format($row->register_paid_today ?? 0, 0) }} {{ number_format($row->register_prepaid ?? 0, 0) }} {{ number_format($row->register_outstanding ?? 0, 0) }} {{ $loan->loanBranch?->name ?? $loan->branch ?? '—' }} {{ trim(($client->assignedEmployee->first_name ?? '').' '.($client->assignedEmployee->last_name ?? '')) ?: '—' }} {{ $row->status }} @include('loan.collections.hub.partials.due-today-actions', [ 'loan' => $loan, 'client' => $client, 'case' => $case, ])
No installments due on this date.