@push('after_scripts') @php $config = [ 'button_id' => "#btn-event-appove", 'title' => trans('backpack::event.message.action_question', ['action' => trans('backpack::common/button.approve.name')]), 'buttons_confirm_label' => __('backpack::common/button.approve.name'), 'buttons_cancel_label' => __('backpack::crud.cancel'), 'action_url' => route('admin.event.approve', ['event_id' => $crud->entry->getKey()]), 'method' => "PUT", 'action_type' => "api", 'bootbox_type' => "confirm" ]; @endphp @endpush