update
This commit was merged in pull request #15.
This commit is contained in:
@@ -110,6 +110,7 @@ def get_loans():
|
||||
'customer_id': request.args.get('customer_id'),
|
||||
'account_id': request.args.get('account_id'),
|
||||
'status': request.args.get('status'),
|
||||
'tenor': request.args.get('tenor'),
|
||||
'offer_id': request.args.get('offer_id'),
|
||||
'product_id': request.args.get('product_id'),
|
||||
'transaction_id': request.args.get('transaction_id'),
|
||||
|
||||
@@ -32,6 +32,7 @@ class LoanService:
|
||||
customer_id = filters.get('customer_id')
|
||||
account_id = filters.get('account_id')
|
||||
status = filters.get('status')
|
||||
tenor = filters.get('tenor')
|
||||
offer_id = filters.get('offer_id')
|
||||
product_id = filters.get('product_id')
|
||||
transaction_id = filters.get('transaction_id')
|
||||
@@ -67,6 +68,7 @@ class LoanService:
|
||||
customer_id=customer_id,
|
||||
account_id=account_id,
|
||||
status=status,
|
||||
tenor=tenor,
|
||||
offer_id=offer_id,
|
||||
product_id=product_id,
|
||||
transaction_id=transaction_id,
|
||||
@@ -94,6 +96,7 @@ class LoanService:
|
||||
'initial_loan_amount': loan.initial_loan_amount,
|
||||
'current_loan_amount': loan.current_loan_amount,
|
||||
'status': loan.status,
|
||||
'tenor': loan.tenor,
|
||||
'product_id': loan.product_id,
|
||||
'default_penalty_fee': loan.default_penalty_fee,
|
||||
'continuous_fee': loan.continuous_fee,
|
||||
|
||||
Reference in New Issue
Block a user