@extends('layouts.app') @push('datatable-styles') @include('sections.datatable_css') @endpush @php $viewClientDoc = user()->permission('view_client_document'); $viewTicket = user()->permission('view_tickets'); $viewClientNote = user()->permission('view_client_note'); $viewClientContact = user()->permission('view_client_contacts'); @endphp @section('filter-section')
@if (in_array('projects', user_modules())) @endif @if (in_array('invoices', user_modules())) @endif @if (in_array('estimates', user_modules())) @endif @if (in_array('payments', user_modules())) @endif @if ($viewClientContact == 'all' || $viewClientContact == 'added') @endif @if ($viewClientDoc == 'all' || $viewClientDoc == 'added') @endif @if ($viewClientNote == 'all' || $viewClientNote == 'added') @endif @if ($viewTicket == 'all' || $viewTicket == 'added') @endif @if ($gdpr->enable_gdpr) @endif
@endsection @push('styles') @endpush @section('content')
@include($view)
@endsection @push('scripts') @endpush