fix some things

This commit is contained in:
2026-09-14 12:57:53 +03:30
parent 569e62fef4
commit 71da064cab
6 changed files with 78 additions and 11 deletions
+2 -2
View File
@@ -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)
}