{# aria-label is the accessible name screen readers announce; #}
{# title= is kept as the mouse-hover tooltip for sighted users. #}
-
@@ -3596,14 +3599,16 @@ document.addEventListener('DOMContentLoaded', function() {
// === ADJUSTMENTS TAB — bulk select + delete ===
// The per-row checkboxes come from _adjustment_row.html (class
// .adj-bulk-checkbox on unpaid rows only; disabled dummy checkbox on
- // paid rows for visual alignment). The header has an #adjSelectAll
- // that toggles all visible unpaid checkboxes. A floating action bar
- // (#adjBulkBar) appears when >=1 row is selected.
+ // paid rows for visual alignment). The header has #adjTableSelectAll
+ // (renamed from #adjSelectAll to avoid a duplicate-id collision with
+ // the Add-Adjustment modal's own Select-All anchor) that toggles all
+ // visible unpaid checkboxes. A floating action bar (#adjBulkBar)
+ // appears when >=1 row is selected.
var bulkBar = document.getElementById('adjBulkBar');
var bulkCount = document.getElementById('adjBulkCount');
var bulkDeleteBtn = document.getElementById('adjBulkDeleteBtn');
var bulkClearBtn = document.getElementById('adjBulkClearBtn');
- var selectAll = document.getElementById('adjSelectAll');
+ var selectAll = document.getElementById('adjTableSelectAll');
// CSRF via cookie — Django middleware sets this cookie on GET requests.
function getCookie(name) {