Employee Information
{{ $employee->name }}
Code: {{ $employee->employee_code ?: 'No Code' }}
Type: {{ $isDailyRoz ? 'Daily Roz Employee' : 'Monthly Employee' }}
@if(!empty($employee->phone))
Phone: {{ $employee->phone }}
@endif
Statement Info
{{ $monthName }}
Document: Attendance Statement
Total Days: {{ count($days) }}
Generated: {{ now()->format('d M Y') }}
Present
{{ $summary['present'] ?? 0 }}
Absent
{{ $summary['absent'] ?? 0 }}
Leave
{{ $summary['leave'] ?? 0 }}
Roz
{{ number_format((float) ($summary['total_roz'] ?? 0), 1) }}
Holiday
{{ $summary['holiday'] ?? 0 }}
Overtime
{{ number_format((float) ($summary['overtime_hours'] ?? 0), 1) }}
Type
Daily
Advance
{{ number_format((float) $totalMonthlyAdvance, 0) }}
Attendance Line Items
{{ $employee->name }} · {{ $monthName }}
Days 01 - 16
| Date | Status | @if($isMonthly)OT | @endif @if($isDailyRoz)Roz | @endifAdv | Ref |
|---|---|---|---|---|---|
|
{{ Carbon::parse($day)->format('d M') }}
{{ Carbon::parse($day)->format('D') }}
|
@if($row) {{ ucfirst($row->day_status) }} @else — @endif | @if($isMonthly){{ $row ? number_format((float) $row->overtime_hours, 1) : '—' }} | @endif @if($isDailyRoz){{ $row ? number_format((float) $row->roz_value, 1) : '—' }} | @endif@if($advanceTotal > 0) {{ number_format($advanceTotal, 0) }} @else — @endif | {{ $referenceText !== '' ? Str::limit($referenceText, 10) : '—' }} |
Days 17 - {{ str_pad(count($days), 2, '0', STR_PAD_LEFT) }}
| Date | Status | @if($isMonthly)OT | @endif @if($isDailyRoz)Roz | @endifAdv | Ref |
|---|---|---|---|---|---|
|
{{ Carbon::parse($day)->format('d M') }}
{{ Carbon::parse($day)->format('D') }}
|
@if($row) {{ ucfirst($row->day_status) }} @else — @endif | @if($isMonthly){{ $row ? number_format((float) $row->overtime_hours, 1) : '—' }} | @endif @if($isDailyRoz){{ $row ? number_format((float) $row->roz_value, 1) : '—' }} | @endif@if($advanceTotal > 0) {{ number_format($advanceTotal, 0) }} @else — @endif | {{ $referenceText !== '' ? Str::limit($referenceText, 10) : '—' }} |