fix: tasks endpoint→manual-tasks, add Leads page, add Leads to sidebar, fix field names
This commit is contained in:
@@ -4,13 +4,14 @@ import Link from 'next/link';
|
||||
import { usePathname } from 'next/navigation';
|
||||
import { useAuthStore } from '@/lib/auth-store';
|
||||
import {
|
||||
LayoutDashboard, Users, FileText, CreditCard, ArrowLeftRight,
|
||||
LayoutDashboard, Users, UserPlus, FileText, CreditCard, ArrowLeftRight,
|
||||
Ticket, BarChart3, Settings, Wifi, ClipboardList, ScrollText,
|
||||
} from 'lucide-react';
|
||||
|
||||
const navItems = [
|
||||
{ label: 'Dashboard', href: '/dashboard', icon: LayoutDashboard, roles: [] },
|
||||
{ label: 'Clients', href: '/clients', icon: Users, roles: [] },
|
||||
{ label: 'Leads', href: '/leads', icon: UserPlus, roles: ['admin','staff'] },
|
||||
{ label: 'Subscriptions', href: '/subscriptions', icon: Wifi, roles: [] },
|
||||
{ label: 'Invoices', href: '/invoices', icon: FileText, roles: [] },
|
||||
{ label: 'Payments', href: '/payments', icon: CreditCard, roles: [] },
|
||||
|
||||
Reference in New Issue
Block a user