Merge branch 'loan_schedules_update' of DigiFi/digifi-BankToProductCore into master
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user