fix: set email sent in batch enrollment

This commit is contained in:
Jannat Patel
2025-02-12 13:34:28 +05:30
parent 76af3921dd
commit ea7b803905

View File

@@ -74,6 +74,7 @@ def send_confirmation_email(doc):
send_mail(doc)
frappe.db.set_value(doc.doctype, doc.name, "confirmation_email_sent", 1)
def send_mail(doc):
subject = _("Enrollment Confirmation for the Next Training Batch")
template = "batch_confirmation"