{{ implode(', ', $orgAddressParts) }}
@endif| PayCode: {{ $employee->employee_code }} | Cardno: {{ $employee->card_no ?: $employee->employee_code }} | Name: {{ $employee->name }} | Shift: {{ @$employee->shift->name }} | Desig: {{ @$employee->designation->name }} | Paid Days: {{ @$employee->vwAttendanceSummary->total_pay_days }} | Present Days: {{ @$employee->vwAttendanceSummary->total_present }} |
| @foreach ($dateArr as $date) | {{ date('d', strtotime($date)) }} | @endforeach
|---|---|
| @foreach ($dateArr as $date) | {{ date('D', strtotime($date)) }} | @endforeach
| 1 | @foreach ($dateArr as $date) @php $a = $atSummary[$date] ?? null; $hideTime = $a && ($a->on_duty == 2 || ($a->on_duty == 3 && $a->is_week_off == 0)); @endphp{{ $a && !$hideTime ? complianceRegisterFormatTime($a->in_time) : '-' }} | @endforeach
| 2 | @foreach ($dateArr as $date) @php $a = $atSummary[$date] ?? null; $hideTime = $a && ($a->on_duty == 2 || ($a->on_duty == 3 && $a->is_week_off == 0)); $outTime = $a ? ($a->fact_out_time ?: $a->out_time) : null; @endphp{{ $a && !$hideTime ? complianceRegisterFormatTime($outTime) : '-' }} | @endforeach
| 3 | @foreach ($dateArr as $date) @php $a = $atSummary[$date] ?? null; $hideTime = $a && ($a->on_duty == 2 || ($a->on_duty == 3 && $a->is_week_off == 0)); @endphp{{ $a && !$hideTime ? complianceRegisterFormatHours($a->fact_working_hour) : '-' }} | @endforeach
| 4 | @foreach ($dateArr as $date) @php $a = $atSummary[$date] ?? null; $statusLabel = '-'; if ($a) { if ($a->on_duty == 2) { $statusLabel = 'WO'; } elseif ($a->on_duty == 3 && $a->is_week_off == 0) { $statusLabel = 'H'; } else { $statusLabel = $a->status ?: '-'; } } @endphp{{ $statusLabel }} | @endforeach
| WO: {{ @$woHo['total_week_off'] ?: 0 }} | HD: {{ @$woHo['total_holiday'] ?: 0 }} | EL: {{ @$leaveCounts['EL'] ?: 0 }} | CL: {{ @$leaveCounts['CL'] ?: 0 }} | SL: {{ @$leaveCounts['SL'] ?: 0 }} | OL: {{ @$leaveCounts['OL'] ?: 0 }} |
No employees found for the selected filters.
@endforelse