fix: scheduled the eval event creation

This commit is contained in:
Jannat Patel
2023-07-24 17:10:03 +05:30
parent 7990675c5c
commit bc8827547e
6 changed files with 91 additions and 52 deletions

View File

@@ -107,6 +107,7 @@ const submit_evaluation_form = (values) => {
frappe.throw(__("Please select a slot"));
}
this.eval_form.hide();
frappe.call({
method: "lms.lms.doctype.lms_certificate_request.lms_certificate_request.create_certificate_request",
args: {
@@ -122,7 +123,6 @@ const submit_evaluation_form = (values) => {
message: __("Evaluation scheduled successfully"),
indicator: "green",
});
this.eval_form.hide();
setTimeout(() => {
window.location.reload();
}, 1000);