mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-04-27 02:58:40 +02:00
feat: add categories and allow to finish a recurring transaction
This commit is contained in:
@@ -615,7 +615,7 @@ class RecurringTransactionForm(forms.ModelForm):
|
||||
end_date = cleaned_data.get("end_date")
|
||||
|
||||
if start_date and end_date and start_date > end_date:
|
||||
raise forms.ValidationError("End date should be after the start date.")
|
||||
raise forms.ValidationError(_("End date should be after the start date"))
|
||||
|
||||
return cleaned_data
|
||||
|
||||
|
||||
Reference in New Issue
Block a user