@extends('layouts.app') @section('content') @include('business_documents.styles')
| Received Date | Ref. | Branch | Customer | Purpose | Received By | Method | Received | Applied to Date | Refunded to Date | Available Now |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $row->received_at->format('d M Y H:i') }} | {{ $row->reference }} | {{ $row->branch?->name }} | {{ $row->customer?->name }} {{ $row->customer?->phone }} | {{ $row->purpose }} | {{ $row->receiver?->name }} | {{ $row->paymentMethod?->name }} | {{ \App\Models\SystemSetting::formatMoney($row->amount) }} | {{ \App\Models\SystemSetting::formatMoney($row->used_amount) }} | {{ \App\Models\SystemSetting::formatMoney($row->refunded_amount) }} | {{ \App\Models\SystemSetting::formatMoney($row->remaining()) }} |
| No advance payments received in this period. | ||||||||||
| Filtered Totals | {{ \App\Models\SystemSetting::formatMoney($totals->received) }} | {{ \App\Models\SystemSetting::formatMoney($totals->applied) }} | {{ \App\Models\SystemSetting::formatMoney($totals->refunded) }} | {{ \App\Models\SystemSetting::formatMoney($totals->available) }} | ||||||