1
0

Update base_service.py

This commit is contained in:
VivianDee
2025-04-25 11:33:05 +01:00
parent 1cce111d1f
commit 4d4e4fcd3e
+1 -1
View File
@@ -102,7 +102,7 @@ class BaseService:
upfront_payment = sum(upfront_fees)
# Repayment amount: (principal + only those fees not due immediately i.e due_days != 0)
repayment_amount = amount + sum(postpaid_fees) * tenor
repayment_amount = amount + (sum(postpaid_fees) * tenor)
# Total amount: (upfront_payment + repayment_amount)
total_amount = upfront_payment + repayment_amount