Commit 78cea74a authored by Maxime Gasselin's avatar Maxime Gasselin Committed by Romain Bignon

[caissedepargne] fix loans

On some loans, the next_payment_date column does not exist.

Closes: 35859@sibi Closes: 9234@zendesk Closes: 9366@zendesk
parent 917a33b2
......@@ -502,8 +502,7 @@ class IndexPage(LoggedPage, HTMLPage):
obj_currency = Currency(MyTableCell("balance"))
obj_last_payment_date = Date(CleanText(MyTableCell("last_payment_date")))
obj_next_payment_amount = MyDecimal(MyTableCell("next_payment_amount"))
obj_next_payment_date = Date(CleanText(MyTableCell("next_payment_date")))
obj_next_payment_date = Date(CleanText(MyTableCell("next_payment_date", default=''), default=NotAvailable), default=NotAvailable)
def go_list(self):
form = self.get_form(id='main')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment