@extends('layouts.app') @section('title', 'Lockups & Unlocks') @section('content')
{{-- Page guide: what this screen is for --}}
Lockups & Unlocks. Run the daily count sessions (morning unlock, midday lockup/unlock, evening lockup): tally the physical count against the system headcount, flag discrepancies, and confirm with biometrics.

Lockups & Unlocks

{{ $records->total() }} count session(s)
@can('prison.lockups.print') Report@endcan @can('prison.lockups.add') New Count@endcan
@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif
Biometric tally: {!! $bioReady ? 'reader connected' : 'pending hardware' !!} Counts are recorded and balanced against the system headcount now; biometric confirmation activates once a reader is connected.
@forelse($records as $r) @empty @endforelse
DateCount typeBlockExpectedCounted VarianceTallyBiometricActions
{{ optional($r->count_date)->format('d M Y') }} {{ $r->count_type }} {{ $r->block ?? '—' }} {{ $r->expected_count }} {{ $r->counted }} {{ $r->variance > 0 ? '+' : '' }}{{ $r->variance }} {{ $r->tally_status }} {{ $r->biometric_status }} @can('prison.lockups.action')
@csrf
@endcan
No counts recorded yet.
{{ $records->withQueryString()->links() }}
@endsection