fix(FE): adjust data types for project flock and product stock inventory

This commit is contained in:
randy-ar
2025-12-04 16:13:47 +07:00
parent dc6b0eaec6
commit e0a8514814
5 changed files with 18 additions and 15 deletions
+1
View File
@@ -18,6 +18,7 @@ export type BaseInventoryProduct = {
suppliers: Supplier[];
flags: string[];
product_warehouses?: ProductWarehouseStock[];
total_stock?: number;
};
export type ProductWarehouseStock = {
+1 -1
View File
@@ -23,7 +23,7 @@ export type BaseProjectFlock = {
kandangs: (Kandang & {
project_flock_kandang_id: number;
})[];
project_budgets: ProjectFlockBudget[];
project_budgets?: ProjectFlockBudget[];
approval: BaseApproval;
};