mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-29 03:28:32 +00:00
feat: more info for payment deductions
This commit is contained in:
@@ -1555,7 +1555,10 @@ def get_payment_entry(dt, dn, party_amount=None, bank_account=None, bank_amount=
|
||||
})
|
||||
|
||||
pe.append("deductions", {
|
||||
"amount": doc.dunning_amount
|
||||
"account": doc.income_account,
|
||||
"cost_center": doc.cost_center,
|
||||
"amount": doc.dunning_amount,
|
||||
"description": _("Interest and/or dunning fee")
|
||||
})
|
||||
else:
|
||||
pe.append("references", {
|
||||
|
||||
Reference in New Issue
Block a user