diff --git a/src/PowderCoating.Web/Views/Inventory/_InventoryColorFamilyScripts.cshtml b/src/PowderCoating.Web/Views/Inventory/_InventoryColorFamilyScripts.cshtml index 4dba788..8ae5547 100644 --- a/src/PowderCoating.Web/Views/Inventory/_InventoryColorFamilyScripts.cshtml +++ b/src/PowderCoating.Web/Views/Inventory/_InventoryColorFamilyScripts.cshtml @@ -37,6 +37,7 @@ const categorySelect = document.getElementById('field-category'); const coatingSection = document.getElementById('coating-specs-section'); const smartLookupBtn = document.getElementById('smart-lookup-btn'); + const scanLabelBtn = document.getElementById('scan-label-btn'); let coatingMap = {}; if (categorySelect && categorySelect.dataset.coatingMap) { @@ -54,6 +55,7 @@ const show = isCoatingCategory(catId); if (coatingSection) coatingSection.style.display = show ? '' : 'none'; if (smartLookupBtn) smartLookupBtn.style.display = show ? '' : 'none'; + if (scanLabelBtn) scanLabelBtn.style.display = show ? '' : 'none'; const samplePanelSection = document.getElementById('sample-panel-section'); if (samplePanelSection) samplePanelSection.style.display = show ? '' : 'none'; coatingOnlyFields.forEach(id => {