forked from CGM_Public/pretix_original
Separate mail template for incomplete payment notifications (#2999)
* Separate mail template for incomplete payment notifications * Update src/pretix/base/settings.py Co-authored-by: Richard Schreiber <wiffbi@gmail.com> * Update src/pretix/control/forms/event.py Co-authored-by: Richard Schreiber <wiffbi@gmail.com> --------- Co-authored-by: Raphael Michel <mail@raphaelmichel.de> Co-authored-by: Richard Schreiber <wiffbi@gmail.com>
This commit is contained in:
@@ -394,6 +394,11 @@ def base_placeholders(sender, **kwargs):
|
||||
lambda event_or_subevent, refund_amount: LazyCurrencyNumber(refund_amount, event_or_subevent.currency),
|
||||
lambda event_or_subevent: LazyCurrencyNumber(Decimal('42.23'), event_or_subevent.currency)
|
||||
),
|
||||
SimpleFunctionalMailTextPlaceholder(
|
||||
'pending_sum', ['event', 'pending_sum'],
|
||||
lambda event, pending_sum: LazyCurrencyNumber(pending_sum, event.currency),
|
||||
lambda event: LazyCurrencyNumber(Decimal('42.23'), event.currency)
|
||||
),
|
||||
SimpleFunctionalMailTextPlaceholder(
|
||||
'total_with_currency', ['event', 'order'], lambda event, order: LazyCurrencyNumber(order.total,
|
||||
event.currency),
|
||||
|
||||
Reference in New Issue
Block a user