fix(pos): corregir enlaces de navegacion en todas las paginas

Reemplaza enlaces del design system (dashboard.html, pos.html, etc.)
con rutas reales del POS (/pos/dashboard, /pos/sale, etc.).
Limpia archivos backup.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-01 07:52:03 +00:00
parent 0112b7dca4
commit 6ec3a90d57
10 changed files with 43 additions and 3558 deletions

View File

@@ -1590,7 +1590,7 @@
<nav class="sidebar__nav">
<div class="nav-section-label">Principal</div>
<a href="dashboard.html" class="nav-item">
<a href="/pos/dashboard" class="nav-item">
<svg class="nav-item__icon" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5">
<rect x="1" y="1" width="7" height="7" rx="1"/><rect x="10" y="1" width="7" height="7" rx="1"/>
<rect x="1" y="10" width="7" height="7" rx="1"/><rect x="10" y="10" width="7" height="7" rx="1"/>
@@ -1598,7 +1598,7 @@
<span>Dashboard</span>
</a>
<a href="pos.html" class="nav-item">
<a href="/pos/sale" class="nav-item">
<svg class="nav-item__icon" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5">
<rect x="1" y="3" width="16" height="12" rx="1"/><line x1="1" y1="7" x2="17" y2="7"/>
<line x1="6" y1="7" x2="6" y2="15"/>
@@ -1606,7 +1606,7 @@
<span>POS</span>
</a>
<a href="catalogo.html" class="nav-item">
<a href="/pos/catalog" class="nav-item">
<svg class="nav-item__icon" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5">
<rect x="2" y="2" width="14" height="14" rx="1"/><line x1="6" y1="6" x2="12" y2="6"/>
<line x1="6" y1="9" x2="12" y2="9"/><line x1="6" y1="12" x2="10" y2="12"/>
@@ -1614,7 +1614,7 @@
<span>Catálogo</span>
</a>
<a href="inventario.html" class="nav-item">
<a href="/pos/inventory" class="nav-item">
<svg class="nav-item__icon" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5">
<rect x="1" y="5" width="16" height="11" rx="1"/><path d="M5 5V4a4 4 0 018 0v1"/>
<line x1="9" y1="9" x2="9" y2="12"/>
@@ -1624,14 +1624,14 @@
<div class="nav-section-label">Gestión</div>
<a href="clientes.html" class="nav-item">
<a href="/pos/customers" class="nav-item">
<svg class="nav-item__icon" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5">
<circle cx="9" cy="6" r="3"/><path d="M3 15c0-3.314 2.686-6 6-6s6 2.686 6 6"/>
</svg>
<span>Clientes</span>
</a>
<a href="facturacion.html" class="nav-item">
<a href="/pos/invoicing" class="nav-item">
<svg class="nav-item__icon" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5">
<rect x="3" y="1" width="12" height="16" rx="1"/><line x1="6" y1="6" x2="12" y2="6"/>
<line x1="6" y1="9" x2="12" y2="9"/><line x1="6" y1="12" x2="9" y2="12"/>
@@ -1639,14 +1639,14 @@
<span>Facturación</span>
</a>
<a href="contabilidad.html" class="nav-item">
<a href="/pos/accounting" class="nav-item">
<svg class="nav-item__icon" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5">
<path d="M9 2v14M2 9h14"/><circle cx="9" cy="9" r="7"/>
</svg>
<span>Contabilidad</span>
</a>
<a href="reportes.html" class="nav-item is-active">
<a href="/pos/reports" class="nav-item is-active">
<svg class="nav-item__icon" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5">
<rect x="1" y="1" width="16" height="16" rx="1"/>
<line x1="5" y1="13" x2="5" y2="9"/><line x1="9" y1="13" x2="9" y2="6"/>
@@ -1657,7 +1657,7 @@
<div class="nav-section-label">Sistema</div>
<a href="configuracion.html" class="nav-item">
<a href="/pos/config" class="nav-item">
<svg class="nav-item__icon" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5">
<circle cx="9" cy="9" r="2.5"/>
<path d="M9 1v2M9 15v2M1 9h2M15 9h2M3.22 3.22l1.42 1.42M13.36 13.36l1.42 1.42M3.22 14.78l1.42-1.42M13.36 4.64l1.42-1.42"/>