update
This commit is contained in:
@@ -28,11 +28,14 @@ class LoanService:
|
||||
filters = {}
|
||||
|
||||
# Extract filters
|
||||
id = filters.get('id')
|
||||
customer_id = filters.get('customer_id')
|
||||
account_id = filters.get('account_id')
|
||||
status = filters.get('status')
|
||||
offer_id = filters.get('offer_id')
|
||||
product_id = filters.get('product_id')
|
||||
transaction_id = filters.get('transaction_id')
|
||||
original_transaction = filters.get('original_transaction')
|
||||
start_date = filters.get('start_date')
|
||||
end_date = filters.get('end_date')
|
||||
due_before = filters.get('due_before')
|
||||
@@ -60,11 +63,14 @@ class LoanService:
|
||||
|
||||
# Get loans with optional filters and pagination
|
||||
loans, total_count = Loan.get_all_loans(
|
||||
id=id,
|
||||
customer_id=customer_id,
|
||||
account_id=account_id,
|
||||
status=status,
|
||||
offer_id=offer_id,
|
||||
product_id=product_id,
|
||||
transaction_id=transaction_id,
|
||||
original_transaction=original_transaction,
|
||||
start_date=start_date,
|
||||
end_date=end_date,
|
||||
due_before=due_before,
|
||||
|
||||
Reference in New Issue
Block a user