diff --git a/app/Services/OrderService.php b/app/Services/OrderService.php index 87a94d5d..b9267431 100644 --- a/app/Services/OrderService.php +++ b/app/Services/OrderService.php @@ -1327,6 +1327,7 @@ public function createProductionOrder(int $orderId, array $data) // 공정 옵션 초기화 (보조 공정 플래그 포함) $workOrderOptions = null; + $process = null; if ($processId) { $process = \App\Models\Process::find($processId); if ($process && ! empty($process->options['is_auxiliary'])) {