@if(count($documents) > 0)
Documents
| Date |
Type |
Document Number |
Total Amount |
Action |
@foreach($documents as $document)
| {{ $document->document_date }} |
{{ ucfirst(str_replace('_', ' ', $document->type)) }} |
{{ $document->document_number }}
|
{{ number_format($document->inclusive_total, 2) }} |
Download
|
@endforeach
@endif
@if(count($receipts) > 0)
Receipts
| Date |
Receipt Number |
Total Amount |
Payment Method |
Action |
@foreach($receipts as $receipt)
| {{ $receipt->receipt_date }} |
{{ $receipt->receipt_number }}
|
{{ number_format($receipt->total_amount, 2) }} |
{{ ucfirst($receipt->payment_method) }} |
Download
|
@endforeach
@endif
@if(count($documents) == 0 && count($receipts) == 0)
No documents found for the selected criteria.
@endif