feat: add employee timings view, notification templates view, and professor sms preview
This commit is contained in:
@@ -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' });
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user