refactor(FE-327): Split BaseClosingSales into BaseSales and wrapper

This commit is contained in:
rstubryan
2025-12-05 11:14:52 +07:00
parent 075d945a59
commit c31b284cf4
+6 -1
View File
@@ -4,7 +4,7 @@ import { Product } from '@type/api/master-data/product';
import { ProductCategory } from '@type/api/master-data/product-category';
import { Customer } from '@type/api/master-data/customer';
export type BaseClosingSales = {
export type BaseSales = {
id: number;
realization_date: string;
week_age: number;
@@ -23,4 +23,9 @@ export type BaseClosingSales = {
payment_status: string;
};
export type BaseClosingSales = {
project_type: string;
penjualan: BaseSales[];
};
export type ClosingSales = BaseMetadata & BaseClosingSales;