@extends('layouts.app') @section('title', 'Daily Cash Collections') @section('styles')@endsection @section('content')
{{ $from->format('d M Y') }}{{ $from->format('Y-m-d') !== $to->format('Y-m-d') ? ' | ' . $to->format('d M Y') : '' }}
Invoiced
KES {{ number_format($summary['invoiced']) }}
Collections
KES {{ number_format($summary['collections']) }}
Cash
KES {{ number_format($summary['cash']) }}
Mobile Money
KES {{ number_format($summary['mpesa']) }}
Insurance
KES {{ number_format($summary['insurance']) }}
Expenses Paid
KES {{ number_format($summary['expenses_paid']) }}
Net Position
KES {{ number_format($summary['net_position']) }}
| Cash | KES {{ number_format($s['cash']) }} |
| M-Pesa / Mobile Money | KES {{ number_format($s['mpesa']) }} |
| Insurance | KES {{ number_format($s['insurance']) }} |
| Card / Bank Transfer | KES {{ number_format($s['card']) }} |
| Shift Total | KES {{ number_format($s['total']) }} |
| Date / Time | Shift | Patient | Visit | Method | Reference | Amount | Received By |
|---|---|---|---|---|---|---|---|
| {{ $from->format('Y-m-d') !== $to->format('Y-m-d') ? $p->created_at->format('d M H:i') : $p->created_at->format('H:i') }} | {{ $sh }} | {{ $p->invoice?->patient?->full_name ?? '-' }} | {{ $p->invoice?->visit?->visit_number ?? '-' }} | {{ str_replace('_', ' ', $p->payment_method) }} | {{ $p->reference_number ?? $p->mpesa_code ?? '-' }} | KES {{ number_format($p->amount) }} | {{ $p->receiver->name ?? '-' }} |
| No payments recorded for this date. | |||||||