@php // Difference tone for the KPI card + summary ring. Both counts have a say: // the day's takings being out is a difference even when the drawer totals. $diff = (float) ($summary['difference'] ?? 0); $takingsDiff = (float) ($summary['takingsDifference'] ?? 0); if (! ($summary['anyDeclared'] ?? false)) { $diffColor = '#cbd5e1'; $diffText = 'text-slate-400'; } elseif (abs($diff) < 0.01) { $diffColor = '#10b981'; $diffText = 'text-emerald-600'; } else { $diffColor = '#f59e0b'; $diffText = 'text-amber-600'; } $takingsText = ! ($summary['anyDeclared'] ?? false) ? 'text-slate-400' : (abs($takingsDiff) < 0.01 ? 'text-emerald-600' : 'text-amber-600'); @endphp
{{ $message }}
@enderror| {{ __('Date') }} |
|
|
{{ __('Status') }} | {{ __('Approval') }} | {{ __('By') }} | {{ __('Actions') }} | ||
|---|---|---|---|---|---|---|---|---|
| {{ __('Came in') }} | {{ __('In total') }} | {{ __('Came in') }} | {{ __('In total') }} | |||||
| {{ $row->business_date->format('d M Y') }} |
|
|
|
|
@if ($row->has_variance)
|
@switch($approvalState)
@case('pending') |
{{ $row->performer?->name ?? '—' }} | |
† {{ __('Counted before the day figure meant money in. On those rows it is the day\'s net, after what was paid out or moved on, and the difference beside it was decided on that basis.') }}
@endif {{ $history->links() }}{{ __('Sent back to you') }}
{{ __('Nothing has been charged to you. Fix what is wrong, then send it back.') }}
{{ __('Differences from other days') }}
{{ __('Still waiting on you. The day on screen is decided on the record itself.') }}
{{ __('You need to be on the clock before cashing up. Use the clock button in the top bar to start your shift, then come back here.') }}