@extends('app-new') @push('head-script') @endpush @push('content-header') @endpush @section('content')
@foreach (request()->except('search', 'auth_user', 'organization_ids') as $key => $value) @endforeach @if (!empty(request()->organization_ids)) @foreach (request()->organization_ids as $key => $value) @endforeach @endif
@if ( ($tab1 == 'my-approvals' || ($tab1 == 'all-requests' && Auth::user()->authUser()->isOrganizationalAdmin())) && ($tab2 == '' || $tab2 == 'pending')) @endif @if (count($teamLeaves) > 0) @foreach ($teamLeaves as $teamLeave) @if ( ($tab1 == 'my-approvals' || ($tab1 == 'all-requests' && Auth::user()->authUser()->isOrganizationalAdmin())) && ($tab2 == '' || $tab2 == 'pending')) @endif {{-- @dd($teamLeave); --}} @endforeach @endif @if (count($teamLeaves) == 0)
No record(s) found!
@endif
Showing {{ $teamLeaves->firstItem() }} to {{ $teamLeaves->lastItem() }} of {{ $teamLeaves->total() }} entries
@endsection @section('scripts') @push('footer-script') @endpush