corrected interest charges on 3 months loan and made loan schedule active by default

This commit was merged in pull request #65.
This commit is contained in:
Chinenye Nmoh
2026-01-29 22:11:59 +01:00
parent f6f8e369c4
commit 5c8ffc5bbc
4 changed files with 49 additions and 11 deletions
+6 -1
View File
@@ -32,7 +32,12 @@ class LoanRepaymentScheduleService:
Update repayment schedule status.
"""
return LoanRepaymentSchedule.update_repayment_schedule_status(schedule_id)
@classmethod
def update_repayment_schedule_status_to_active(cls, schedule_id):
"""
Update repayment schedule status.
"""
return LoanRepaymentSchedule.update_repayment_schedule_status_to_active(schedule_id)
@classmethod
def update_repayment_schedule_balance(cls, schedule_id, amount_collected):
"""