Add separate notification category for orders that require approval

This commit is contained in:
Raphael Michel
2018-11-30 15:30:35 +01:00
parent ba15c34ce1
commit 47b7d7b36c
4 changed files with 13 additions and 0 deletions

View File

@@ -193,6 +193,12 @@ def register_default_notification_types(sender, **kwargs):
_('New order placed'),
_('A new order has been placed: {order.code}'),
),
ParametrizedOrderNotificationType(
sender,
'pretix.event.order.placed.require_approval',
_('New order requires approval'),
_('A new order has been placed that requires approval: {order.code}'),
),
ParametrizedOrderNotificationType(
sender,
'pretix.event.order.paid',