@yield('styles') @yield('print_buttons') @if(!$__env->hasSection('print_buttons'))
@endif @yield('header_controls') @yield('rejection_notice')
📎 Required Attachments:
@php $leaveTypes = is_array($leave->leave_type) ? $leave->leave_type : (is_string($leave->leave_type) && $leave->leave_type[0] === '[' ? json_decode($leave->leave_type, true) : []); $attachments = []; foreach($leaveTypes as $type) { switch($type) { case 'Sick Leave': $attachments[] = '• Medical Certificate'; break; case 'Maternity Leave': $attachments[] = '• Medical Certificate'; $attachments[] = '• Birth Certificate (if applicable)'; break; case 'Paternity Leave': $attachments[] = '• Birth Certificate of Child'; $attachments[] = '• Marriage Certificate'; break; case 'Study Leave': $attachments[] = '• Study Leave Application'; $attachments[] = '• Course/Program Details'; break; case 'Special Privilege Leave': $attachments[] = '• Supporting Documents'; break; case 'Solo Parent Leave': $attachments[] = '• Solo Parent ID'; $attachments[] = '• Supporting Documents'; break; case '10-Day VAWC Leave': $attachments[] = '• VAWC Protection Order'; $attachments[] = '• Supporting Documents'; break; case 'Rehabilitation Privilege': $attachments[] = '• Medical Certificate'; $attachments[] = '• Rehabilitation Program Details'; break; case 'Special Leave Benefits for Women': $attachments[] = '• Medical Certificate'; $attachments[] = '• Supporting Documents'; break; case 'Special Emergency (Calamity) Leave': $attachments[] = '• Calamity Declaration'; $attachments[] = '• Supporting Documents'; break; case 'Adoption Leave': $attachments[] = '• Adoption Papers'; $attachments[] = '• Court Order'; break; } } // Remove duplicates and add general requirements $attachments = array_unique($attachments); if (empty($attachments)) { $attachments[] = '• No specific attachments required'; } $attachments[] = '• Leave Application Form (this document)'; @endphp @foreach($attachments as $attachment)
{{ $attachment }}
@endforeach
Note: This list is for reference only and will not appear in the printed document.