Sendmail: Allow to attach tickets to emails

This commit is contained in:
Raphael Michel
2022-02-16 10:42:48 +01:00
parent f7d2645e76
commit f3b355e9f3
5 changed files with 20 additions and 3 deletions

View File

@@ -132,6 +132,11 @@ class MailForm(FormPlaceholderMixin, forms.Form):
label=pgettext_lazy('subevent', 'Only send to customers with orders created before'),
required=False,
)
attach_tickets = forms.BooleanField(
label=_("Attach tickets"),
help_text=_("Will be ignored if tickets exceed a given size limit to ensure email deliverability."),
required=False
)
def clean(self):
d = super().clean()