{% extends "Global/layout.html.twig" %} {% set pagetitle = 'Checkout' | trans %} {% block title %}{{pagetitle}}{% endblock %} {% block content %} {% set navigation = [{"dashboard_index": "Dashboard"|trans, "dashboard_attendee_cart": ("My cart"|trans), "current":(pagetitle)}] %} {% include "Global/navigation.html.twig" with navigation %}
{{ "Order summary"|trans }}
{% for orderelement in order.orderelements %} {% endfor %}
{{ "Event / Ticket"|trans }} {{ "Price"|trans }} {{ "Quantity"|trans }} {{ "Subtotal"|trans }}
{% include "Global/event-preview-horizontal.html.twig" with { eventticket: orderelement.eventticket } %} {% if orderelement.reservedSeats and orderelement.reservedSeats|length > 0 %}
{{ "Reserved seats"|trans }}
    {% for reservedSeat in orderelement.reservedSeats %}
  • {{ services.stringifySeatLabel(reservedSeat) }}
  • {% endfor %}
{% endif %}
{% if orderelement.eventticket.eventdate.event.isFree %} {{ "Free"|trans }} {% else %} {% if orderelement.eventticket.eventdate %} {{ services.getSetting('currency_position') == 'left' ? services.getSetting('currency_symbol') : '' }}{{ orderelement.eventticket.getSalePrice }}{{ services.getSetting('currency_position') == 'right' ? services.getSetting('currency_symbol') : '' }} {% endif %} {% endif %}
{{ orderelement.quantity }}
{{ services.getSetting('currency_position') == 'left' ? services.getSetting('currency_symbol') : '' }}{{ orderelement.getPrice }}{{ services.getSetting('currency_position') == 'right' ? services.getSetting('currency_symbol') : '' }}
{{ form_start(form, {'attr': { 'novalidate': 'novalidate' } }) }} {{ form_widget(form.orderReference, { value: order.reference }) }}
{{ "Billing information"|trans }}
{{ form_label(form.firstname) }} {{ form_widget(form.firstname, { value: app.user.firstname }) }} {{ form_errors(form.firstname) }}
{{ form_label(form.lastname) }} {{ form_widget(form.lastname, { value: app.user.lastname }) }} {{ form_errors(form.lastname) }}
{{ form_label(form.email) }} {{ form_widget(form.email, { value: app.user.email }) }} {{ form_errors(form.email) }}
{{ form_label(form.country) }} {{ form_widget(form.country) }} {{ form_errors(form.country) }}
{{ form_label(form.state) }} {{ form_widget(form.state, { value: app.user.state }) }} {{ form_errors(form.state) }}
{{ form_label(form.city) }} {{ form_widget(form.city, { value: app.user.city }) }} {{ form_errors(form.city) }}
{{ form_label(form.postalcode) }} {{ form_widget(form.postalcode, { value: app.user.postalcode }) }} {{ form_errors(form.postalcode) }}
{{ form_label(form.street) }} {{ form_widget(form.street, { value: app.user.street }) }} {{ form_errors(form.street) }}
{{ form_label(form.street2) }} {{ form_widget(form.street2, { value: app.user.street2 }) }} {{ form_errors(form.street2) }}
{% if order.getOrderElementsPriceSum(true) > 0 %}
{{ "Payment method"|trans }}
{% for paymentGateway in paymentGateways %}
{% endfor %}
{% for paymentGateway in paymentGateways %} {% if paymentGateway.instructions %}
{% include "Global/message.html.twig" with { type: "info", message: (paymentGateway.instructions|raw), icon: "fas fa-info-circle" } %}
{% endif %} {% endfor %}
{% else %} {% endif %} {{ form_end(form) }}
{% endblock %} {% block javascripts %} {% endblock %}