From 288b134ec824b6d0c0193e053ed91fb6ec7da73d Mon Sep 17 00:00:00 2001 From: david Date: Mon, 31 Aug 2026 12:11:59 +0200 Subject: [PATCH] =?UTF-8?q?Actualizaci=C3=B3n=20de=20la=20barra=20de=20men?= =?UTF-8?q?=C3=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web/src/layout/app-sidebar.config.ts | 84 +++++++++++++++++------ 1 file changed, 62 insertions(+), 22 deletions(-) diff --git a/apps/web/src/layout/app-sidebar.config.ts b/apps/web/src/layout/app-sidebar.config.ts index 9df13f5b..ecc56a47 100644 --- a/apps/web/src/layout/app-sidebar.config.ts +++ b/apps/web/src/layout/app-sidebar.config.ts @@ -1,24 +1,13 @@ import type { LucideIcon } from "lucide-react"; import { - BanknoteIcon, - BarChart3Icon, - HistoryIcon, - BoxesIcon, - ClipboardListIcon, - CreditCardIcon, FileTextIcon, + HistoryIcon, HouseIcon, - LandmarkIcon, - PackageIcon, ReceiptIcon, - RefreshCcwIcon, - ShoppingCartIcon, - SlidersHorizontalIcon, SettingsIcon, ShieldCheckIcon, TruckIcon, UsersIcon, - WarehouseIcon, } from "lucide-react"; export interface AppSidebarNavItem { @@ -38,6 +27,66 @@ export interface 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", 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 }, -]; + */