fix(payment): update currency display from تومان to ریال and adjust amount formatting

This commit is contained in:
hamed
2026-06-24 20:39:34 +03:30
parent cc6b42c1a5
commit 537f3e47d5
5 changed files with 16 additions and 13 deletions
@@ -62,7 +62,7 @@ function Card({ data, loading }) {
</TextLoading>
<TextLoading loading={loading} width={80} height={18}>
<p className="text-[#616161] text-[14px] font-medium">
{data.amount_rials ? Math.round(data.amount_rials / 10).toLocaleString("fa-IR") : "--"} تومان
{data.amount_rials ? Number(data.amount_rials).toLocaleString("fa-IR") : "--"} ریال
</p>
</TextLoading>
</li>