From 4f30de2d283eb3929dc4d1755832c2dc3b93089d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=B3=B4=EA=B3=A4?= Date: Fri, 20 Mar 2026 14:53:56 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20[=EC=9E=85=EA=B3=A0]=20order=5Fqty=20val?= =?UTF-8?q?idation=EC=9D=84=20required=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= =?UTF-8?q?=ED=95=98=EC=97=AC=20SQL=20=EC=97=90=EB=9F=AC=20=EB=8C=80?= =?UTF-8?q?=EC=8B=A0=20=EB=AA=85=ED=99=95=ED=95=9C=20=EC=95=88=EB=82=B4=20?= =?UTF-8?q?=EB=B0=98=ED=99=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 8b94a5fc..867078a9 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' => ['nullable', 'numeric', 'min:0'], + 'order_qty' => ['required', 'numeric', 'min:0.01'], 'order_unit' => ['nullable', 'string', 'max:20'], 'due_date' => ['nullable', 'date'], 'receiving_qty' => ['nullable', 'numeric', 'min:0'],