From e8cd7e2df8fca0849214d614d89edff14cc22bff Mon Sep 17 00:00:00 2001 From: Thanaphon Frappet Date: Wed, 18 Dec 2024 10:00:03 +0700 Subject: [PATCH] refactor: edit type payment add id and invoice --- src/stores/payment/types.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/stores/payment/types.ts b/src/stores/payment/types.ts index 745f7083..31a6a8ae 100644 --- a/src/stores/payment/types.ts +++ b/src/stores/payment/types.ts @@ -34,10 +34,12 @@ export type PaymentFlowAccount = { }; export type Payment = { + id: string; code?: string; paymentStatus: string; date: Date; amount: number; + invoice: { id: string; amount: number; installments: { no: number }[] }; }; export type Receipt = Payment;