@extends('app-new') @push('head-script') @endpush @push('content-header') @endpush @push('prev-next-head')
@endpush @section('content')
{{ trans('common/common.export') }} Import Leaves @if (Auth::user()->can_role('Leaves Edit')) @endif
@if (count($pendingLeaves) > 0) @foreach ($pendingLeaves as $key => $pendingLeave) @endforeach @endif
@if (count($pendingLeaves) == 0)
No record(s) found!
@endif
Showing {{ ($pendingLeaves->currentpage() - 1) * $pendingLeaves->perpage() + 1 }} to {{ ($pendingLeaves->currentpage() - 1) * $pendingLeaves->perpage() + $pendingLeaves->count() }} of {{ $pendingLeaves->total() }} entries
{{ $pendingLeaves->appends(request()->merge(['tab' => 'pending'])->except('page'))->links('partials.pagination') }}
@if (count($approveLeaves) > 0) @foreach ($approveLeaves as $key => $approveLeave) @endforeach @endif
@if (count($approveLeaves) == 0)
No record(s) found!
@endif
Showing {{ ($approveLeaves->currentpage() - 1) * $approveLeaves->perpage() + 1 }} to {{ ($approveLeaves->currentpage() - 1) * $approveLeaves->perpage() + $approveLeaves->count() }} of {{ $approveLeaves->total() }} entries
{{ $approveLeaves->appends(request()->merge(['tab' => 'approved'])->except('page'))->links('partials.pagination') }}
@if (count($rejectLeaves) > 0) @foreach ($rejectLeaves as $key => $rejectLeave) @endforeach @endif
@if (count($rejectLeaves) == 0)
No record(s) found!
@endif
Showing {{ ($rejectLeaves->currentpage() - 1) * $rejectLeaves->perpage() + 1 }} to {{ ($rejectLeaves->currentpage() - 1) * $rejectLeaves->perpage() + $rejectLeaves->count() }} of {{ $rejectLeaves->total() }} entries
{{ $rejectLeaves->appends(request()->merge(['tab' => 'rejected'])->except('page'))->links('partials.pagination') }}
{{-- filter --}} {{-- filter --}} @endsection @section('scripts') @push('footer-script') @endpush