This commit is contained in:
Iliyan Angelov
2025-12-01 07:24:31 +02:00
parent 62c1fe5951
commit 49181cf48c
9 changed files with 4519 additions and 5 deletions

View File

@@ -9,7 +9,8 @@ import {
Menu,
X,
CreditCard,
Receipt
Receipt,
User
} from 'lucide-react';
import useAuthStore from '../../store/useAuthStore';
import { useResponsive } from '../../hooks';
@@ -95,6 +96,11 @@ const SidebarAccountant: React.FC<SidebarAccountantProps> = ({
icon: BarChart3,
label: 'Financial Reports'
},
{
path: '/accountant/profile',
icon: User,
label: 'My Profile'
},
];
const isActive = (path: string) => {

View File

@@ -303,6 +303,11 @@ const SidebarAdmin: React.FC<SidebarAdminProps> = ({
icon: HardDrive,
label: 'Backups'
},
{
path: '/admin/profile',
icon: User,
label: 'My Profile'
},
]
},
];

View File

@@ -127,6 +127,11 @@ const SidebarStaff: React.FC<SidebarStaffProps> = ({
icon: BarChart3,
label: 'Reports'
},
{
path: '/staff/profile',
icon: Users,
label: 'My Profile'
},
];
const isActive = (path: string) => {