repay loan

This commit is contained in:
CHIEFSOFT\ameye
2025-03-04 10:06:17 -05:00
parent 5af8e31f6d
commit be24d0aa51
+9
View File
@@ -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 },