diff --git a/src/stores/payment/types.ts b/src/stores/payment/types.ts index 7ee3411e..73dfcf5a 100644 --- a/src/stores/payment/types.ts +++ b/src/stores/payment/types.ts @@ -15,6 +15,8 @@ export type Invoice = { createdAt: string; createdBy: CreatedBy; createdByUserId: string; + + payment?: Payment; }; export type InvoicePayload = { diff --git a/src/stores/quotations/types.ts b/src/stores/quotations/types.ts index 43135e9f..6ed55ba1 100644 --- a/src/stores/quotations/types.ts +++ b/src/stores/quotations/types.ts @@ -281,6 +281,7 @@ export type QuotationFull = { }[]; id: string; + invoice?: Invoice[]; finalPrice: number; vat: number; vatExcluded: number;