Make mandate required for SEPA direct debit reception
Closes #15093 (grafted from 5f18f6ba22b8d079b9f349d74ad748e418f6f373) --HG-- branch : 7.0
This commit is contained in:
1 parent
055b2b0c4f
commit
b7b4dc2f69
1 file changed
+1
@@ -61,6 +61,7 @@ class PartyReceptionDirectDebit(metaclass=PoolMeta):
|
||||
],
|
||||
states={
|
||||
'invisible': Eval('process_method') != 'sepa',
|
||||
'required': Eval('process_method') == 'sepa',
|
||||
'readonly': ~Eval('party') | (Eval('party', -1) < 0),
|
||||
})
|
||||
|
||||
|
||||
Reference in new issue
Block a user