@extends('layouts.app') @section('title', 'Cash Recon') @section('content') @php $isAdmin = auth()->user()->hasAnyRole('Super Admin', 'Hospital Admin'); @endphp
Daily cash reconciliation · {{ now()->format('l, d M Y') }}
Today's Cash Collected (System)
KES {{ number_format($todayCashCollected, 2) }}
| Shift # | Date · Label | Opened By | Opened At | Opening Float | Expected Now | |
|---|---|---|---|---|---|---|
| #{{ $s->id }} | {{ $s->shift_date->format('d M') }} {{ $s->shift_label }} | {{ $s->openedBy->name ?? '—' }} | {{ $s->opened_at->format('H:i, d M') }} | {{ number_format($s->opening_float, 2) }} | {{ number_format($s->expectedCash(), 2) }} | Open → |
No shifts pending approval. Variances under KES 200 auto-close.
| Shift # | Date · Label | Closed By | Expected | Counted | Variance | Notes | |
|---|---|---|---|---|---|---|---|
| #{{ $s->id }} | {{ $s->shift_date->format('d M') }} · {{ $s->shift_label }} | {{ $s->closedBy->name ?? '—' }} {{ $s->closed_at?->format('H:i, d M') }} |
{{ number_format($s->expectedCash(), 2) }} | {{ number_format($s->closing_count, 2) }} | {{ $v >= 0 ? '+' : '' }}{{ number_format($v, 2) }} | Review → |
| Shift # | Date · Label | Opened By | Closed By | Expected | Counted | Variance | Approval |
|---|---|---|---|---|---|---|---|
| #{{ $s->id }} | {{ $s->shift_date->format('d M Y') }} · {{ $s->shift_label }} | {{ $s->openedBy->name ?? '—' }} | {{ $s->closedBy->name ?? '—' }} | {{ number_format($s->expectedCash(), 2) }} | {{ number_format($s->closing_count, 2) }} | @if(abs($v) < 0.01) 0.00 @else {{ $v >= 0 ? '+' : '' }}{{ number_format($v, 2) }} @endif | @if($s->approved_at) Admin Approved @elseif(abs($v) < 0.01) Clean close @else Auto-accepted @endif |