feat: certified participants page

This commit is contained in:
Jannat Patel
2023-09-13 13:07:20 +05:30
parent 87e5096f5d
commit c4ab91a565
7 changed files with 93 additions and 12 deletions

View File

@@ -0,0 +1,8 @@
import frappe
def execute():
certificates = frappe.get_all("LMS Certificate", pluck="name")
for certificate in certificates:
frappe.db.set_value("LMS Certificate", certificate, "published", 1)