Implemented sales dashboard
This commit is contained in:
@@ -278,9 +278,12 @@
|
||||
<nav class="navbar navbar-expand-md sticky-top px-3 mb-3">
|
||||
<span class="navbar-brand">SekiPOS <small class="text-muted fw-normal"
|
||||
style="font-size:0.65rem;">v1.6</small></span>
|
||||
<div class="ms-3">
|
||||
<div class="ms-3 gap-2 d-flex">
|
||||
<a href="/checkout" class="btn btn-outline-primary btn-sm">
|
||||
<i class="bi bi-cart-fill me-1"></i>Ir a Caja
|
||||
<i class="bi bi-cart-fill me-1"></i>Caja
|
||||
</a>
|
||||
<a href="/sales" class="btn btn-outline-primary btn-sm">
|
||||
<i class="bi bi-receipt me-1"></i>Ventas
|
||||
</a>
|
||||
</div>
|
||||
<!-- Always-visible dropdown on the right -->
|
||||
@@ -664,7 +667,7 @@
|
||||
// Force integers here to nuke the decimals once and for all
|
||||
document.getElementById('form-price').value = p ? parseInt(p, 10) : '';
|
||||
document.getElementById('form-stock').value = stock ? parseInt(stock, 10) : 0;
|
||||
|
||||
|
||||
document.getElementById('form-unit-type').value = unit || 'unit';
|
||||
document.getElementById('form-image').value = i || '';
|
||||
document.getElementById('form-title').innerText = t;
|
||||
|
||||
Reference in New Issue
Block a user