feat: align customer finance account

This commit is contained in:
2026-09-10 22:43:11 +08:00
parent 84c3b90d4a
commit b2c92d5666
3 changed files with 8 additions and 3 deletions
+3
View File
@@ -34,6 +34,8 @@ export interface FinanceAccount {
creditUsed: string
creditFrozen: string
availableCredit: string
creditExpiresOn: string | null
creditActive: boolean
version: number
updatedAt: string
}
@@ -51,6 +53,7 @@ export interface AccountLedgerEntry {
creditLimitAfter: string
creditUsedAfter: string
availableCreditAfter: string
creditExpiresOnAfter: string | null
sourceType: 'CLIENT_RECHARGE' | 'MANUAL_RECHARGE' | 'MANUAL_DEDUCTION' | 'CREDIT_LIMIT_ADJUSTMENT' | string
sourceNo: string
operatorName: string | null