@extends('reports.layout') @push('head-script') @endpush @push('content-header') @endpush @section('content')
@foreach (request()->except('search', 'auth_user', 'organization_ids') as $key => $value) @if (is_array($value)) @foreach ($value as $arrayValue) @endforeach @else @endif @endforeach @if (!empty(request()->organization_ids)) @foreach (request()->organization_ids as $key => $value) @endforeach @endif
@if ( ($tab1 == 'my-approvals' || ($tab1 == 'all-requests' && Auth::user()->isOrganizationalAdmin())) && ($tab2 == '' || $tab2 == 'pending')) @endif @if (count($teamLeaves) > 0) @foreach ($teamLeaves as $teamLeave) @if ( ($tab1 == 'my-approvals' || ($tab1 == 'all-requests' && Auth::user()->isOrganizationalAdmin())) && ($tab2 == '' || $tab2 == 'pending')) @endif @endforeach @endif @if (count($teamLeaves) == 0)
No record(s) found!
@endif
Showing {{ $teamLeaves->firstItem() }} to {{ $teamLeaves->lastItem() }} of {{ $teamLeaves->total() }} entries
{{-- Leave specific filters, rendered inside reports.filters (push must come before the include) --}} @push('custom-filters-top') @endpush @push('custom-filters') Clear @endpush
@include('reports.filters')
@endsection @section('scripts') @push('footer-script') @endpush @endsection