fix withdraw and desposit ui
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user