added direct loan and repayment endpoint

This commit was merged in pull request #46.
This commit is contained in:
Chinenye Nmoh
2025-09-11 08:38:22 +01:00
parent 97ae340965
commit eaa4529f44
3 changed files with 174 additions and 3 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ class Loan(db.Model):
@classmethod
def get_loan_by_loan_id(cls, loan_id):
return cls.query.filter_by(id=loan_id).first()
@classmethod
def set_disbursement_date(cls, loan_id, customer_id):
"""