fix(pos): habilitar botones de inventario — Nuevo Producto, Exportar, Sincronizar
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -444,6 +444,7 @@
|
|||||||
// =====================================================================
|
// =====================================================================
|
||||||
|
|
||||||
window._loadItems = function (p) { loadItems(p); };
|
window._loadItems = function (p) { loadItems(p); };
|
||||||
|
window.loadItems = function (p, q) { loadItems(p, q); };
|
||||||
window.viewHistory = viewHistory;
|
window.viewHistory = viewHistory;
|
||||||
window.closeHistoryModal = closeHistoryModal;
|
window.closeHistoryModal = closeHistoryModal;
|
||||||
window.showCreateModal = showCreateModal;
|
window.showCreateModal = showCreateModal;
|
||||||
|
|||||||
@@ -1466,17 +1466,17 @@
|
|||||||
<h1 class="page-header__title">Inventario</h1>
|
<h1 class="page-header__title">Inventario</h1>
|
||||||
</div>
|
</div>
|
||||||
<div class="page-header__actions">
|
<div class="page-header__actions">
|
||||||
<button class="btn btn--ghost">
|
<button class="btn btn--ghost" onclick="alert('Exportar: próximamente')">
|
||||||
<svg viewBox="0 0 24 24"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" y1="15" x2="12" y2="3"/></svg>
|
<svg viewBox="0 0 24 24"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" y1="15" x2="12" y2="3"/></svg>
|
||||||
Exportar
|
Exportar
|
||||||
</button>
|
</button>
|
||||||
<button class="btn btn--ghost">
|
<button class="btn btn--ghost" onclick="loadItems(1,'')">
|
||||||
<svg viewBox="0 0 24 24"><polyline points="23 4 23 10 17 10"/><path d="M20.49 15a9 9 0 1 1-.38-4.93"/></svg>
|
<svg viewBox="0 0 24 24"><polyline points="23 4 23 10 17 10"/><path d="M20.49 15a9 9 0 1 1-.38-4.93"/></svg>
|
||||||
Sincronizar
|
Sincronizar
|
||||||
</button>
|
</button>
|
||||||
<button class="btn btn--primary">
|
<button class="btn btn--primary" onclick="showCreateModal()">
|
||||||
<svg viewBox="0 0 24 24"><line x1="12" y1="5" x2="12" y2="19"/><line x1="5" y1="12" x2="19" y2="12"/></svg>
|
<svg viewBox="0 0 24 24"><line x1="12" y1="5" x2="12" y2="19"/><line x1="5" y1="12" x2="19" y2="12"/></svg>
|
||||||
Nuevo Movimiento
|
Nuevo Producto
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user