@extends('layouts.print') @section('title', 'Cash & Shift Variance — ' . \Carbon\Carbon::parse($from)->format('M j') . '–' . \Carbon\Carbon::parse($to)->format('M j, Y')) @section('content') @php $propName = \App\Models\Setting::get('property_name', config('app.name', 'Parkview Hotel')); $periodLabel = \Carbon\Carbon::parse($from)->format('M j') . ' – ' . \Carbon\Carbon::parse($to)->format('M j, Y'); $varText = function ($v) { if ($v === null) return '—'; $sign = $v > 0 ? '+' : ($v < 0 ? '−' : ''); return $sign . '₱' . number_format(abs($v), 2); }; @endphp
{{ $label }}
{{ $value }}
{{ $sub }}
No shifts in this period.
@else| Cashier | Shifts | Counted | Unrecon. | Net Variance |
|---|---|---|---|---|
| {{ $c['name'] }} | {{ $c['shifts'] }} | {{ $c['counted'] }} | {{ $c['no_count'] }} | {{ $varText($c['variance']) }} |
No shifts started in this period.
@else| Date | Cashier | Type | Status | Opening | Closing | Variance |
|---|---|---|---|---|---|---|
| {{ $row['started_at']->format('M j, Y') }} | {{ $row['cashier'] }} | {{ $row['type'] }} | {{ $row['no_count'] ? 'Unreconciled' : ucfirst($row['status']) }} | {{ $row['opening'] !== null ? '₱' . number_format($row['opening'], 2) : '—' }} | {{ $row['closing'] !== null ? '₱' . number_format($row['closing'], 2) : '—' }} | {{ $varText($row['variance']) }} |