fix some bugs

This commit is contained in:
2026-06-23 22:31:07 +03:30
parent 4e7d6bca00
commit 71764f7e9a
68 changed files with 1941 additions and 1288 deletions
@@ -42,6 +42,7 @@ import MobileSheetHeader from '@/components/mobile/MobileSheetHeader.vue'
import MobileStatCard from '@/components/mobile/MobileStatCard.vue'
import { isMobile } from '@core/utils/is'
import { toJalali } from '@core/utils/useDataTime'
import { metalLabel } from '@/utils/adminMetalLabels'
const props = defineProps<{
visible: boolean
@@ -82,7 +83,7 @@ function statusClass(row: Giftcardcode) {
}
function unitLabel(row: Giftcardcode) {
return row.unit === 2 ? 'طلایی' : 'ریالی'
return row.unit === 2 ? metalLabel.goldWalletShort() : 'ریالی'
}
function unitTagClass(row: Giftcardcode) {