feat: add employee timings view, notification templates view, and professor sms preview

This commit is contained in:
2026-08-24 19:31:20 +03:30
parent 6d64c2931d
commit 05d96fd550
11 changed files with 1541 additions and 190 deletions
+2
View File
@@ -142,6 +142,7 @@ const menuGroups = computed(() => {
key: 'system',
label: 'مدیریت سیستم',
items: [
{ label: 'ورود و خروج کارمندان', icon: 'pi pi-clock', to: '/employee-timings', permission: PERMISSIONS.EMPLOYEE_TIMINGS_READ },
{ label: 'گزارش فعالیت‌ها', icon: 'pi pi-history', to: '/logs', permission: PERMISSIONS.LOGS_READ },
{ label: 'نقش‌ها و دسترسی‌ها', icon: 'pi pi-shield', to: '/roles' }
]
@@ -166,6 +167,7 @@ const menuGroups = computed(() => {
if (permissionStore.roleName === 'SuperAdmin') {
const systemGroup = groups.find((g) => g.key === 'system');
systemGroup.items.push({ label: 'قالب‌های اعلان', icon: 'pi pi-send', to: '/notification-templates' });
systemGroup.items.push({ label: 'تنظیمات', icon: 'pi pi-cog', to: '/settings' });
}