@vite('resources/css/app.css') @if(auth()->user()->employee_type === 'OperationEmployee' || auth()->user()->employee_type === 'Content'|| auth()->user()->employee_type === 'Graphic' || auth()->user()->employee_type === 'Accounting') @include('sidebar.users_sidebar') @elseif(auth()->user()->employee_type === 'Employee') @include('CMS.sidebar') @else @include('Admin.sidebar') @endif

Leave Request Forms

@if ($errors->any())
{{ $errors->first('error') }}
@endif
Monthly Project Report
@if(auth()->user()->employee_type == "OperationAdmin" || auth()->user()->employee_type == "Top_Management") @endif @foreach($leaveRequests as $entry) @if(auth()->user()->employee_type == "OperationAdmin" || auth()->user()->employee_type == "Top_Management") @endif @endforeach
Request No. Employee Name Status Purpose/Reason Inclusive Date of Leave ViewAcceptDelete
No. 000{{ $entry->leaverequest_id }} @if($entry->user) {{ $entry->user->employee_name }}
{{ $entry->user->employee_type }} @else N/A @endif
{{ $entry->status }} {!! $entry->purpose_of_leave !!} {{ \Carbon\Carbon::parse($entry->leave_date)->format('F j, Y') }} View Request @if($entry->status == "Approved by Operation Admin" && auth()->user()->employee_type == "Top_Management")
@csrf
@elseif($entry->status == "Waiting for Department Head Approval" && auth()->user()->employee_type == "OperationAdmin")
@csrf
@elseif($entry->status == "Request Approved") Accepted @elseif($entry->status == "Approved by Operation Admin") Top Management has not yet Approved. @else Operation Admin has not yet Approved. @endif