@extends('layouts.app') @section('title', 'Shifts') @section('header', 'Shifts') @section('subheader', 'Manage work shifts and attendance thresholds') @section('header-actions') @can('create', App\Models\Shift::class) New Shift @endcan @endsection @section('content')
Reset
@forelse ($shifts as $shift) @empty @endforelse
Name Timing Late After Half Day After Min. Hours Break Employees Status Actions
{{ $shift->name }} {{ $shift->start_time?->format('H:i') }}–{{ $shift->end_time?->format('H:i') }} {{ $shift->late_after?->format('H:i') ?? '—' }} {{ $shift->half_day_after?->format('H:i') ?? '—' }} {{ rtrim(rtrim((string) $shift->minimum_working_hours, '0'), '.') }} h {{ $shift->break_time }} min {{ $shift->employees_count ?? 0 }} @can('update', $shift) @endcan @can('delete', $shift) @endcan
No shifts found.
{{ $shifts->links() }}
@endsection