Fix loans
This commit is contained in:
@@ -34,6 +34,8 @@ class Loan: # Mock Loan class for demonstration
|
|||||||
id=i + (page - 1) * limit,
|
id=i + (page - 1) * limit,
|
||||||
customer_id=customer_id or "customer123",
|
customer_id=customer_id or "customer123",
|
||||||
account_id=account_id or "account456",
|
account_id=account_id or "account456",
|
||||||
|
transaction_id="FIX THIS MESS",
|
||||||
|
original_transaction="FIX THIS MESS",
|
||||||
offer_id=offer_id or "offer789",
|
offer_id=offer_id or "offer789",
|
||||||
initial_loan_amount=1000.00,
|
initial_loan_amount=1000.00,
|
||||||
current_loan_amount=900.00,
|
current_loan_amount=900.00,
|
||||||
@@ -41,6 +43,9 @@ class Loan: # Mock Loan class for demonstration
|
|||||||
product_id=product_id or "product101",
|
product_id=product_id or "product101",
|
||||||
default_penalty_fee=50.00,
|
default_penalty_fee=50.00,
|
||||||
continuous_fee=10.00,
|
continuous_fee=10.00,
|
||||||
|
upfront_fee=0.0,
|
||||||
|
repayment_amount=0.0,
|
||||||
|
installment_amount=0.0,
|
||||||
due_date=datetime.now(),
|
due_date=datetime.now(),
|
||||||
created_at=datetime.now(),
|
created_at=datetime.now(),
|
||||||
updated_at=datetime.now()
|
updated_at=datetime.now()
|
||||||
|
|||||||
Reference in New Issue
Block a user