changed balance to 2 decimal place #30

Merged
ameye merged 1 commits from test into master 2025-06-23 10:42:04 +00:00
+1 -1
View File
@@ -55,7 +55,7 @@ class RepaymentsData(db.Model):
customer_id=data.get('customerId'),
amount_collected=amountCollected,
repayment_amount=repaymentAmount,
balance=accountBalance
balance=round(float(accountBalance), 2)
)
db.session.add(new_data)
db.session.commit()