get loan
This commit is contained in:
@@ -9,6 +9,14 @@ class LoanService:
|
||||
"""
|
||||
return Loan.get_loan_by_transaction_id(transaction_id)
|
||||
|
||||
@classmethod
|
||||
def get_loan_by_debt_id(cls, debt_id):
|
||||
"""
|
||||
Get the loan by transaction ID
|
||||
"""
|
||||
return Loan.get_loan_by_debt_id(debt_id)
|
||||
|
||||
|
||||
@classmethod
|
||||
def get_loan_charge_by_debt_id(cls, debt_id):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user