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

@lang('app.duration')

@if (!in_array('client', user_roles()))

@lang('app.client')

@endif

@lang('modules.contracts.contractType')

@lang('app.clearFilters')
@endsection @php $addContractPermission = user()->permission('add_contract'); $manageContractTemplatePermission = user()->permission('manage_contract_template'); @endphp @section('content')
@if ($addContractPermission == 'all' || $addContractPermission == 'added') @lang('modules.contracts.createContract') @endif @if ($manageContractTemplatePermission == 'all' || $manageContractTemplatePermission == 'added') @lang('app.menu.contractTemplate') @endif
@if (!in_array('client', user_roles()))
@endif {{-- --}}
{!! $dataTable->table(['class' => 'table table-hover border-0 w-100']) !!}
@endsection @push('scripts') @include('sections.datatable_js') @endpush