diff --git a/src/stores/quotations/types.ts b/src/stores/quotations/types.ts index ab1a7db4..30d49988 100644 --- a/src/stores/quotations/types.ts +++ b/src/stores/quotations/types.ts @@ -1,5 +1,5 @@ import { CustomerType } from '../customer/types'; -import { Status } from '../types'; +import { CreatedBy, Status, UpdatedBy } from '../types'; type CustomerBranchRelation = { customer: { @@ -204,8 +204,10 @@ export type Quotation = { customerBranch: CustomerBranchRelation; createdByUserId: string; + createdBy: CreatedBy; createdAt: string | Date; updatedByUserId: string; + updatedBy: UpdatedBy; updatedAt: string | Date; }; @@ -262,8 +264,10 @@ export type QuotationFull = { createdByUserId: string; createdAt: string | Date; + createdBy: CreatedBy; updatedByUserId: string; updatedAt: string | Date; + updatedBy: UpdatedBy; }; export type QuotationPayload = {