refactor: Réorganiser le menu staff - renommer Gestion RH en Gestion Paie, déplacer Virements et Cotisations, renommer Gestion Financière en Gestion Facturation
This commit is contained in:
parent
00b77b2f17
commit
e73bed369e
1 changed files with 33 additions and 33 deletions
|
|
@ -415,10 +415,10 @@ export default function Sidebar({ clientInfo, isStaff = false, mobile = false, o
|
|||
Staff
|
||||
</div>
|
||||
|
||||
{/* Gestion RH */}
|
||||
{/* Gestion Paie */}
|
||||
<div className="mt-3">
|
||||
<div className="px-3 py-1.5 text-xs font-medium text-slate-500 uppercase tracking-wider">
|
||||
Gestion RH
|
||||
Gestion Paie
|
||||
</div>
|
||||
<Link href="/staff/contrats" onClick={() => onNavigate && onNavigate()} className={`block px-3 py-2 rounded-xl text-sm transition truncate ${
|
||||
isActivePath(pathname, "/staff/contrats") ? "bg-gradient-to-r from-indigo-200 via-purple-200 to-pink-200 text-slate-700 font-semibold" : "hover:bg-slate-50"
|
||||
|
|
@ -468,21 +468,6 @@ export default function Sidebar({ clientInfo, isStaff = false, mobile = false, o
|
|||
<span>Productions</span>
|
||||
</span>
|
||||
</Link>
|
||||
</div>
|
||||
|
||||
{/* Gestion Financière */}
|
||||
<div className="mt-3">
|
||||
<div className="px-3 py-1.5 text-xs font-medium text-slate-500 uppercase tracking-wider">
|
||||
Gestion Financière
|
||||
</div>
|
||||
<Link href="/staff/facturation" onClick={() => onNavigate && onNavigate()} className={`block px-3 py-2 rounded-xl text-sm transition truncate ${
|
||||
isActivePath(pathname, "/staff/facturation") ? "bg-gradient-to-r from-indigo-200 via-purple-200 to-pink-200 text-slate-700 font-semibold" : "hover:bg-slate-50"
|
||||
}`} title="Gestion de la facturation">
|
||||
<span className="inline-flex items-center gap-2">
|
||||
<CreditCard className="w-4 h-4" aria-hidden />
|
||||
<span>Facturation</span>
|
||||
</span>
|
||||
</Link>
|
||||
<Link href="/staff/virements-salaires" onClick={() => onNavigate && onNavigate()} className={`block px-3 py-2 rounded-xl text-sm transition truncate ${
|
||||
isActivePath(pathname, "/staff/virements-salaires") ? "bg-gradient-to-r from-indigo-200 via-purple-200 to-pink-200 text-slate-700 font-semibold" : "hover:bg-slate-50"
|
||||
}`} title="Virements de salaires">
|
||||
|
|
@ -499,22 +484,6 @@ export default function Sidebar({ clientInfo, isStaff = false, mobile = false, o
|
|||
<span>Cotisations</span>
|
||||
</span>
|
||||
</Link>
|
||||
<Link href="/staff/naa" onClick={() => onNavigate && onNavigate()} className={`block px-3 py-2 rounded-xl text-sm transition truncate ${
|
||||
isActivePath(pathname, "/staff/naa") ? "bg-gradient-to-r from-indigo-200 via-purple-200 to-pink-200 text-slate-700 font-semibold" : "hover:bg-slate-50"
|
||||
}`} title="Notes Apporteurs d'Affaires">
|
||||
<span className="inline-flex items-center gap-2">
|
||||
<FileText className="w-4 h-4" aria-hidden />
|
||||
<span>NAA</span>
|
||||
</span>
|
||||
</Link>
|
||||
<Link href="/staff/apporteurs" onClick={() => onNavigate && onNavigate()} className={`block px-3 py-2 rounded-xl text-sm transition truncate ${
|
||||
isActivePath(pathname, "/staff/apporteurs") ? "bg-gradient-to-r from-indigo-200 via-purple-200 to-pink-200 text-slate-700 font-semibold" : "hover:bg-slate-50"
|
||||
}`} title="Gestion des apporteurs">
|
||||
<span className="inline-flex items-center gap-2">
|
||||
<Building2 className="w-4 h-4" aria-hidden />
|
||||
<span>Apporteurs</span>
|
||||
</span>
|
||||
</Link>
|
||||
</div>
|
||||
|
||||
{/* Administration */}
|
||||
|
|
@ -548,6 +517,37 @@ export default function Sidebar({ clientInfo, isStaff = false, mobile = false, o
|
|||
</Link>
|
||||
</div>
|
||||
|
||||
{/* Gestion Facturation */}
|
||||
<div className="mt-3">
|
||||
<div className="px-3 py-1.5 text-xs font-medium text-slate-500 uppercase tracking-wider">
|
||||
Gestion Facturation
|
||||
</div>
|
||||
<Link href="/staff/facturation" onClick={() => onNavigate && onNavigate()} className={`block px-3 py-2 rounded-xl text-sm transition truncate ${
|
||||
isActivePath(pathname, "/staff/facturation") ? "bg-gradient-to-r from-indigo-200 via-purple-200 to-pink-200 text-slate-700 font-semibold" : "hover:bg-slate-50"
|
||||
}`} title="Gestion de la facturation">
|
||||
<span className="inline-flex items-center gap-2">
|
||||
<CreditCard className="w-4 h-4" aria-hidden />
|
||||
<span>Facturation</span>
|
||||
</span>
|
||||
</Link>
|
||||
<Link href="/staff/naa" onClick={() => onNavigate && onNavigate()} className={`block px-3 py-2 rounded-xl text-sm transition truncate ${
|
||||
isActivePath(pathname, "/staff/naa") ? "bg-gradient-to-r from-indigo-200 via-purple-200 to-pink-200 text-slate-700 font-semibold" : "hover:bg-slate-50"
|
||||
}`} title="Notes Apporteurs d'Affaires">
|
||||
<span className="inline-flex items-center gap-2">
|
||||
<FileText className="w-4 h-4" aria-hidden />
|
||||
<span>NAA</span>
|
||||
</span>
|
||||
</Link>
|
||||
<Link href="/staff/apporteurs" onClick={() => onNavigate && onNavigate()} className={`block px-3 py-2 rounded-xl text-sm transition truncate ${
|
||||
isActivePath(pathname, "/staff/apporteurs") ? "bg-gradient-to-r from-indigo-200 via-purple-200 to-pink-200 text-slate-700 font-semibold" : "hover:bg-slate-50"
|
||||
}`} title="Gestion des apporteurs">
|
||||
<span className="inline-flex items-center gap-2">
|
||||
<Building2 className="w-4 h-4" aria-hidden />
|
||||
<span>Apporteurs</span>
|
||||
</span>
|
||||
</Link>
|
||||
</div>
|
||||
|
||||
{/* Support & Communication */}
|
||||
<div className="mt-3">
|
||||
<div className="px-3 py-1.5 text-xs font-medium text-slate-500 uppercase tracking-wider">
|
||||
|
|
|
|||
Loading…
Reference in a new issue