refactor: invoice & payment type

This commit is contained in:
puriphatt 2024-11-29 11:16:26 +07:00
parent 98294171eb
commit 3d48cd1140
2 changed files with 3 additions and 0 deletions

View file

@ -15,6 +15,8 @@ export type Invoice = {
createdAt: string; createdAt: string;
createdBy: CreatedBy; createdBy: CreatedBy;
createdByUserId: string; createdByUserId: string;
payment?: Payment;
}; };
export type InvoicePayload = { export type InvoicePayload = {

View file

@ -281,6 +281,7 @@ export type QuotationFull = {
}[]; }[];
id: string; id: string;
invoice?: Invoice[];
finalPrice: number; finalPrice: number;
vat: number; vat: number;
vatExcluded: number; vatExcluded: number;