From fd868eaa0cd2cf51b2b4c74874c8abc0466d7456 Mon Sep 17 00:00:00 2001 From: rstubryan Date: Tue, 6 Jan 2026 20:12:47 +0700 Subject: [PATCH] refactor(FE): Add ProductPrice and SellingPrice fields to types --- src/types/api/inventory/product.d.ts | 2 ++ src/types/api/purchase/purchase.d.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/types/api/inventory/product.d.ts b/src/types/api/inventory/product.d.ts index cb8f98a1..f75e4060 100644 --- a/src/types/api/inventory/product.d.ts +++ b/src/types/api/inventory/product.d.ts @@ -10,6 +10,8 @@ export type BaseInventoryProduct = { name: string; brand: string; sku: string; + ProductPrice: number; + SellingPrice?: number; product_price: number; selling_price?: number; tax?: number; diff --git a/src/types/api/purchase/purchase.d.ts b/src/types/api/purchase/purchase.d.ts index 4e717f15..d355c2f8 100644 --- a/src/types/api/purchase/purchase.d.ts +++ b/src/types/api/purchase/purchase.d.ts @@ -10,6 +10,8 @@ export type PurchaseItemProduct = { id: number; name: string; flags?: string[]; + ProductPrice?: number; + SellingPrice?: number; uom?: { name: string; };