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
+2
View File
@@ -146,6 +146,8 @@ class Loan(db.Model):
loan = cls.query.filter_by( customer_id = customer_id).first() loan = cls.query.filter_by( customer_id = customer_id).first()
logger.info(f" Active Loan ==>>>> RESULT************************ AMEYE") logger.info(f" Active Loan ==>>>> RESULT************************ AMEYE")
if not loan: if not loan:
return None
loan = { loan = {
"eligible_amount": 0, "eligible_amount": 0,
"loan_amount": 0, "loan_amount": 0,