Skip to content

Commit

Permalink
Merge pull request #32031 from frappe/mergify/bp/version-13-hotfix/pr…
Browse files Browse the repository at this point in the history
…-32030

fix: Loan Interest accruals for 0 rated loans (backport #32030)
  • Loading branch information
deepeshgarg007 authored Aug 31, 2022
2 parents b736df3 + b7c94e3 commit 0a3ac82
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +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 rs.principal_amount > 0
AND l.status = 'Disbursed'
ORDER BY rs.payment_date""".format(
condition
Expand Down

0 comments on commit 0a3ac82

Please sign in to comment.