@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]; @endphp {!! end($attendance) !!} @foreach ($attendance as $key2 => $day) @if ($key2 + 1 <= count($attendance)) @if ($day == 'Leave') @elseif ($day == 'EMPTY') @elseif ($day == 'Holiday') @else {!! $day !!} @endif @endif @endforeach @endforeach