feat: cerificate price

This commit is contained in:
Jannat Patel
2022-04-07 12:57:42 +05:30
parent dcaccaca35
commit cdfad8cc67
15 changed files with 154 additions and 70 deletions

View File

@@ -9,7 +9,7 @@ def get_common_context(context):
batch_name = None
course = frappe.db.get_value("LMS Course",
frappe.form_dict["course"], ["name", "title", "video_link"], as_dict=True)
frappe.form_dict["course"], ["name", "title", "video_link", "enable_certification"], as_dict=True)
if not course:
context.template = "www/404.html"
return