@php $tenant = \App\Support\Facades\Tenancy::get(); $brandStyle = $tenant->brand_primary_color ? ":root { --color-brand-600: {$tenant->brand_primary_color}; } .dark { --color-brand-600: {$tenant->brand_primary_color}; }" : null; @endphp
@if($branches->isEmpty())
Create a branch first before adding staff shifts.
@endif
@forelse($staffShifts as $staffShift) @empty @endforelse
Name Branch Check-in By Check-out From Assigned Staff
{{ $staffShift->name }} {{ $staffShift->branch->name }} {{ \Illuminate\Support\Carbon::parse($staffShift->check_in_by)->format('g:i A') }} {{ \Illuminate\Support\Carbon::parse($staffShift->check_out_from)->format('g:i A') }}
No staff shifts yet.
@csrf

Checking in after this time is marked late.

Earliest expected check-out time.

Assign Staff —

@csrf @method('PUT')

Only teachers in this shift's branch are shown. Unchecking a teacher removes them from this shift.

@foreach($teachers as $teacher) @endforeach