From 04d8b0938d233e68f52c23a59a0ea1b4d19683f5 Mon Sep 17 00:00:00 2001 From: Horilla Date: Tue, 7 Nov 2023 14:43:12 +0530 Subject: [PATCH] [FIX] PAYROLL: Status bulk update selected id not changing issue --- payroll/templates/payroll/payslip/view_payslips.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/payroll/templates/payroll/payslip/view_payslips.html b/payroll/templates/payroll/payslip/view_payslips.html index fb2129285..5f2cbb99f 100644 --- a/payroll/templates/payroll/payslip/view_payslips.html +++ b/payroll/templates/payroll/payslip/view_payslips.html @@ -321,13 +321,12 @@ url: '{% url "payslip-status-update-no-id" %}', data: { csrfmiddlewaretoken: getCookie("csrftoken"), - ids: JSON.stringify(ids), + ids: $("#selectedPayslip").attr("data-ids"), status: status, }, success: function (response) { if (containerId == undefined) { allSelectedElements - .parent() .parent() .parent() .attr("class", `oh-sticky-table__sd row-status--${color}`);