{% extends "Global/layout.html.twig" %} {% set pagetitle = 'Payout requests' | trans %} {% block title %}{{pagetitle}}{% endblock %} {% block content %} {% set navigation = [{"current":(pagetitle)}] %} {% include "Global/navigation.html.twig" with navigation %}
{% if is_granted("ROLE_ORGANIZER") %} {% include "Global/message.html.twig" with { type: "info", message: ('To submit a new payout request for an event date, go to the My events page and click on the Request payout link next to the event'|trans), icon: "fas fa-info-circle" } %} {% endif %}
{{ "%resultsCount% result(s) found"|trans({'%resultsCount%': payoutRequests.getTotalItemCount}) }}

{% if is_granted("ROLE_ADMINISTRATOR") %}
{% endif %}
{% if payoutRequests.getTotalItemCount %}
{% if is_granted("ROLE_ADMINISTRATOR") %} {% endif %} {% for payoutRequest in payoutRequests %} {% if is_granted("ROLE_ADMINISTRATOR") %} {% endif %} {% if is_granted("ROLE_ADMINISTRATOR") and payoutRequest.status == 1 or payoutRequest.status == -2 %} {% endif %} {% endfor %}
{{ "Reference"|trans }} {{'Event date'|trans}}{{'Organizer'|trans}}{{'Payout method'|trans}} {{'Net sales'|trans}} {{'Request date'|trans}} {{'Status'|trans}}
{{ payoutRequest.reference }} {{ payoutRequest.eventDate.event.name }}
{{ payoutRequest.eventDate.startdate|localizeddate('none', 'none', app.request.locale, date_timezone, date_format) }}
{{ payoutRequest.organizer.name }} {{ services.getSetting('currency_position') == 'left' ? services.getSetting('currency_symbol') : '' }}{{ payoutRequest.eventDate.getOrganizerPayoutAmount() }}{{ services.getSetting('currency_position') == 'right' ? services.getSetting('currency_symbol') : '' }} {{ payoutRequest.createdAt|localizeddate('none', 'none', app.request.locale, date_timezone, date_format) }} {{ payoutRequest.stringifyStatus|trans }} {% if payoutRequest.status != 0 %} {% endif %} {% if payoutRequest.note %} {% endif %} {% if payoutRequest.deletedAt %}

{{ "Deleted"|trans }} {% endif %}
{% else %} {% include "Global/message.html.twig" with { type: "info", message: ('No payout requests found'|trans), icon: "fas fa-exclamation-circle" } %} {% endif %}
{{ knp_pagination_render(payoutRequests, null, {}, {'align': 'center'}) }}
{% endblock %} {% block javascripts %} {% endblock %}