From b23edc39b39c3e1aaecbab25435c4daf402ed054 Mon Sep 17 00:00:00 2001 From: morgane Date: Thu, 18 Jun 2026 16:13:13 +0000 Subject: [PATCH] Actualiser assets/js/app.js --- assets/js/app.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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,