@if(backpack_user()->can('storeQuotationInquiry', new \App\Models\Quotation\QuotationInquiry()))
{{$field['button_text']}}
@endif @php use \App\Models\Quotation\Invoice; $invoices = CRUD::getCurrentEntry()->invoices()->whereIn("status", [Invoice::STATUS_APPROVED, Invoice::STATUS_PAID])->get(); @endphp @push('after_scripts') @endpush