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:
2026-04-01 20:13:34 +00:00
parent 6558e289f3
commit b887f0c032
4 changed files with 29 additions and 29 deletions

View File

@@ -1321,7 +1321,7 @@
Catálogo
</a>
<a href="#" class="nav-link">
<a href="/pos/inventory" class="nav-link">
<span class="nav-link__icon">
<svg width="16" height="16" viewBox="0 0 16 16" fill="none">
<rect x="1" y="3" width="14" height="10" rx="1.5" stroke="currentColor" stroke-width="1.5"/>
@@ -1334,7 +1334,7 @@
<div class="sidebar__section-label">Ventas</div>
<a href="#" class="nav-link">
<a href="/pos/customers" class="nav-link">
<span class="nav-link__icon">
<svg width="16" height="16" viewBox="0 0 16 16" fill="none">
<circle cx="7" cy="6" r="4" stroke="currentColor" stroke-width="1.5"/>
@@ -1344,7 +1344,7 @@
Clientes
</a>
<a href="#" class="nav-link">
<a href="/pos/invoicing" class="nav-link">
<span class="nav-link__icon">
<svg width="16" height="16" viewBox="0 0 16 16" fill="none">
<path d="M3 2h10a1 1 0 011 1v10a1 1 0 01-1 1H3a1 1 0 01-1-1V3a1 1 0 011-1z" stroke="currentColor" stroke-width="1.5"/>
@@ -1354,7 +1354,7 @@
Facturación
</a>
<a href="#" class="nav-link">
<a href="/pos/accounting" class="nav-link">
<span class="nav-link__icon">
<svg width="16" height="16" viewBox="0 0 16 16" fill="none">
<path d="M8 1v14M11 4H6.5a2.5 2.5 0 000 5H9.5a2.5 2.5 0 010 5H4" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>
@@ -1365,7 +1365,7 @@
<div class="sidebar__section-label">Análisis</div>
<a href="#" class="nav-link">
<a href="/pos/reports" class="nav-link">
<span class="nav-link__icon">
<svg width="16" height="16" viewBox="0 0 16 16" fill="none">
<path d="M2 13L5 9l3 2 3-5 3 3" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
@@ -1377,7 +1377,7 @@
<div class="sidebar__section-label">Sistema</div>
<a href="#" class="nav-link">
<a href="/pos/config" class="nav-link">
<span class="nav-link__icon">
<svg width="16" height="16" viewBox="0 0 16 16" fill="none">
<circle cx="8" cy="8" r="2" stroke="currentColor" stroke-width="1.4"/>