title) { return $this->title; } return ' '.__('admin_message.actions.grid.create_order_package').'   '; } /** * @param Model|Authenticatable|HasPermissions|null $user * * @return bool */ protected function authorize($user): bool { return $user->can('dcat.admin.product_sku_verifies.verify'); } public function render() { $form = OrderPackage::make()->payload(['order_id'=>$this->getKey()]); return Modal::make() ->lg() ->title($this->title()) ->body($form) ->button($this->title()); } }