feat(tahesab): sales report snapshot with org-module gate

Sync linked asnad into CRM, filter by group/kind/metal, and require the tahesab superadmin module plus reports role access.
This commit is contained in:
2026-10-22 18:20:46 +03:30
parent 65cf4e9a66
commit ade43fea0f
11 changed files with 1490 additions and 3 deletions
+8
View File
@@ -1139,6 +1139,14 @@ const activityMax = computed(() =>
lead="نمای جامع عملکرد فروش، مشتریان، فعالیت‌ها و تیم"
>
<template #actions>
<UiButton
v-if="auth.user?.enabledModules?.includes('tahesab')"
variant="secondary"
@click="router.push({ name: 'tahesab-sales-report' })"
>
<UiIcon name="chart" :size="16" />
فروش ته‌حساب
</UiButton>
<UiButton variant="secondary" @click="openSaveModal">
<UiIcon name="layers" :size="16" />
ذخیره نما