Révision 8881779a
Ajouté par Frédéric Péters il y a presque 8 ans
extra/modules/payments.py | ||
---|---|---|
219 | 219 |
next_status = None |
220 | 220 |
request_kwargs = {} |
221 | 221 |
|
222 |
def is_available(self): |
|
222 |
def is_available(self, workflow=None):
|
|
223 | 223 |
return is_payment_supported() |
224 | 224 |
is_available = classmethod(is_available) |
225 | 225 |
|
... | ... | |
309 | 309 |
reason = None |
310 | 310 |
regie_id = None |
311 | 311 |
|
312 |
def is_available(self): |
|
312 |
def is_available(self, workflow=None):
|
|
313 | 313 |
return is_payment_supported() |
314 | 314 |
is_available = classmethod(is_available) |
315 | 315 |
|
... | ... | |
455 | 455 |
|
456 | 456 |
next_status = None |
457 | 457 |
|
458 |
def is_available(self): |
|
458 |
def is_available(self, workflow=None):
|
|
459 | 459 |
return is_payment_supported() |
460 | 460 |
is_available = classmethod(is_available) |
461 | 461 |
|
Formats disponibles : Unified diff
misc: add new workflow keyword arg to action is_available methods (#11336)