Add changes suggested by DT

This commit is contained in:
Tom Price
2017-04-11 11:45:08 +01:00
parent 82b6f1cbf8
commit 6e78f16c33
4 changed files with 20 additions and 10 deletions

View File

@@ -149,7 +149,7 @@ class BaseClientEventAuthorisationForm(forms.ModelForm):
def clean(self):
if self.cleaned_data.get('amount') != self.instance.event.total:
self.add_error('amount', 'The amount authorised must equal the total for the event.')
self.add_error('amount', 'The amount authorised must equal the total for the event (inc VAT).')
return super(BaseClientEventAuthorisationForm, self).clean()
class Meta: