From 71b7e40994dc8947ad5220a0646aa152078c4d40 Mon Sep 17 00:00:00 2001 From: masoodafar-web Date: Fri, 27 Feb 2026 21:02:54 +0330 Subject: [PATCH] =?UTF-8?q?fix:=20revert=20Price/10=20=E2=80=94=20DB=20sto?= =?UTF-8?q?res=20Toman,=20display=20directly?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Previous fix incorrectly divided by 10 assuming DB was Rial. DB values are in Toman, so FormattedPrice shows Price directly. --- src/FrontOffice.Main/Utilities/PackageService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/FrontOffice.Main/Utilities/PackageService.cs b/src/FrontOffice.Main/Utilities/PackageService.cs index f1e9bab..f68850d 100644 --- a/src/FrontOffice.Main/Utilities/PackageService.cs +++ b/src/FrontOffice.Main/Utilities/PackageService.cs @@ -20,8 +20,8 @@ public record PackageDto( bool SupportsDayaPurchase = false, bool SupportsDirectPurchase = false) { - /// قیمت به تومان — مقدار Price از سرور به ریال است - public string FormattedPrice => string.Format("{0:N0} تومان", Price / 10); + /// قیمت فرمت‌شده به تومان + public string FormattedPrice => string.Format("{0:N0} تومان", Price); } ///