fix some bug

This commit is contained in:
2026-07-01 22:27:51 +03:30
parent a69316e0de
commit e738d44667
8 changed files with 301 additions and 260 deletions
@@ -339,7 +339,8 @@ class DashboardController extends Controller
$response['fullPriceSood'] += $ord->total_fee;
$response['fullPriceKarmozd'] += $ord->service_charge_price;
}
$response['sumAll'] = $response['fullPriceM1']-$response['GiftsPrise'];
$response['totalTradingProfit'] = $response['fullPriceSood'] + $response['fullPriceKarmozd'];
$response['sumAll'] = $response['fullPriceM1'] - $response['GiftsPrise'];
return $response;
}