[fix]: Current loan amount

This commit is contained in:
VivianDee
2025-10-23 09:00:29 +01:00
parent ad043ba3f8
commit 2e08c636a2
+1 -1
View File
@@ -246,7 +246,7 @@ class Loan(db.Model):
'loanRef': self.reference, 'loanRef': self.reference,
'productId': self.product_id, 'productId': self.product_id,
'initialLoanAmount': self.initial_loan_amount, 'initialLoanAmount': self.initial_loan_amount,
'currentLoanAmount': self.current_loan_amount, 'currentLoanAmount': self.balance,
'defaultPenaltyFee': self.default_penalty_fee, 'defaultPenaltyFee': self.default_penalty_fee,
'continuousFee': self.continuous_fee, 'continuousFee': self.continuous_fee,
'collectionType': self.collection_type, 'collectionType': self.collection_type,