Stop applying special pricing twice on live quotes so sell stays below buy.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -35,4 +35,10 @@ export interface Price {
|
||||
/** montzar | zaarbox | main_product | store = مظنه زنده، database_last = آخرین قیمت ذخیرهشده */
|
||||
price_source?: string | null
|
||||
last_historical?: number
|
||||
special_pricing?: {
|
||||
package_id?: number
|
||||
title?: string
|
||||
profit_buy?: number
|
||||
profit_sell?: number
|
||||
} | null
|
||||
}
|
||||
|
||||
@@ -23,6 +23,8 @@ export interface Product {
|
||||
cash_fee_sell: number | undefined
|
||||
cash_fee_buy_is_percent?: boolean | null
|
||||
cash_fee_sell_is_percent?: boolean | null
|
||||
special_profit_buy?: number | null
|
||||
special_profit_sell?: number | null
|
||||
order_limit_enabled?: boolean
|
||||
min_order_cash?: number | null
|
||||
max_order_cash?: number | null
|
||||
|
||||
Reference in New Issue
Block a user