Skip to content

Commit 66f19d0

Browse files
committed
chore: resolved conflicts
2 parents 987b655 + daf2d28 commit 66f19d0

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lms/lms/doctype/lms_batch_enrollment/lms_batch_enrollment.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ def validate_payment(self):
4444
)
4545
if not payment:
4646
frappe.throw(_("Payment is required to enroll in this batch."))
47+
else:
48+
self.payment = payment
4749

4850
def validate_self_enrollment(self):
4951
batch_details = frappe.db.get_value(

0 commit comments

Comments
 (0)