diff --git a/src/stores/quotations/types.ts b/src/stores/quotations/types.ts index 788956c6..b182dc18 100644 --- a/src/stores/quotations/types.ts +++ b/src/stores/quotations/types.ts @@ -118,6 +118,7 @@ type ProductRelation = { createdByUserId: string; updatedAt: string; updatedByUserId: string; + productGroup?: ProductGroup; }; type WorkRelation = { @@ -279,7 +280,7 @@ export type QuotationPayload = { contactName: string; workName: string; actorName: string; - status: Status; + status?: Status; }; export type EmployeeWorker = { @@ -297,3 +298,18 @@ export type EmployeeWorker = { gender: string; dateOfBirth: Date; }; + +export type ProductGroup = { + id: string; + name: string; + code: string; + status: Status; + statusOrder: number; + createdAt: string | Date; + createdByUserId: string; + updatedAt: string | Date; + updatedByUserId: string; + detail: string; + remark: string; + registeredBranchId: string; +};