support canceled transactions
This commit is contained in:
parent
543cbef19e
commit
8066d630f4
1 changed files with 2 additions and 2 deletions
|
|
@ -201,5 +201,5 @@ class OperationsPage(LoggedPage, HTMLPage):
|
||||||
obj_amount = Env('amount')
|
obj_amount = Env('amount')
|
||||||
|
|
||||||
def condition(self):
|
def condition(self):
|
||||||
self.env['amount'] = Transaction.Amount('', './td[3]')(self.el)
|
self.env['amount'] = - Transaction.Amount('./td[3]')(self.el)
|
||||||
return self.env['amount'] < 0
|
return self.env['amount'] != 0
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue