Update loan_charge.py
This commit was merged in pull request #13.
This commit is contained in:
@@ -56,7 +56,7 @@ class LoanCharge(db.Model):
|
|||||||
loan_id = loan_id,
|
loan_id = loan_id,
|
||||||
transaction_id = transaction_id,
|
transaction_id = transaction_id,
|
||||||
code = getattr(charge, "code"),
|
code = getattr(charge, "code"),
|
||||||
amount = amount,
|
amount = round(amount, 2),
|
||||||
percent = percent,
|
percent = percent,
|
||||||
description = getattr(charge, "description", ""),
|
description = getattr(charge, "description", ""),
|
||||||
due = due_days,
|
due = due_days,
|
||||||
|
|||||||
Reference in New Issue
Block a user