@extends('layouts.app') @push('datatable-styles') @include('sections.datatable_css') @endpush @section('filter-section')

@lang('app.employee')

@lang('app.designation')

@lang('app.clearFilters')
@endsection @php $addEmployeePermission = user()->permission('add_employees'); $addDesignationPermission = user()->permission('add_designation'); $viewDesignationPermission = user()->permission('view_designation'); $addDepartmentPermission = user()->permission('add_department'); @endphp @section('content')
@if ($addEmployeePermission == 'all') @lang('app.add') @lang('app.employee') @lang('app.invite') @lang('app.employee') @endif @if ($addDesignationPermission == 'all' || $addDesignationPermission == 'added') @if ($viewDesignationPermission == 'all') @lang('app.add') @lang('app.designation') @endif @endif @if ($addDepartmentPermission == 'all' || $addDepartmentPermission == 'added') @lang('app.add') @lang('app.department') @endif @if ($addEmployeePermission == 'all') @lang('app.importExcel') @endif
{!! $dataTable->table(['class' => 'table table-hover border-0 w-100']) !!}
@endsection @push('scripts') @include('sections.datatable_js') @endpush