fix(pos): arreglar 29 enlaces rotos del sidebar en todas las paginas
Reemplazados todos los href="#" en nav-items y nav-links con las rutas reales (/pos/dashboard, /pos/sale, /pos/catalog, etc.) en catalog, inventory, customers, dashboard, config, reports. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1659,52 +1659,52 @@
|
||||
<nav class="sidebar__nav">
|
||||
<div class="nav-section-label">Principal</div>
|
||||
|
||||
<a class="nav-item" href="#" role="menuitem">
|
||||
<a class="nav-item" href="/pos/dashboard" role="menuitem">
|
||||
<svg class="nav-item__icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><rect x="3" y="3" width="7" height="7" rx="1"/><rect x="14" y="3" width="7" height="7" rx="1"/><rect x="3" y="14" width="7" height="7" rx="1"/><rect x="14" y="14" width="7" height="7" rx="1"/></svg>
|
||||
Dashboard
|
||||
</a>
|
||||
|
||||
<a class="nav-item" href="#" role="menuitem">
|
||||
<a class="nav-item" href="/pos/sale" role="menuitem">
|
||||
<svg class="nav-item__icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><path d="M6 2L3 6v14a2 2 0 002 2h14a2 2 0 002-2V6l-3-4z"/><path d="M3 6h18"/><path d="M16 10a4 4 0 01-8 0"/></svg>
|
||||
Punto de Venta
|
||||
</a>
|
||||
|
||||
<a class="nav-item" href="#" role="menuitem">
|
||||
<a class="nav-item" href="/pos/inventory" role="menuitem">
|
||||
<svg class="nav-item__icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><path d="M21 16V8a2 2 0 00-1-1.73l-7-4a2 2 0 00-2 0l-7 4A2 2 0 003 8v8a2 2 0 001 1.73l7 4a2 2 0 002 0l7-4A2 2 0 0021 16z"/></svg>
|
||||
Inventario
|
||||
<span class="nav-item__badge">12</span>
|
||||
</a>
|
||||
|
||||
<a class="nav-item is-active" href="#" role="menuitem" aria-current="page">
|
||||
<a class="nav-item is-active" href="/pos/catalog" role="menuitem" aria-current="page">
|
||||
<svg class="nav-item__icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><rect x="3" y="3" width="18" height="18" rx="2"/><path d="M8 7h8M8 12h8M8 17h5"/></svg>
|
||||
Catálogo
|
||||
</a>
|
||||
|
||||
<div class="nav-section-label" style="margin-top: var(--space-2);">Gestión</div>
|
||||
|
||||
<a class="nav-item" href="#" role="menuitem">
|
||||
<a class="nav-item" href="/pos/customers" role="menuitem">
|
||||
<svg class="nav-item__icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><path d="M17 21v-2a4 4 0 00-4-4H5a4 4 0 00-4 4v2"/><circle cx="9" cy="7" r="4"/><path d="M23 21v-2a4 4 0 00-3-3.87"/><path d="M16 3.13a4 4 0 010 7.75"/></svg>
|
||||
Clientes
|
||||
</a>
|
||||
|
||||
<a class="nav-item" href="#" role="menuitem">
|
||||
<a class="nav-item" href="/pos/invoicing" role="menuitem">
|
||||
<svg class="nav-item__icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><path d="M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8z"/><polyline points="14,2 14,8 20,8"/><line x1="16" y1="13" x2="8" y2="13"/><line x1="16" y1="17" x2="8" y2="17"/><polyline points="10,9 9,9 8,9"/></svg>
|
||||
Facturación
|
||||
</a>
|
||||
|
||||
<a class="nav-item" href="#" role="menuitem">
|
||||
<a class="nav-item" href="/pos/accounting" role="menuitem">
|
||||
<svg class="nav-item__icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><line x1="12" y1="1" x2="12" y2="23"/><path d="M17 5H9.5a3.5 3.5 0 000 7h5a3.5 3.5 0 010 7H6"/></svg>
|
||||
Contabilidad
|
||||
</a>
|
||||
|
||||
<a class="nav-item" href="#" role="menuitem">
|
||||
<a class="nav-item" href="/pos/reports" role="menuitem">
|
||||
<svg class="nav-item__icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><polyline points="22,12 18,12 15,21 9,3 6,12 2,12"/></svg>
|
||||
Reportes
|
||||
</a>
|
||||
|
||||
<div class="nav-section-label" style="margin-top: var(--space-2);">Sistema</div>
|
||||
|
||||
<a class="nav-item" href="#" role="menuitem">
|
||||
<a class="nav-item" href="/pos/config" role="menuitem">
|
||||
<svg class="nav-item__icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true"><circle cx="12" cy="12" r="3"/><path d="M19.07 4.93l-1.41 1.41M6.34 17.66l-1.41 1.41M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M12 2v2M12 20v2M2 12h2M20 12h2"/></svg>
|
||||
Configuración
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user