Document ID: OT-{{ str_pad($request->id, 5, '0', STR_PAD_LEFT) }}
Employee Name | @if ($request->employee) {{ $request->employee->last_name }}, {{ $request->employee->first_name }} {{ $request->employee->middle_name ? strtoupper(substr($request->employee->middle_name, 0, 1)) . '.' : '' }} @else N/A @endif |
Employee ID | {{ $request->employee_id ?? 'N/A' }} |
Department | {{ $request->department->department_name ?? 'N/A' }} |
Position | {{ $request->position }} |
Request Date | {{ \Carbon\Carbon::parse($request->request_date)->format('F d, Y') }} |
Regular Time | {{ $request->regular_start ?? '--:--' }} to {{ $request->regular_end ?? '--:--' }} |
Actual Time | {{ $request->actual_start ?? '--:--' }} to {{ $request->actual_end ?? '--:--' }} |
Total Hours | {{ $request->total_hours }} hrs |
Reason | {{ $request->reason ?? 'N/A' }} |
Status | @if ($request->is_approved === 1) Approved @elseif ($request->is_approved === 0) Rejected @else Pending @endif |
Approved By | {{ $request->approver->name }} on {{ \Carbon\Carbon::parse($request->approved_at)->format('F d, Y h:i A') }} |
Payroll Notes | {{ $request->payroll_notes }} |