refactor(FE-208,212): update PurchaseRequestForm schema and component to handle warehouse IDs

This commit is contained in:
rstubryan
2025-10-30 09:29:38 +07:00
parent b2c38cd06f
commit b0e8a460fd
3 changed files with 68 additions and 73 deletions
+1 -1
View File
@@ -21,10 +21,10 @@ export type Purchase = BaseMetadata & BasePurchase;
export type CreatePurchaseRequestPayload = {
supplier_id: number;
warehouse_ids: number[];
credit_term: number;
notes?: string | null;
purchase_items: {
warehouse_ids: number;
product_id: number;
product_warehouse_id: number;
total_qty: number;