diff --git a/app/Services/OrderService.php b/app/Services/OrderService.php index f181d481..f66ac5ee 100644 --- a/app/Services/OrderService.php +++ b/app/Services/OrderService.php @@ -1396,6 +1396,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'])) {