repay loan
This commit is contained in:
@@ -531,6 +531,15 @@ def offer_offers():
|
||||
|
||||
@app.route('/loan/info')
|
||||
def pending_loans():
|
||||
offer_detail = [
|
||||
{"loan_id": "425611f2-c692-4404-b93d-76ca7a5ce00", "description": "Total amount to replay N50,000" , "active" : 1 },
|
||||
{"loan_id": "425611f2-c692-4404-b93d-76ca7a5ce01", "description": "Total amount to replay N150,000" , "active" : 1 },
|
||||
{"loan_id": "425611f2-c692-4404-b93d-76ca7a5ce02", "description": "Total amount to replay N300,000" , "active" : 1 },
|
||||
]
|
||||
return offer_detail
|
||||
|
||||
@app.route('/loan/repay')
|
||||
def repay_loans():
|
||||
offer_detail = [
|
||||
{"cid": "425611f2-c692-4404-b93d-76ca7a5ce00", "description": "Total amount to replay N50,000" , "active" : 1 },
|
||||
{"cid": "425611f2-c692-4404-b93d-76ca7a5ce01", "description": "Total amount to replay N150,000" , "active" : 1 },
|
||||
|
||||
Reference in New Issue
Block a user