@extends('layouts.app') @section('content') @php // Blind close: cashiers must count the drawer without seeing what the system expects $isAdmin = auth()->user()->hasRole('admin') || auth()->user()->hasRole('super_admin'); // One switch in Loss Prevention settings: when on, everyone must count the drawer and non-admins can't see the expected cash $countRequired = \App\Models\IntegrityEvent::cashCountRequired(); $blind = $countRequired && !$isAdmin; $money = fn ($v, $prefix = 'MWK ') => $blind ? '••••••' : $prefix . number_format($v, 2); @endphp
Review sales and finalize the session of {{ $register->user->name ?? auth()->user()->name }} @if((int) $register->user_id !== (int) auth()->id()) Closing as super admin @endif
| Method | Count | Total |
|---|---|---|
|
{{ $payment['label'] }}
@if($payment['split_count'])
incl. {{ $payment['split_count'] }} split
@endif
|
{{ $payment['count'] }} | {{ $money($payment['amount']) }} |
| No sales recorded for this session. | ||
| Total Sales | {{ $report['sales_count'] }} | {{ $money($report['gross_sales']) }} |