{{ "Reference"|trans }} | {{'Organizer / Event / Date / Ticket'|trans}} | {% if not is_granted("ROLE_POINTOFSALE") and not is_granted("ROLE_ATTENDEE") %}{{'Attendee / POS'|trans}} | {% endif %}{{'Order date'|trans}} | {{'Status'|trans}} | |
---|---|---|---|---|---|
{% if is_granted("ROLE_ADMINISTRATOR") %} {{ order.reference }} {% elseif is_granted("ROLE_ORGANIZER") %} {{ order.reference }} {% elseif is_granted("ROLE_POINTOFSALE") %} {{ order.reference }} {% elseif is_granted("ROLE_ATTENDEE") %} {{ order.reference }} {% endif %} |
|
{% if not is_granted("ROLE_POINTOFSALE") and not is_granted("ROLE_ATTENDEE") %}
{% if is_granted('ROLE_ADMINISTRATOR') %} {% include "Global/user-avatar.html.twig" with { user: order.user } %} {{ order.user.getCrossRoleName }} {% else %} {% include "Global/user-avatar.html.twig" with { user: order.user } %} {{ order.user.getCrossRoleName }} {% endif %} | {% endif %}{{ order.createdAt|localizeddate('none', 'none', app.request.locale, date_timezone, date_format) }} |
{{ order.stringifyStatus|trans }}
{% if not is_granted("ROLE_ATTENDEE") %}
{% if order.deletedAt %}
{{ "Deleted"|trans }} {% endif %} {% endif %} |