fix: Add unaccrued interest in interest amount for loan closure
This commit is contained in:
parent
a034311b1b
commit
8c13fded17
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user