chore: renamed lms certification to lms certificate

This commit is contained in:
Jannat Patel
2022-04-01 18:56:57 +05:30
parent e70c3ef939
commit ebfa49ed8e
14 changed files with 76 additions and 41 deletions

View File

@@ -9,7 +9,7 @@ def get_context(context):
except KeyError:
redirect_to_course_list()
context.certificate = frappe.db.get_value("LMS Certification", certificate_name,
context.certificate = frappe.db.get_value("LMS Certificate", certificate_name,
["name", "student", "issue_date", "expiry_date", "course"], as_dict=True)
if context.certificate.course != course_name: