feat(inventory): show ID column, add quick-entry button, improve purchase UX

- Add ID column to stock table header and renderInventoryRow
- Add 'Entrada' button on each stock row to open purchase modal pre-filled
- Show inventory ID in product detail popup
- recordPurchase: close modal, clear form, reload stats and stock list on success
- Fix colspan 11 -> 12 for empty state rows
This commit is contained in:
2026-05-18 05:31:34 +00:00
parent 6196234d8b
commit bfa7bc2997
2 changed files with 23 additions and 5 deletions

View File

@@ -317,6 +317,7 @@
<table class="data-table" id="stockTable">
<thead>
<tr>
<th style="font-size:var(--text-caption);color:var(--color-text-muted);">ID</th>
<th>Barcode</th>
<th>No. Parte</th>
<th>Nombre</th>