diff --git a/myproject/pos/static/pos/js/terminal.js b/myproject/pos/static/pos/js/terminal.js index d7963fa..14e2bf8 100644 --- a/myproject/pos/static/pos/js/terminal.js +++ b/myproject/pos/static/pos/js/terminal.js @@ -1990,7 +1990,12 @@ function actualizeKitPrices() { } }); - // Перерисовываем товары и пересчитываем цену + // Отключаем чекбокс "Установить свою цену" чтобы использовать актуализированную цену + document.getElementById('useSalePrice').checked = false; + document.getElementById('salePrice').value = ''; + document.getElementById('salePriceBlock').style.display = 'none'; + + // Перерисовываем товары и пересчитываем цену (после отключения чекбокса!) renderTempKitItems(); updatePriceCalculations();