allow that you dont need a resolution if amount > 30
This commit is contained in:
@@ -112,12 +112,14 @@ class BillCreateForm(forms.ModelForm):
|
||||
)
|
||||
|
||||
# check that amount is valid because invalid amount is a NoneType.
|
||||
'''
|
||||
if amount:
|
||||
if amount > 30 and resolution == "":
|
||||
raise ValidationError(
|
||||
"Die Beschlussnummer fehlt, weil der Betrag über 30€ beträgt "
|
||||
f"(Betrag: {amount}€)."
|
||||
)
|
||||
'''
|
||||
|
||||
if payer == "M":
|
||||
if name == "" or iban == "":
|
||||
|
||||
Reference in New Issue
Block a user