feat: store batch/course in LMS payment

This commit is contained in:
Hussain Nagaria
2023-10-17 23:18:43 +05:30
parent af9f4d4b1e
commit 230cca63f3
2 changed files with 17 additions and 1 deletions

View File

@@ -1028,6 +1028,8 @@ def record_payment(address, response, client, doctype, docname):
"amount_with_gst": payment_details["amount_with_gst"],
"gstin": address.gstin,
"pan": address.pan,
"payment_for_document_type": doctype,
"payment_for_document": docname,
}
)
payment_doc.save(ignore_permissions=True)