1
0

Update provide_loan.py

This commit is contained in:
VivianDee
2025-10-30 14:45:42 +01:00
parent d99640345a
commit fd7854729a
+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)