mirror of
https://github.com/pretix/pretix.git
synced 2026-05-09 15:54:03 +00:00
BulkVouchers: Append mail-recipient to comment instead of overwriting it (Z#23168852)
This commit is contained in:
@@ -53,7 +53,7 @@ def vouchers_send(event: Event, vouchers: list, subject: str, message: str, reci
|
|||||||
v.tag = r.get('tag')
|
v.tag = r.get('tag')
|
||||||
if v.comment:
|
if v.comment:
|
||||||
v.comment += '\n\n'
|
v.comment += '\n\n'
|
||||||
v.comment = gettext('The voucher has been sent to {recipient}.').format(recipient=r['email'])
|
v.comment += gettext('The voucher has been sent to {recipient}.').format(recipient=r['email'])
|
||||||
logs.append(v.log_action(
|
logs.append(v.log_action(
|
||||||
'pretix.voucher.sent',
|
'pretix.voucher.sent',
|
||||||
user=user,
|
user=user,
|
||||||
|
|||||||
Reference in New Issue
Block a user