chore: Linting Issues

(cherry picked from commit 0bac030ca7)
This commit is contained in:
Deepesh Garg
2022-07-11 22:04:52 +05:30
committed by Mergify
parent c2a7dc7754
commit 0b3958d692

View File

@@ -35,7 +35,7 @@ class LoanRefund(AccountsController):
excess_amount = pending_amount * -1
if self.refund_amount > excess_amount:
frappe.throw(_("Refund amount cannot be greater than excess amount {}".format(excess_amount)))
frappe.throw(_("Refund amount cannot be greater than excess amount {0}").format(excess_amount))
def on_submit(self):
self.update_outstanding_amount()