customer with loan listing

This commit is contained in:
CHIEFSOFT\ameye
2025-05-24 07:41:20 -04:00
parent c9aba07e9c
commit 9e22e0fcf3
3 changed files with 3 additions and 20 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ class RepaymentService(BaseService):
loan_id = validated_data.get('debtId')
product_id = validated_data.get('productId')
account_id = validated_data.get('accountId')
customer = Customer.get_customer(customer_id)
customer = Customer.get_customer_with_loan_list(customer_id)
transaction_id = validated_data.get('transactionId')
if(RepaymentService.validate_account_ownership(account_id = account_id, customer_id = customer_id)):