fix price

This commit is contained in:
2026-07-29 16:02:41 +03:30
parent 2cf4ec1bd9
commit 96fa254abb
13 changed files with 313 additions and 43 deletions
@@ -27,7 +27,8 @@
<MobileDetailRow label="مشتری" :value="row.customer?.name || '-'" />
<MobileDetailRow label="موبایل" :value="row.customer?.mobile || '-'" />
<MobileDetailRow label="نوع" :value="row.type || '-'" />
<MobileDetailRow label="مقدار" :value="row.amount ?? '-'" />
<MobileDetailRow label="مقدار" :value="metalAmountLabel(row)" />
<MobileDetailRow label="مبلغ ریالی" :value="rialAmountLabel(row)" />
<MobileDetailRow label="شرح" full-width :value="row.desc || '-'" />
<MobileDetailRow label="وضعیت" :value="tahesabStatusLabel(row.sync_status, row.tahesab_id)" />
<MobileDetailRow label="کد ته‌حساب" :value="row.tahesab_id || '-'" />
@@ -52,6 +53,10 @@ import MobileDetailSheet from '@/components/mobile/MobileDetailSheet.vue'
import MobileIconButton from '@/components/mobile/MobileIconButton.vue'
import MobileInfoGrid from '@/components/mobile/MobileInfoGrid.vue'
import MobileSheetHeader from '@/components/mobile/MobileSheetHeader.vue'
import {
metalAmountLabel,
rialAmountLabel,
} from '@/pages/menuPages/accounting/utils/accountingDocAmounts'
import { canRetryTahesab, tahesabStatusLabel } from '@/pages/menuPages/accounting/utils/tahesabStatus'
import { isMobile } from '@core/utils/is'
import { toJalali } from '@core/utils/useDataTime'