diff --git a/views/reports/index.php b/views/reports/index.php index 33dfc7e..9dd714b 100755 --- a/views/reports/index.php +++ b/views/reports/index.php @@ -416,6 +416,8 @@ document.addEventListener('DOMContentLoaded', function() { houseIndividualCheckboxes.forEach(cb => { cb.checked = isChecked; }); + // Limpiar estado intermedio cuando se marca/desmarca manualmente + houseAllCheckbox.indeterminate = false; }); houseIndividualCheckboxes.forEach(cb => { @@ -439,6 +441,8 @@ document.addEventListener('DOMContentLoaded', function() { conceptIndividualCheckboxes.forEach(cb => { cb.checked = isChecked; }); + // Limpiar estado intermedio cuando se marca/desmarca manualmente + conceptAllCheckbox.indeterminate = false; }); conceptIndividualCheckboxes.forEach(cb => {