@push('after_scripts')
@php
$config = [
'button_id' => "#btn-invoice-submit",
'title' => trans('backpack::invoice.message.action_question', ['action' => trans('backpack::invoice.button.submit')]),
'buttons_confirm_label' => __('backpack::invoice.button.submit'),
'buttons_cancel_label' => __('backpack::crud.cancel'),
'action_url' => route('admin.invoice.submit', ['invoice_id' => $crud->entry->getKey()]),
'action_include' => "backpack::crud.buttons.quotation.invoice.button_action_script_form",
'bootbox_type' => "prompt"
];
@endphp
@endpush