fix: revert Price/10 — DB stores Toman, display directly
Build and Deploy to Kubernetes / build-and-deploy (push) Failing after 2m37s
Build and Deploy to Kubernetes / build-and-deploy (push) Failing after 2m37s
Previous fix incorrectly divided by 10 assuming DB was Rial. DB values are in Toman, so FormattedPrice shows Price directly.
This commit is contained in:
@@ -20,8 +20,8 @@ public record PackageDto(
|
||||
bool SupportsDayaPurchase = false,
|
||||
bool SupportsDirectPurchase = false)
|
||||
{
|
||||
/// <summary>قیمت به تومان — مقدار Price از سرور به ریال است</summary>
|
||||
public string FormattedPrice => string.Format("{0:N0} تومان", Price / 10);
|
||||
/// <summary>قیمت فرمتشده به تومان</summary>
|
||||
public string FormattedPrice => string.Format("{0:N0} تومان", Price);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user