From d6235b9f8aa00d8efb3d70add3644dcd97a0266c Mon Sep 17 00:00:00 2001 From: ameye Date: Sun, 27 Apr 2025 19:31:50 -0400 Subject: [PATCH] Fix loans --- app/api/services/loan_service.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/api/services/loan_service.py b/app/api/services/loan_service.py index cbbb16a..218a456 100644 --- a/app/api/services/loan_service.py +++ b/app/api/services/loan_service.py @@ -34,6 +34,8 @@ class Loan: # Mock Loan class for demonstration id=i + (page - 1) * limit, customer_id=customer_id or "customer123", account_id=account_id or "account456", + transaction_id="FIX THIS MESS", + original_transaction="FIX THIS MESS", offer_id=offer_id or "offer789", initial_loan_amount=1000.00, current_loan_amount=900.00, @@ -41,6 +43,9 @@ class Loan: # Mock Loan class for demonstration product_id=product_id or "product101", default_penalty_fee=50.00, continuous_fee=10.00, + upfront_fee=0.0, + repayment_amount=0.0, + installment_amount=0.0, due_date=datetime.now(), created_at=datetime.now(), updated_at=datetime.now()