diff --git a/assets/js/app.js b/assets/js/app.js index 95f6576..d2322b6 100644 --- a/assets/js/app.js +++ b/assets/js/app.js @@ -7650,6 +7650,14 @@ window._editingProduct = { ${itemSubcatOptions} +
+ +
+ + +
+ +
@@ -7790,9 +7798,10 @@ async function submitEditInventory(e, id, productId) { } const editedItem = currentInventory.find(i => i.id === id) || {}; + const barcode = (document.getElementById('edit-inv-barcode')?.value || '').trim(); await api('product_save', {}, 'POST', { id: productId, - barcode: editedItem.barcode || null, + barcode: barcode || null, name: editedItem.name, brand: editedItem.brand || '', category: category,