feat: receipt (#176)

* feat: receipt

#173

* chore: clean up

---------

Co-authored-by: nwpptrs <jay02499@gmail.com>
Co-authored-by: Methapon2001 <61303214+Methapon2001@users.noreply.github.com>
This commit is contained in:
Methapon Metanipat 2025-01-14 16:12:30 +07:00 committed by GitHub
parent 1cdc2bd4cc
commit 2b758e57f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 638 additions and 3 deletions

View file

@ -44,7 +44,16 @@ export type Payment = {
paymentStatus: string;
date: Date;
amount: number;
invoice: { id: string; amount: number; installments: { no: number }[] };
invoice: {
id: string;
amount: number;
installments: { no: number }[];
quotation: Quotation;
};
};
export enum PaymentDataStatus {
Success = 'PaymentSuccess',
Wait = 'PaymentWait',
}
export type Receipt = Payment;