@extends('app-new') @push('head-script') @endpush @push('content-header') @endpush @section('content')
@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
Filter
{!! $errors->first('date_range', '') !!}
@if (Auth::user()->is_contractor == 0)
@endif
@if (($tab1 == 'my-approvals' || ($tab1 == 'all-requests' && Auth::user()->isOrganizationalAdmin())) && ($tab2 == '' || $tab2 == 'pending')) @endif @if ($type == 'regularize') @endif @if ($type == 'regularize' || $type == 'od') @else @endif @if (in_array($type, ['od', 'wfh'])) @endif @if ($type == 'od') @endif @if ($type == 'ot') @endif @if ($type == 'wfo') @endif @if ($type == 'regularize') @endif @if ($tab1 == 'my-approvals') @endif @foreach ($empRequests as $key => $empRequest) @if (($tab1 == 'my-approvals' || ($tab1 == 'all-requests' && Auth::user()->isOrganizationalAdmin())) && ($tab2 == '' || $tab2 == 'pending')) @endif @if ($type == 'regularize') @endif @if ($type == 'regularize' || ($type == 'od' && $empRequest->sub_loc_name == 'Hourly')) @else @endif @if (in_array($type, ['od', 'wfh'])) @endif @if ($type == 'od') @endif @if ($type == 'ot') @endif @if ($type == 'wfo') @endif @if ($type == 'regularize') @endif @if ($tab1 == 'my-approvals') @endif @endforeach @if (count($empRequests) == 0)
No record(s) found!
@endif
{{ $empRequests->appends(request()->except('page'))->links('partials.pagination') }}
@endsection @push('footer-script') @endpush