loand ids

This commit is contained in:
CHIEFSOFT\ameye
2025-05-30 20:27:05 -04:00
parent 03a30577d7
commit 8c50e5a98f
3 changed files with 48 additions and 36 deletions
+8 -1
View File
@@ -14,4 +14,11 @@ class LoanService:
"""
Get the loan charge by debt ID
"""
return LoanCharge.get_loan_charge_by_debt_id(debt_id)
return LoanCharge.get_loan_charge_by_debt_id(debt_id)
@classmethod
def set_disbursement_date(cls, loan_id, customer_id):
"""
Update the disbursement status of the loan with the given loan_id.
"""
return Loan.set_disbursement_date(loan_id, customer_id)