fix some things
This commit is contained in:
@@ -277,7 +277,7 @@ export function getTvProductBuyPrice(product?: Product | null): number {
|
||||
}
|
||||
const unit = tvBuyUnitPrice(product)
|
||||
if (unit > 0) {
|
||||
return unit + resolveProductCashFeeBuyRial(product, unit)
|
||||
return unit
|
||||
}
|
||||
return getProductBuyPrice(product)
|
||||
}
|
||||
@@ -288,7 +288,7 @@ export function getTvProductSellPrice(product?: Product | null): number {
|
||||
}
|
||||
const unit = tvSellUnitPrice(product)
|
||||
if (unit > 0) {
|
||||
return unit - resolveProductCashFeeSellRial(product, unit)
|
||||
return unit
|
||||
}
|
||||
return getProductSellPrice(product)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user