remove toPersianDigits

This commit is contained in:
2026-06-17 13:51:29 +03:30
parent b42b123957
commit 61e10dd45a
13 changed files with 65 additions and 55 deletions
@@ -34,7 +34,7 @@
]"
>
<div class="flex items-center">
<div class="text-base ml-1">{{ item.gold }}</div>
<div class="text-base ml-1">{{ formatGoldAmount(item.gold) }}</div>
{{ item.unit }}
</div>
<div
@@ -66,7 +66,7 @@
</div>
<div class="flex flex-col items-end text-xs text-yellow-700">
<div class="flex items-center">
<div class="text-base ml-1">{{ item.balance_gold }}</div>
<div class="text-base ml-1">{{ formatGoldAmount(item.balance_gold) }}</div>
{{ getProductQuantityUnit(item.wallet.product) }}
</div>
<div v-if="getProductUnitWeightLabel(item.wallet.product)" class="text-gray-500">
@@ -79,7 +79,7 @@
{{ getGoldWalletLabel(item.wallet?.product?.group_type) }}:
</div>
<div class="flex text-xs text-yellow-700 items-center">
<div class="text-base ml-1">{{ item.balance_gold }}</div>
<div class="text-base ml-1">{{ formatGoldAmount(item.balance_gold) }}</div>
{{ getWeightUnit() }}
</div>
</div>
@@ -107,7 +107,7 @@
</template>
<script lang="ts" setup>
import { usePriceWithoutType } from '@/utils/usePrice'
import { formatGoldAmount, usePriceWithoutType } from '@/utils/usePrice'
import type { Transaction } from '@/models/transaction'
import {
getCashWalletLabel,