Merge branch 'define_offers' of DigiFi/digifi-BankToProductCore into master

This commit is contained in:
2025-05-10 14:35:14 +00:00
committed by Gogs
+4 -2
View File
@@ -146,6 +146,8 @@ class Loan(db.Model):
loan = cls.query.filter_by( customer_id = customer_id).first()
logger.info(f" Active Loan ==>>>> RESULT************************ AMEYE")
if not loan:
return None
loan = {
"eligible_amount": 0,
"loan_amount": 0,
@@ -153,8 +155,8 @@ class Loan(db.Model):
"transaction_id": "",
"resultDescription": "No Active Loan"
}
logger.info(f" Active Loan ==>>>> RESULT*********************")
logger.info(f" Active Loan ==>>>> {loan}")
logger.info(f" Active Loan ==>>>> RESULT*********************")
logger.info(f" Active Loan ==>>>> {loan}")
return loan