diff --git a/app/Admin/Actions/Store/ShowOrderPrint.php b/app/Admin/Actions/Store/ShowOrderPrint.php new file mode 100644 index 00000000..44ed1dfa --- /dev/null +++ b/app/Admin/Actions/Store/ShowOrderPrint.php @@ -0,0 +1,31 @@ +getKey(); + + return $this->response()->success('操作成功'); + } + + public function confirm() + { + return ['是否确定?', '打印小票']; + } + + public function allowed() + { + $model = $this->parent->model(); + return $model->source_type == Desk::class; + } +}