Display and accept SuperAdmin money amounts in tomans.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-08 13:27:31 +03:30
co-authored by Cursor
parent 68de9a2337
commit 8e696bb591
7 changed files with 55 additions and 27 deletions
+3 -3
View File
@@ -422,11 +422,11 @@ onMounted(async () => {
<span>موجودی کیف پول</span>
<a-tag v-if="form.isBlocked" color="error">ارسال مسدود</a-tag>
</div>
<strong>{{ formatNumber(summary.balanceRials) }} <small>ریال</small></strong>
<strong>{{ formatMoney(summary.balanceRials) }}</strong>
</div>
<div class="stat-card sky">
<span>قیمت هر پارت</span>
<strong>{{ formatNumber(summary.perPartRials) }} <small>ریال</small></strong>
<strong>{{ formatMoney(summary.perPartRials) }}</strong>
</div>
<div class="stat-card emerald">
<span>امروز</span>
@@ -458,7 +458,7 @@ onMounted(async () => {
<MoneyInput
v-model:value="chargeForm.amountRials"
allow-negative
placeholder="مبلغ (ریال)"
placeholder="مبلغ (تومان)"
/>
<a-input v-model:value="chargeForm.note" size="large" placeholder="توضیح (اختیاری)" />
<a-button type="primary" size="large" :loading="charging" @click="openChargeConfirm">