[fix]: Indentation

This commit is contained in:
Vivian Dee
2025-05-10 14:47:52 +01:00
parent bbdb7214d1
commit 332c344efa
2 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ class OfferAnalysis:
@staticmethod @staticmethod
def decide_offer(transaction_id, rac_check, validated_data, customer): def decide_offer(transaction_id, rac_check, validated_data, customer):
""" """
Find the last loan - it will have original_transaction Find the last loan - it will have original_transaction
This loan is part of the original approval where transaction_id = original_transaction for this account This loan is part of the original approval where transaction_id = original_transaction for this account
+10 -10
View File
@@ -156,18 +156,18 @@ class Loan(db.Model):
return loan return loan
@classmethod @classmethod
def get_active_loans_by_original_transaction(cls, original_transaction_id): def get_active_loans_by_original_transaction(cls, original_transaction_id):
""" """
Get all active loans with the same original_transaction ID. Get all active loans with the same original_transaction ID.
""" """
active_loans = cls.query.filter_by( active_loans = cls.query.filter_by(
original_transaction=original_transaction_id, original_transaction=original_transaction_id,
# status='active' # status='active'
).all() ).all()
return active_loans return active_loans
@classmethod @classmethod