added overdue loan methods

This commit was merged in pull request #61.
This commit is contained in:
Chinenye Nmoh
2025-11-24 16:52:43 +01:00
parent 38dbb32579
commit 1cbb55fae6
4 changed files with 48 additions and 5 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ class LoanService:
@classmethod
def set_disbursement_loan_description(cls,loan_id,description):
return Loan.set_disbursement_message(loan_id, result, description)
return Loan.set_disbursement_message(loan_id, description)
@classmethod
+6
View File
@@ -13,6 +13,12 @@ class LoanRepaymentScheduleService:
def get_overdue_repayment_schedule(cls):
return LoanRepaymentSchedule.get_overdue_repayment_schedule()
@classmethod
def get_active_overdue_repayment_schedule(cls):
return LoanRepaymentSchedule.get_active_overdue_repayment_schedule()
@classmethod
def get_partially_paid_overdue_repayment_schedule(cls):
return LoanRepaymentSchedule.get_partially_paid_overdue_repayment_schedule()
@classmethod
def get_repayment_schedule_by_id_and_transaction_id(cls, id, transaction_id):
return LoanRepaymentSchedule.get_repayment_schedule_by_id_and_transaction_id(id, transaction_id)