@extends('layouts.app') @push('datatable-styles') @include('sections.datatable_css') @endpush @php $addLeavePermission = user()->permission('add_leave'); $approveRejectPermission = user()->permission('approve_or_reject_leaves'); @endphp @section('filter-section')

@lang('app.duration')

@lang('app.clearFilters')
@if ($approveRejectPermission == 'all')
@endif
@endsection @section('content')
@if ($addLeavePermission == 'all' || $addLeavePermission == 'added') @lang('modules.leaves.addLeave') @endif
{!! $dataTable->table(['class' => 'table table-hover border-0 w-100']) !!}
@endsection @push('scripts') @include('sections.datatable_js') @endpush