refactor: receipt dialog & type

This commit is contained in:
puriphatt 2024-10-18 16:14:19 +07:00
parent a6955929e9
commit 0a9b9dfb79
3 changed files with 271 additions and 66 deletions

View file

@ -180,6 +180,7 @@ export type Quotation = {
id: string;
finalPrice: number;
vat: number;
discount: number;
totalDiscount: number;
totalPrice: number;
urgent: boolean;
@ -198,7 +199,14 @@ export type Quotation = {
workName: string;
code: string;
statusOrder: number;
vatExcluded: number;
status: Status;
quotationStatus:
| 'PaymentPending'
| 'PaymentInProcess'
| 'PaymentSuccess'
| 'ProcessComplete'
| 'Canceled';
registeredBranchId: string;