mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Order confirmation: Add e-mail to contact information box
This commit is contained in:
@@ -521,7 +521,9 @@ class ConfirmStep(CartMixin, AsyncAction, TemplateFlowStep):
|
|||||||
ctx['confirm_messages'] = self.confirm_messages
|
ctx['confirm_messages'] = self.confirm_messages
|
||||||
ctx['cart_session'] = self.cart_session
|
ctx['cart_session'] = self.cart_session
|
||||||
|
|
||||||
ctx['contact_info'] = []
|
ctx['contact_info'] = [
|
||||||
|
(_('E-mail'), self.cart_session.get('contact_form_data', {}).get('email')),
|
||||||
|
]
|
||||||
responses = contact_form_fields.send(self.event, request=self.request)
|
responses = contact_form_fields.send(self.event, request=self.request)
|
||||||
for r, response in sorted(responses, key=lambda r: str(r[0])):
|
for r, response in sorted(responses, key=lambda r: str(r[0])):
|
||||||
for key, value in response.items():
|
for key, value in response.items():
|
||||||
|
|||||||
Reference in New Issue
Block a user