From a25d267550c74335ff72ed34be659f9f2f445f28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B6=8C=ED=98=81=EC=84=B1?= Date: Thu, 29 Jan 2026 13:48:03 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=9E=85=EA=B3=A0=20=EB=93=B1=EB=A1=9D?= =?UTF-8?q?=20order=5Fqty=20=ED=95=84=EC=88=98=20=EA=B2=80=EC=A6=9D=20?= =?UTF-8?q?=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - StoreReceivingRequest에서 order_qty를 required → nullable로 변경 - 입고 등록 시 발주수량 없이도 등록 가능하도록 수정 Co-Authored-By: Claude Opus 4.5 --- app/Http/Requests/V1/Receiving/StoreReceivingRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Requests/V1/Receiving/StoreReceivingRequest.php b/app/Http/Requests/V1/Receiving/StoreReceivingRequest.php index e7a9c05..4cc2380 100644 --- a/app/Http/Requests/V1/Receiving/StoreReceivingRequest.php +++ b/app/Http/Requests/V1/Receiving/StoreReceivingRequest.php @@ -21,7 +21,7 @@ public function rules(): array 'item_name' => ['required', 'string', 'max:200'], 'specification' => ['nullable', 'string', 'max:200'], 'supplier' => ['required', 'string', 'max:100'], - 'order_qty' => ['required', 'numeric', 'min:0'], + 'order_qty' => ['nullable', 'numeric', 'min:0'], 'order_unit' => ['nullable', 'string', 'max:20'], 'due_date' => ['nullable', 'date'], 'status' => ['nullable', 'string', 'in:order_completed,shipping,inspection_pending,receiving_pending'],