@extends('admin.layouts.app') @section('title', 'Hospital Staff Shifts') @section('content')
Shift Rostering

Staff Work Shifts

Configure duty schedules, shift name, start and end hours for hospital staff.

Total Shifts

{{ $stats['total_shifts'] }}

Active Rosters

{{ $stats['active_shifts'] }}

Inactive Shifts

{{ $stats['inactive_shifts'] }}

Configured Shifts

@if($shifts->isEmpty())

No shifts created yet

Get started by creating your hospital's first duty shift.

@else
@foreach($shifts as $shift) @endforeach
Shift Name Start Time End Time Duration Status Actions

{{ $shift->name }}

@if($shift->description)

{{ $shift->description }}

@endif
{{ $shift->formatted_start_time }} {{ $shift->formatted_end_time }} {{ $shift->duration }}
@csrf @method('PATCH')
@csrf @method('DELETE')
@endif
@endsection