forked from CGM_Public/pretix_original
fix name
This commit is contained in:
@@ -1491,7 +1491,7 @@ class OrderPayment(models.Model):
|
|||||||
trigger_pdf=not send_mail or not self.order.event.settings.invoice_email_attachment
|
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)
|
self._send_paid_mail(invoice, user, mail_text)
|
||||||
if self.order.event.settings.mail_send_order_paid_attendee:
|
if self.order.event.settings.mail_send_order_paid_attendee:
|
||||||
for p in self.order.positions.all():
|
for p in self.order.positions.all():
|
||||||
|
|||||||
@@ -765,7 +765,8 @@ class MailSettingsForm(SettingsForm):
|
|||||||
mail_sales_channel_placed_paid = forms.MultipleChoiceField(
|
mail_sales_channel_placed_paid = forms.MultipleChoiceField(
|
||||||
choices=lambda: [(ident, sc.verbose_name) for ident, sc in get_all_sales_channels().items()],
|
choices=lambda: [(ident, sc.verbose_name) for ident, sc in get_all_sales_channels().items()],
|
||||||
label=_('Sales Channels for Checkout Emails'),
|
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(
|
widget=forms.CheckboxSelectMultiple(
|
||||||
attrs={'class': 'scrolling-multiple-choice'}
|
attrs={'class': 'scrolling-multiple-choice'}
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user