fix: term loan interest calculation

This commit is contained in:
Abhinav Raut 2022-08-08 17:35:31 +05:30
parent 9ef8d5c5c3
commit 534d7ce64b

View File

@ -236,6 +236,7 @@ def get_term_loans(date, term_loan=None, loan_type=None):
AND l.is_term_loan =1
AND rs.payment_date <= %s
AND rs.is_accrued=0 {0}
AND rs.interest_amount > 0
AND l.status = 'Disbursed'
ORDER BY rs.payment_date""".format(
condition