changes of giftCard page

This commit is contained in:
2026-10-20 12:11:46 +03:30
parent 2927d64c64
commit e5b3d0c931
55 changed files with 1495 additions and 140 deletions
@@ -4,7 +4,7 @@
<MobileSheetHeader :title="sheetTitle" :show-title="isMobile">
<template #actions>
<MobileIconButton
v-if="!row.tahesab_id && !row.customer?.moshtari_code"
v-if="can('register') && !row.tahesab_id && !row.customer?.moshtari_code"
plain
icon="vuesax-linear:profile-add"
color="#7C3AED"
@@ -12,7 +12,7 @@
@click="$emit('register-customer', row)"
/>
<MobileIconButton
v-if="canRetry(row)"
v-if="can('send') && canRetry(row)"
plain
icon="vuesax-linear:refresh-circle"
color="#CA8A04"
@@ -60,6 +60,9 @@ import {
import { canRetryTahesab, tahesabStatusLabel } from '@/pages/menuPages/accounting/utils/tahesabStatus'
import { isMobile } from '@core/utils/is'
import { toJalali } from '@core/utils/useDataTime'
import { usePageActionAccess } from '@/composables/usePageActionAccess'
const { can } = usePageActionAccess()
const props = defineProps<{
visible: boolean