mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 21:41:57 +00:00
refactor(FE-327): Split BaseClosingSales into BaseSales and wrapper
This commit is contained in:
Vendored
+6
-1
@@ -4,7 +4,7 @@ import { Product } from '@type/api/master-data/product';
|
|||||||
import { ProductCategory } from '@type/api/master-data/product-category';
|
import { ProductCategory } from '@type/api/master-data/product-category';
|
||||||
import { Customer } from '@type/api/master-data/customer';
|
import { Customer } from '@type/api/master-data/customer';
|
||||||
|
|
||||||
export type BaseClosingSales = {
|
export type BaseSales = {
|
||||||
id: number;
|
id: number;
|
||||||
realization_date: string;
|
realization_date: string;
|
||||||
week_age: number;
|
week_age: number;
|
||||||
@@ -23,4 +23,9 @@ export type BaseClosingSales = {
|
|||||||
payment_status: string;
|
payment_status: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type BaseClosingSales = {
|
||||||
|
project_type: string;
|
||||||
|
penjualan: BaseSales[];
|
||||||
|
};
|
||||||
|
|
||||||
export type ClosingSales = BaseMetadata & BaseClosingSales;
|
export type ClosingSales = BaseMetadata & BaseClosingSales;
|
||||||
|
|||||||
Reference in New Issue
Block a user