fix(FE): change datatype location in inventory products

This commit is contained in:
randy-ar
2025-12-04 14:10:46 +07:00
parent 3b846bf11c
commit dc6b0eaec6
4 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
import { BaseMetadata } from '@/types/api/api-general';
import { BaseMetadata, CreatedUser } from '@/types/api/api-general';
import { ProductWarehouse } from '@/types/api/inventory/product-warehouse';
import { ProductCategory } from '@/types/api/master-data/product-category';
import { Supplier } from '@/types/api/master-data/supplier';
@@ -25,7 +25,7 @@ export type ProductWarehouseStock = {
product_id: number;
warehouse_id: number;
warehouse_name: string;
location: Location | string;
location: Location | null;
current_stock: number;
stock_logs: StockLog[];
};
@@ -38,7 +38,7 @@ export type StockLog = {
loggable_id: number;
notes: string;
product_warehouse_id: number;
created_by: number;
created_by: CreatedUser;
created_at: string;
};