This commit is contained in:
Chinenye Nmoh
2025-06-26 13:36:49 +01:00
parent 9feab46016
commit 79109af695
3 changed files with 10 additions and 3 deletions
+1 -1
View File
@@ -168,7 +168,7 @@ def process_salary_list():
# Step 3.2: Get loans
try:
loans, total_amount = LoanService.get_customer_loans(pending_salary.customer_id)
loans, total_amount = LoanService.get_customer_active_loans(pending_salary.customer_id)
if not loans:
logger.warning(f"No loans found for customer ID: {pending_salary.customer_id}")
continue