@if ( $crud->entity_name_plural == 'agreements' || $crud->entity_name_plural == 'variation orders' || $crud->entity_name_plural == 'quotations') @if (isset($saveAction['active']) && !is_null($saveAction['active']['value']))
@if (!empty($saveAction['options']))
@endif @if (!empty($saveAction['options']))
@endif @if (!$crud->hasOperationSetting('showCancelButton') || $crud->getOperationSetting('showCancelButton') == true)  {{ trans('backpack::crud.cancel') }} @endif
@if (isset($entry)) @endif @endif @else @if (isset($saveAction['active']) && !is_null($saveAction['active']['value']))
@if (!empty($saveAction['options']))
@endif
@if (!empty($saveAction['options'])) @endif
@if (!empty($saveAction['options']))
@endif {{-- LEADS --}} @if ($crud->entity_name_plural == 'leads') @if (isset($entry)) Return lead {{-- @canany(['lead-reassign']) @endcanany --}} Add to Quotation @endif @endif {{-- END OF LEADS --}} {{-- Project --}} @if ($crud->entity_name_plural == 'projects') @if (isset($entry)) @php $project = App\Models\Project::find($entry->getKey()); $projectNo = $project->project_no; @endphp @if ($projectNo[0] == 'L') Confirm @endif @endif @endif {{-- END Project --}} @if (!$crud->hasOperationSetting('showCancelButton') || $crud->getOperationSetting('showCancelButton') == true)  {{ trans('backpack::crud.cancel') }} @endif
@endif @endif