refactor(FE-212): update qty validation in PurchaseRequestForm schema to enforce numeric input

This commit is contained in:
rstubryan
2025-11-17 14:54:15 +07:00
parent 0087ba384c
commit 9260f1aff6
@@ -35,7 +35,7 @@ type PurchaseRequestFormSchemaType = {
label: string;
} | null;
product_id: number;
qty: number | string;
qty: number;
}[];
};
@@ -50,7 +50,7 @@ export type PurchaseItemSchema = {
label: string;
} | null;
product_id: number;
qty: number | string;
qty: number;
};
const PurchaseItemObjectSchema: Yup.ObjectSchema<PurchaseItemSchema> =