Commit 88e5599e authored by Célande Adrien's avatar Célande Adrien Committed by Romain Bignon

[bp] unavailable next payment amount

Closes: 14369@sibi
parent d5a440ba
......@@ -307,6 +307,8 @@ class AccountList(LoggedPage, MyHTMLPage):
return Date(dayfirst=True).filter(self.get_element('Date de prochaine'))
def obj_next_payment_amount(self):
if 'Donnée non disponible' in CleanText().filter(self.get_element('Montant prochaine')):
return NotAvailable
return CleanDecimal(replace_dots=True).filter(self.get_element('Montant prochaine'))
def obj_url(self):
......
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