update label
This commit is contained in:
@@ -6,6 +6,7 @@ import {
|
||||
FileBadgeIcon,
|
||||
GraduationCap,
|
||||
LayoutDashboardIcon,
|
||||
ReceiptTextIcon,
|
||||
ShieldUserIcon,
|
||||
ShoppingCartIcon,
|
||||
UploadIcon,
|
||||
@@ -27,10 +28,17 @@ const data = {
|
||||
title: 'Visão geral',
|
||||
url: '/main',
|
||||
icon: LayoutDashboardIcon
|
||||
}
|
||||
],
|
||||
navPayment: [
|
||||
{
|
||||
title: 'Resumo de cobranças',
|
||||
url: '/billing',
|
||||
icon: ReceiptTextIcon
|
||||
},
|
||||
{
|
||||
title: 'Histórico de compras',
|
||||
url: '/orders',
|
||||
title: 'Histórico de pagamentos',
|
||||
url: '/payments',
|
||||
icon: ShoppingCartIcon
|
||||
}
|
||||
],
|
||||
@@ -44,12 +52,12 @@ const data = {
|
||||
title: 'Gestores',
|
||||
url: '/admins',
|
||||
icon: ShieldUserIcon
|
||||
},
|
||||
{
|
||||
title: 'Importações',
|
||||
url: '/batch',
|
||||
icon: UploadIcon
|
||||
}
|
||||
// {
|
||||
// title: 'Importações',
|
||||
// url: '/batch',
|
||||
// icon: UploadIcon
|
||||
// }
|
||||
],
|
||||
navEnrollment: [
|
||||
{
|
||||
@@ -57,11 +65,11 @@ const data = {
|
||||
url: '/enrollments',
|
||||
icon: GraduationCap
|
||||
},
|
||||
{
|
||||
title: 'Certificações',
|
||||
url: '/certs',
|
||||
icon: FileBadgeIcon
|
||||
},
|
||||
// {
|
||||
// title: 'Certificações',
|
||||
// url: '/certs',
|
||||
// icon: FileBadgeIcon
|
||||
// },
|
||||
{
|
||||
title: 'Agendamentos',
|
||||
url: '/scheduled',
|
||||
|
||||
@@ -25,6 +25,7 @@ export function NavMain({
|
||||
}: {
|
||||
data: {
|
||||
navMain: NavItem[]
|
||||
navPayment: NavItem[]
|
||||
navUser: NavItem[]
|
||||
navEnrollment: NavItem[]
|
||||
}
|
||||
@@ -41,6 +42,17 @@ export function NavMain({
|
||||
</SidebarGroupContent>
|
||||
</SidebarGroup>
|
||||
|
||||
<SidebarGroup>
|
||||
<SidebarGroupContent>
|
||||
<SidebarMenu>
|
||||
<SidebarGroupLabel>Financeiro</SidebarGroupLabel>
|
||||
{data.navPayment.map((props, idx) => (
|
||||
<SidebarMenuItemLink key={idx} {...props} />
|
||||
))}
|
||||
</SidebarMenu>
|
||||
</SidebarGroupContent>
|
||||
</SidebarGroup>
|
||||
|
||||
<SidebarGroup>
|
||||
<SidebarGroupContent>
|
||||
<SidebarMenu>
|
||||
|
||||
Reference in New Issue
Block a user