mirror of
https://github.com/pretix/pretix.git
synced 2026-08-10 10:47:00 +00:00
Sendmail: Fix selector for pending/overdue for scheduled messages (Z#23202906) (#5338)
* Sendmail: Fix selector for pending/overdue for scheduled messages (Z#287303) * isort * Apply suggestions from code review --------- Co-authored-by: Raphael Michel <michel@rami.io>
This commit is contained in:
co-authored by
Raphael Michel
parent
6f920e6bcd
commit
a8f74d87ec
@@ -389,7 +389,7 @@ class RuleForm(FormPlaceholderMixin, I18nModelForm):
|
||||
choices.insert(0, ('n__pending_approval', _('approval pending')))
|
||||
if not self.event.settings.get('payment_term_expire_automatically', as_type=bool):
|
||||
choices.append(
|
||||
('p__overdue', _('pending with payment overdue'))
|
||||
('n__pending_overdue', _('pending with payment overdue'))
|
||||
)
|
||||
self.fields['restrict_to_status'] = forms.MultipleChoiceField(
|
||||
label=pgettext_lazy('sendmail_from', 'Restrict to orders with status'),
|
||||
|
||||
Reference in New Issue
Block a user