fix withdraw and desposit ui

This commit is contained in:
2026-06-15 15:48:10 +03:30
parent f7b86a5fa1
commit 57a8fb9854
11 changed files with 438 additions and 100 deletions
+2
View File
@@ -26,6 +26,8 @@ export interface Customer {
city: string
province: string
wallet: Wallet
wallet_cash?: number
wallet_gold?: number
n_code: string | number
last_seen_at:string
profit_amount: number
+6
View File
@@ -5,6 +5,8 @@ export interface Wallet {
id: number
gold: number
cash: number
fund_id?: number | null
product_id?: number | null
customer: User
}
@@ -32,11 +34,15 @@ export interface Withdraw {
transaction?: WithdrawTransaction[]
}
export type WalletChargeDirection = 'charge' | 'discharge'
export interface Charge {
value?: number
note?: string
customer_id?: number
talabBedehi?: boolean
direction?: WalletChargeDirection
amountAbs?: number | string
}
export interface WithdrawStatus {