@foreach(\App\Models\GlobalSetting::getMonthsOfYear('M') as $key=>$monthOfYear) @endforeach
@foreach ($employeeShifts as $item) {{ $item->shift_short_code }} : {{ $item->shift_name }} {{ !$loop->last ? ' | ' : '' }} @endforeach | : @lang('app.menu.holiday')
@lang('app.employee') @for ($i = 1; $i <= $daysInMonth; $i++) {{ $i }}
{{ $weekMap[\Carbon\Carbon::parse(\Carbon\Carbon::parse($i . '-' . $month . '-' . $year))->dayOfWeek] }} @endfor
@foreach ($employeeAttendence as $key => $attendance) @php $userId = explode('#', $key); $userId = $userId[0]; $isActive = ''; if(in_array($userId,$employeeIdsInactive)){ $isActive = 'no'; } @endphp {!! end($attendance) !!} @foreach ($attendance as $key2 => $day) @if ($key2 + 1 <= count($attendance)) @php $attendanceDate = \Carbon\Carbon::parse($year.'-'.$month.'-'.$key2); @endphp @if ($day == 'Leave') @elseif ($day == 'Half Day') @if ($attendanceDate->isFuture()) @else @endif @elseif ($day == 'EMPTY') @elseif ($day == 'Holiday') @else {!! $day !!} @endif @endif @endforeach @endforeach