added direct loan and repayment endpoint
This commit was merged in pull request #46.
This commit is contained in:
+1
-1
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user