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

@lang('app.duration')

@lang('app.status')

@lang('app.clearFilters')
@endsection @php $addEstimatePermission = user()->permission('add_estimates'); $addEstimateRequestPermission = user()->permission('add_estimate_request'); $viewEstimateRequestPermission = user()->permission('view_estimate_request'); @endphp @section('content')
@if ($addEstimatePermission == 'all' || $addEstimatePermission == 'added') @lang('modules.estimates.createEstimate') @lang('modules.estimates.estimateTemplate') @endif @if (in_array('client', user_roles()) && ($addEstimateRequestPermission == 'all' || $addEstimateRequestPermission == 'added')) @lang('modules.estimateRequest.createEstimateRequest') @endif
@if (in_array($viewEstimateRequestPermission, ['all', 'added', 'owned', 'both'])) @endif
{!! $dataTable->table(['class' => 'table table-hover border-0 w-100']) !!}
@endsection @push('scripts') @include('sections.datatable_js') @endpush