@extends('layouts.app') @section('title', 'Register shifts') @section('content')
{{ $shifts->total() }} shift(s) matching your filters.
| Register | Operator | Opened | Float | Expected | Counted | Variance | Txns | Status | Close |
|---|---|---|---|---|---|---|---|---|---|
| {{ $shift->register?->name ?: '—' }} | {{ $shift->user?->name ?: '—' }} | {{ $shift->opened_at?->format('d M H:i') }} | {{ money($shift->opening_amount) }} | {{ money($shift->expected_amount) }} |
{{ $shift->status === 'closed' ? money($shift->counted_amount) : '—' }}
@if ($shift->closed_at) {{ $shift->closed_at->format('d M H:i') }} @endif
|
{{ $shift->status === 'closed' ? money($shift->variance) : '—' }}
@if ($shift->status === 'closed' && $shift->variance < 0)
short
@endif
|
{{ $shift->transactions_count }} | {{ title_case_words($shift->status) }} | @if ($shift->status === 'open') @elseif ($shift->notes) {{ \Illuminate\Support\Str::limit($shift->notes, 40) }} @endif |