This commit is contained in:
Felix Rindt
2020-07-24 15:24:30 +02:00
parent 1b48b519e3
commit 7aa793f4f7
2 changed files with 3 additions and 2 deletions

View File

@@ -1491,7 +1491,7 @@ class OrderPayment(models.Model):
trigger_pdf=not send_mail or not self.order.event.settings.invoice_email_attachment
)
if send_mail and self.order.sales_channel in self.order.event.settings.mail_sales_channel_paid_placed:
if send_mail and self.order.sales_channel in self.order.event.settings.mail_sales_channel_placed_paid:
self._send_paid_mail(invoice, user, mail_text)
if self.order.event.settings.mail_send_order_paid_attendee:
for p in self.order.positions.all():

View File

@@ -765,7 +765,8 @@ class MailSettingsForm(SettingsForm):
mail_sales_channel_placed_paid = forms.MultipleChoiceField(
choices=lambda: [(ident, sc.verbose_name) for ident, sc in get_all_sales_channels().items()],
label=_('Sales Channels for Checkout Emails'),
help_text=_('The order placed and paid emails will only be send to orders from these sales channels. The online shop must be enabled.'),
help_text=_('The order placed and paid emails will only be send to orders from these sales channels. '
'The online shop must be enabled.'),
widget=forms.CheckboxSelectMultiple(
attrs={'class': 'scrolling-multiple-choice'}
),