route) }}> {{-- See if we're using tabs --}} @if ($crud->tabsEnabled() && count($crud->getTabs())) @include('crud::inc.show_tabbed_fields') @else
@if($crud->entity_name == 'quotation') @if(Route::currentRouteName() == 'quotation.create') @php $user = auth()->user(); $template = \App\Models\TemplateQuotation::where('user_id', $user->id)->orWhere('is_shared', 1)->get(); $templates =''; foreach ($template as $temp){ $templates .= ' '; } $isDisabled = isset($_GET['duplicate_quotation_id']) && $_GET['duplicate_quotation_id']!= null ? 'disabled' : ''; @endphp
@endif @endif @include('crud::inc.show_fields', ['fields' => $crud->fields()]) @if($crud->entity_name == 'quotation' || $crud->entity_name == 'agreement' || $crud->entity_name == 'variation-order')
@endif @if($crud->entity_name == 'sales-target')
@endif
@endif {{-- Define blade stacks so css and js can be pushed from the fields to these sections. --}} @section('after_styles') @stack('crud_fields_styles') @endsection @section('after_scripts') @stack('crud_fields_scripts') @if($crud->entity_name == 'quotation') @endif @if($crud->entity_name == 'sales-target') @endif @endsection