added loop

This commit was merged in pull request #27.
This commit is contained in:
Chinenye Nmoh
2025-06-20 11:47:21 +01:00
parent 684833bd66
commit bcd9513a10
4 changed files with 19 additions and 9 deletions
+6
View File
@@ -8,6 +8,12 @@ class RepaymentService:
Get the repayment by transaction ID
"""
return Repayment.get_repayment_by_transaction_id(transaction_id)
@staticmethod
def get_repayment_by_id(id):
"""
Get the repayment by ID
"""
return Repayment.get_repayment_by_id(id)
@classmethod
def set_repay_date(cls, repayment_id, customer_id):