mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-17 09:17:15 +00:00
fix: Add unaccrued interest in interest amount for loan closure
This commit is contained in:
@@ -389,6 +389,7 @@ def calculate_amounts(against_loan, posting_date, payment_type=''):
|
||||
|
||||
if payment_type == 'Loan Closure':
|
||||
amounts['payable_amount'] += amounts['unaccrued_interest']
|
||||
amounts['interest_amount'] += amounts['unaccrued_interest']
|
||||
|
||||
return amounts
|
||||
|
||||
|
||||
Reference in New Issue
Block a user