added salary table

This commit is contained in:
Chinenye Nmoh
2025-06-19 21:30:21 +01:00
parent 3be765bf41
commit 7fbb659fc6
7 changed files with 164 additions and 41 deletions
+8
View File
@@ -70,3 +70,11 @@ class LoanService:
Get the latest loan without a disbursement date.
"""
return Loan.get_latest_loan_with_disburse_date()
@classmethod
def get_customer_loans(cls, customer_id):
"""
Get customer's active loans by customer_id.
"""
return Loan.get_customer_loans(customer_id=customer_id)