Skip to content

Commit

Permalink
fix: lia
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhinav Raut committed Jun 14, 2023
1 parent 4820221 commit 6c45246
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -293,9 +293,9 @@ def get_last_accrual_date(loan, posting_date):
# interest for last interest accrual date is already booked, so add 1 day
last_disbursement_date = get_last_disbursement_date(loan, posting_date)

if last_disbursement_date and getdate(last_disbursement_date) > getdate(
if last_disbursement_date and getdate(last_disbursement_date) > add_days(getdate(
last_interest_accrual_date
):
), 1):
last_interest_accrual_date = last_disbursement_date

return add_days(last_interest_accrual_date, 1)
Expand Down

0 comments on commit 6c45246

Please sign in to comment.