@extends('admin.layout.master') @section('content')

@include('flash-message')

Roster Create

@csrf {{-- --}} @php $i=1; @endphp @foreach ( $week_days as $key=>$day) @for ($i = 1; $i < 4; $i++) @endfor @endforeach
Day Roster 1 Department Roster 2 Department Roster 3 DepartmentAction
@if(count($week_days)>0)
{{-- --}}
@endif
@if(count($current_month_rosters) >0)

Current Month Roster

@if (isset($employee)) @endif
@csrf @php $i=1; @endphp @foreach ($current_month_rosters as $roster) --}} @endforeach
#SL Day Weekend Shift Start Date End Date Department
{{$i++}} {{week_days()[$roster->day_id]}} @if($roster->weekend) (Weekend) @endif weekend !== null ? 'checked' : '' }}> {{$roster->start_date}} {{$roster->end_date}} {{-- {{$roster->department ? $roster->department->name : null}}  
@endif {{-- Single Roster Modal --}} @endsection @section('script') @endsection