Skip to content

Commit

Permalink
feat: add display reference document
Browse files Browse the repository at this point in the history
  • Loading branch information
blaggacao committed Aug 13, 2024
1 parent aa0a77a commit 9b61ba7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions erpnext/accounts/doctype/payment_request/payment_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,8 @@ def get_tx_data(self):
"currency": self.currency,
"reference_doctype": self.doctype,
"reference_docname": self.name,
"display_reference_doctype": ref_doc.doctype,
"display_reference_docname": ref_doc.name,
"payer_contact": contact,
"payer_address": address,
"loyalty_points": loyalty_points,
Expand Down

0 comments on commit 9b61ba7

Please sign in to comment.