Skip to content

Commit

Permalink
Merge pull request #294 from aerele/payment_request_party_name
Browse files Browse the repository at this point in the history
feat: add party name in payment request
  • Loading branch information
ruthra-kumar authored Oct 31, 2024
2 parents aa96af8 + 61fc7ef commit dc1469c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions education/education/doctype/fees/fees.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ frappe.ui.form.on('Fees', {
party_type: 'Student',
party: frm.doc.student,
recipient_id: frm.doc.contact_email,
party_name: frm.doc.student_name,
},
callback: function (r) {
if (!r.exc) {
Expand Down
1 change: 1 addition & 0 deletions education/education/doctype/fees/fees.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ def on_submit(self):
party=self.student,
dt="Fees",
dn=self.name,
party_name=self.student_name,
recipient_id=self.contact_email,
submit_doc=True,
use_dummy_message=True,
Expand Down

0 comments on commit dc1469c

Please sign in to comment.