Update provide_loan.py

This commit was merged in pull request #68.
This commit is contained in:
VivianDee
2025-10-30 14:45:42 +01:00
parent fc9f7fe175
commit 6138085c0e
+1 -5
View File
@@ -250,9 +250,6 @@ class ProvideLoanService(BaseService):
"startDate": charge.created_at.isoformat(),
}
if charge.code.upper() == "VAT":
item["loanRef"] = loan_ref
charge_schedule_items.append(item)
id_counter += 1
@@ -282,8 +279,7 @@ class ProvideLoanService(BaseService):
"dueDate": schedule.due_date.isoformat(),
"amountDue": round(interest_amount, 2),
"componentName": "INTEREST",
"startDate": schedule.created_at.isoformat(),
"loanRef": loan_ref
"startDate": schedule.created_at.isoformat()
}
charge_schedule_items.append(interest)