Actualización de la barra de menú
This commit is contained in:
parent
fb7d3f7043
commit
288b134ec8
@ -1,24 +1,13 @@
|
|||||||
import type { LucideIcon } from "lucide-react";
|
import type { LucideIcon } from "lucide-react";
|
||||||
import {
|
import {
|
||||||
BanknoteIcon,
|
|
||||||
BarChart3Icon,
|
|
||||||
HistoryIcon,
|
|
||||||
BoxesIcon,
|
|
||||||
ClipboardListIcon,
|
|
||||||
CreditCardIcon,
|
|
||||||
FileTextIcon,
|
FileTextIcon,
|
||||||
|
HistoryIcon,
|
||||||
HouseIcon,
|
HouseIcon,
|
||||||
LandmarkIcon,
|
|
||||||
PackageIcon,
|
|
||||||
ReceiptIcon,
|
ReceiptIcon,
|
||||||
RefreshCcwIcon,
|
|
||||||
ShoppingCartIcon,
|
|
||||||
SlidersHorizontalIcon,
|
|
||||||
SettingsIcon,
|
SettingsIcon,
|
||||||
ShieldCheckIcon,
|
ShieldCheckIcon,
|
||||||
TruckIcon,
|
TruckIcon,
|
||||||
UsersIcon,
|
UsersIcon,
|
||||||
WarehouseIcon,
|
|
||||||
} from "lucide-react";
|
} from "lucide-react";
|
||||||
|
|
||||||
export interface AppSidebarNavItem {
|
export interface AppSidebarNavItem {
|
||||||
@ -38,6 +27,66 @@ export interface AppSidebarNavSection {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export const appSidebarNavSections: AppSidebarNavSection[] = [
|
export const appSidebarNavSections: AppSidebarNavSection[] = [
|
||||||
|
{
|
||||||
|
title: "Ventas",
|
||||||
|
accent: "blue",
|
||||||
|
items: [
|
||||||
|
{ title: "Inicio", href: "/dashboard", icon: HouseIcon, exact: true },
|
||||||
|
{
|
||||||
|
title: "Proformas",
|
||||||
|
href: "/proformas",
|
||||||
|
icon: FileTextIcon,
|
||||||
|
items: [
|
||||||
|
{ title: "Proformas", href: "/proformas", icon: FileTextIcon, exact: true },
|
||||||
|
{
|
||||||
|
title: "Archivadas",
|
||||||
|
href: "/proformas/archived",
|
||||||
|
icon: FileTextIcon,
|
||||||
|
exact: true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "Eliminadas",
|
||||||
|
href: "/proformas/deleted",
|
||||||
|
icon: FileTextIcon,
|
||||||
|
exact: true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "Nueva proforma",
|
||||||
|
href: "/proformas/create",
|
||||||
|
icon: FileTextIcon,
|
||||||
|
exact: true,
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{ title: "Clientes", href: "/customers", icon: UsersIcon },
|
||||||
|
{ title: "Facturación", href: "/customer-invoices", icon: ReceiptIcon },
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "Compras",
|
||||||
|
accent: "green",
|
||||||
|
items: [{ title: "Proveedores", href: "/suppliers", icon: TruckIcon }],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "Sistema",
|
||||||
|
accent: "violet",
|
||||||
|
items: [{ title: "Auditoría", href: "/audit", icon: HistoryIcon }],
|
||||||
|
},
|
||||||
|
];
|
||||||
|
|
||||||
|
export interface AppSidebarSettingsItem {
|
||||||
|
title: string;
|
||||||
|
href: string;
|
||||||
|
icon: LucideIcon;
|
||||||
|
}
|
||||||
|
|
||||||
|
export const appSidebarSettingsItems: AppSidebarSettingsItem[] = [
|
||||||
|
{ title: "Configuración", href: "/settings", icon: SettingsIcon },
|
||||||
|
{ title: "Verifactu", href: "/settings/billing/verifactu", icon: ShieldCheckIcon },
|
||||||
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* export const appSidebarNavSections: AppSidebarNavSection[] = [
|
||||||
{
|
{
|
||||||
title: "Ventas",
|
title: "Ventas",
|
||||||
accent: "blue",
|
accent: "blue",
|
||||||
@ -115,13 +164,4 @@ export const appSidebarNavSections: AppSidebarNavSection[] = [
|
|||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
export interface AppSidebarSettingsItem {
|
*/
|
||||||
title: string;
|
|
||||||
href: string;
|
|
||||||
icon: LucideIcon;
|
|
||||||
}
|
|
||||||
|
|
||||||
export const appSidebarSettingsItems: AppSidebarSettingsItem[] = [
|
|
||||||
{ title: "Configuración", href: "/settings", icon: SettingsIcon },
|
|
||||||
{ title: "Verifactu", href: "/settings/billing/verifactu", icon: ShieldCheckIcon },
|
|
||||||
];
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user