[FIX] ATTENDANCE: Attendance dashboard department overtime issue

This commit is contained in:
Horilla
2024-01-29 11:46:39 +05:30
parent 93d3256dc4
commit 7e6a8686b3

View File

@@ -5,8 +5,8 @@ $(document).ready(function () {
labels: [],
datasets: [],
};
window["departmentOvertimeChart"] = {};
const departmentOvertimeChart = document.getElementById("departmentOvertimeChart");
window["departmentOverChart"] = {};
const departmentOvertimeChart = document.getElementById("departmentOverChart");
var departmentAttendanceChart = new Chart(departmentOvertimeChart, {
type: "pie",
data: departmentChartData,