BulkVouchers: Append mail-recipient to comment instead of overwriting it (Z#23168852)

This commit is contained in:
Martin Gross
2024-10-16 10:37:06 +02:00
parent 8d63906341
commit e49f938eb3

View File

@@ -53,7 +53,7 @@ def vouchers_send(event: Event, vouchers: list, subject: str, message: str, reci
v.tag = r.get('tag')
if v.comment:
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(
'pretix.voucher.sent',
user=user,