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