{{ __('Shift Management') }}

{{ __('Add Shift') }}
@if(session('success'))
{{ session('success') }}
@endif
@foreach($shifts as $shift) @endforeach
Name Type Timings Grace Night Shift OT Allowed Actions
{{ $shift->name }} {{ ucfirst($shift->type) }} @if($shift->type === 'normal') {{ \Carbon\Carbon::parse($shift->start_time)->format('H:i') }} - {{ \Carbon\Carbon::parse($shift->end_time)->format('H:i') }} @else {{ $shift->flexible_hours }} Hours @endif {{ $shift->grace_period }} Min {{ $shift->is_night_shift ? 'Yes' : 'No' }} @if($shift->overtime_allowed) {{ $shift->overtime_rate }}x @else No @endif Edit
@csrf @method('DELETE')
{{ $shifts->links() }}