From 3c8d2bd9f4088a10d8e659163afb7d9a22047d19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=B3=B4=EA=B3=A4?= Date: Tue, 17 Mar 2026 11:03:37 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20[production]=20=EC=83=9D=EC=82=B0?= =?UTF-8?q?=EC=A7=80=EC=8B=9C=20=EC=83=9D=EC=84=B1=20=EC=8B=9C=20$process?= =?UTF-8?q?=20=EB=AF=B8=EC=A0=95=EC=9D=98=20=EC=98=A4=EB=A5=98=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - $process 변수를 if 블록 밖에서 null로 초기화 --- app/Services/OrderService.php | 1 + 1 file changed, 1 insertion(+) 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'])) {