style: fix formatting
This commit is contained in:
@@ -16,7 +16,9 @@ def execute():
|
|||||||
)
|
)
|
||||||
|
|
||||||
for student in students:
|
for student in students:
|
||||||
if not frappe.db.exists("LMS Batch Enrollment", {"member": student.student, "batch": student.parent}):
|
if not frappe.db.exists(
|
||||||
|
"LMS Batch Enrollment", {"member": student.student, "batch": student.parent}
|
||||||
|
):
|
||||||
doc = frappe.new_doc("LMS Batch Enrollment")
|
doc = frappe.new_doc("LMS Batch Enrollment")
|
||||||
doc.member = student.student
|
doc.member = student.student
|
||||||
doc.member_name = student.student_name
|
doc.member_name = student.student_name
|
||||||
@@ -25,4 +27,4 @@ def execute():
|
|||||||
doc.source = student.source
|
doc.source = student.source
|
||||||
doc.batch = student.parent
|
doc.batch = student.parent
|
||||||
doc.confirmation_email_sent = student.confirmation_email_sent
|
doc.confirmation_email_sent = student.confirmation_email_sent
|
||||||
doc.save()
|
doc.save()
|
||||||
|
|||||||
Reference in New Issue
Block a user