fix: patches

This commit is contained in:
Jannat Patel
2023-09-13 15:10:52 +05:30
parent c4ab91a565
commit 82b8853f39
3 changed files with 3 additions and 0 deletions

View File

@@ -2,6 +2,7 @@ import frappe
def execute(): def execute():
frappe.reload_doc("lms", "doctype", "lms_batch")
batches = frappe.get_all("LMS Batch", pluck="name") batches = frappe.get_all("LMS Batch", pluck="name")
for batch in batches: for batch in batches:

View File

@@ -2,6 +2,7 @@ import frappe
def execute(): def execute():
frappe.reload_doc("lms", "doctype", "lms_certificate")
certificates = frappe.get_all("LMS Certificate", pluck="name") certificates = frappe.get_all("LMS Certificate", pluck="name")
for certificate in certificates: for certificate in certificates:

View File

@@ -46,6 +46,7 @@
{{ course }} {{ course }}
</div> </div>
{% endfor %} {% endfor %}
<a class="stretched-link" href="/users/{{ participant.username }}"></a>
</div> </div>
{% endfor %} {% endfor %}
</article> </article>