mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 00:14:50 +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':
|
if payment_type == 'Loan Closure':
|
||||||
amounts['payable_amount'] += amounts['unaccrued_interest']
|
amounts['payable_amount'] += amounts['unaccrued_interest']
|
||||||
|
amounts['interest_amount'] += amounts['unaccrued_interest']
|
||||||
|
|
||||||
return amounts
|
return amounts
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user