added verify date

This commit was merged in pull request #20.
This commit is contained in:
Chinenye Nmoh
2025-06-05 20:03:18 +01:00
parent 50769f7faf
commit b8a40bb638
4 changed files with 104 additions and 13 deletions
+12
View File
@@ -30,6 +30,12 @@ class LoanService:
Update the disbursement status of the loan with the given loan_id.
"""
return Loan.set_disbursement_date(loan_id, customer_id)
@classmethod
def set_disburse_verify_date(cls, loan_id, customer_id):
"""
Update the disburse verify date of the loan with the given loan_id.
"""
return Loan.set_disburse_verify_date(loan_id, customer_id)
@classmethod
def set_disbursement_result(cls, loan_id, result, description):
@@ -37,6 +43,12 @@ class LoanService:
Update the disbursement result of the loan with the given loan_id.
"""
return Loan.set_disbursement_result(loan_id, result, description)
@classmethod
def set_disburse_verify_result(cls, loan_id, result, description):
"""
Update the disburse verify result of the loan with the given loan_id.
"""
return Loan.set_disburse_verify_result(loan_id, result, description)
@classmethod
def get_latest_loan_without_disburse_date(cls):