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:
parent
1cdc2bd4cc
commit
2b758e57f8
8 changed files with 638 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue