diff --git a/payroll/templates/payroll/payslip/group_by.html b/payroll/templates/payroll/payslip/group_by.html index d67db97e7..0e65de44a 100644 --- a/payroll/templates/payroll/payslip/group_by.html +++ b/payroll/templates/payroll/payslip/group_by.html @@ -71,8 +71,11 @@
@@ -98,7 +101,12 @@ type="checkbox" id="{{payslip.id}}" value="{{payslip.id}}" - onchange="highlightRow($(this))" + onchange=" + highlightRow($(this)); + if (!$(this).is(':checked')) { + $(this).closest('.oh-sticky-table').find('.group-select').prop('checked',false) + } + " class="oh-input payslip-checkbox oh-input__checkbox all-payslip-row" />