fix: missing key in loan

(cherry picked from commit d0043bdbac)
This commit is contained in:
Abhinav Raut
2022-02-06 16:55:24 +05:30
committed by mergify-bot
parent 8cadc2668d
commit 9396143009

View File

@@ -126,7 +126,7 @@ class LoanRepayment(AccountsController):
def update_paid_amount(self):
loan = frappe.get_value("Loan", self.against_loan, ['total_amount_paid', 'total_principal_paid',
'status', 'is_secured_loan', 'total_payment', 'loan_amount', 'total_interest_payable',
'status', 'is_secured_loan', 'total_payment', 'loan_amount', 'disbursed_amount', 'total_interest_payable',
'written_off_amount'], as_dict=1)
loan.update({