|
{{ $loop->iteration }}
|
{{ $row['emp_name'] }} |
{{ $empCode }} |
@foreach ($row['days'] as $dayIndex => $dayStatus)
@php
$class = '';
$disabledInput = false;
if (str_contains($dayStatus, 'WOFF')) {
$class = 'woff-cell';
$disabledInput = true;
} elseif (str_contains($dayStatus, 'LOP')) {
$class = 'lop-cell';
} elseif (str_contains($dayStatus, 'EL')) {
$class = 'el-cell';
} elseif (str_contains($dayStatus, 'SL')) {
$class = 'el-cell';
} elseif (str_contains($dayStatus, 'PL')) {
$class = 'el-cell';
} elseif (str_contains($dayStatus, 'MAT_L')) {
$class = 'el-cell';
} elseif (str_contains($dayStatus, 'NH')) {
$class = 'nh-cell';
$disabledInput = true;
}
@endphp
|
@endforeach
{{ $row['total_present'] }} |
{{ $row['total_leave'] }} |
{{ $row['total_ot_days'] }} |
{{ $row['total_wof'] }} |
{{ $row['total_holiday'] }} |
{{ $row['total_el'] }} |
{{ $row['total_sl'] }} |
{{ $row['total_pl'] }} |
{{ $row['total_mat_l'] }} |
@endforeach