all(); $order_items = OrderItemsAction::run($action, $order_items, $request); $data = new OrderItemsResource($order_items); return $this->response->message(trans("messages.success.{$action}", ['Module' => trans('order::order_items.name')])) ->code(204) ->data(compact('data')) ->status('success') ->url(guard_url('order/order_items/' . $order_items->getRouteKey())) ->redirect(); } catch (Exception $e) { return $this->response->message($e->getMessage()) ->code(400) ->status('error') ->url(guard_url('order/order_items/' . $order_items->getRouteKey())) ->redirect(); } } public function notify(){ } }