@extends('layouts.app') @if($templateType == "document") @section('title', trans('menu.document_creator_title')) @else @section('title', trans('menu.contract_creator_title')) @endif @section('plugin-styles') @stop @section('content') @php $user = auth()->user(); @endphp
@can('create', [\Modules\DocumentCreator\Entities\DCReport::class, $templateType]) {{trans('forms.lbl_add_new')}} @endcan @if(request()->user()->hasAnyPermission(['edit task-checklists'])) @if (request()->has('type') && request()->get('type') === 'archived') @else @endif @endif @include('documentcreator::reports.filters')
@if($user->can( "delete-any {$templateType}-creator") || $user->can( "delete-own {$templateType}-creator")) @endif @if($templateType == "contract") @endif
{{trans("tables.name_title")}}{{ trans('tables.regarding') }} {{ trans('tables.contract_type_category') }} {{ trans('tables.effective_from') }}{{ trans('tables.created') }} {{trans("tables.action_title")}}
@stop @section('footer-script') @stop