From 249e251ba6c1e51309958ffcbd91ff343413cee6 Mon Sep 17 00:00:00 2001 From: adonis Date: Thu, 11 Jun 2026 15:17:14 +0330 Subject: [PATCH] fix price --- src/utils/productPrice.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/utils/productPrice.ts b/src/utils/productPrice.ts index 6feacc9..ed67af2 100644 --- a/src/utils/productPrice.ts +++ b/src/utils/productPrice.ts @@ -41,8 +41,7 @@ export function getProductSellPrice(product: Product): number { } if (isMeltedTradeGroup(product.group_type)) { - const base = (product.price_profit ?? product.price ?? 0) - return base - (product.cash_fee_sell ?? 0) + return (product.price ?? 0) - (product.cash_fee_sell ?? 0) } return getTradeSellPrice(lastPrice.value)