新增生成pdf
This commit is contained in:
@@ -101,21 +101,8 @@ class StockOrdersController extends BaseController
|
||||
return $data;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public function copyOrder(Request $request)
|
||||
{
|
||||
try {
|
||||
$raw = $this->service->copyOrder($request);
|
||||
$data = $this->transformData($raw, method_exists($this, 'indexFormat')
|
||||
? [$this, 'indexFormat']
|
||||
: null);
|
||||
return $this->success($data);
|
||||
} catch (\Throwable $e) {
|
||||
return $this->error($e->getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public function desc(Request $request)
|
||||
|
||||
Reference in New Issue
Block a user