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'],