I want to add progress bar but after adding progress bar it is not hiding.
function getAttendancePercentage() {
frappe.show_progress('Loading..', 70, 100, 'Please wait');
frappe.call({
method: "test.test.page.report.getData",
callback: function (res) {
frappe.show_progress('Loading..', 100, 100, 'Please wait');
}
});
}
}