{% extends '@EasyAdmin/default/list.html.twig' %} {% block title_entity %} {% if app.session.get('providerView') %} {% set provider = app.session.get('providerView') %}
{% if provider.image is defined %} {% if not provider.image is null %} {% else %} {% endif %} {% else %} {% endif %}
{% if provider.companyName is defined %} {{provider.companyName}} {% else %} {{provider.username}} {% endif %}
{% if provider.email is defined %} {{provider.email}} {% endif %}
{% else %} {{ parent() }} {% endif %} {% endblock %} {% block header_container %} {{ parent() }} {% if not is_granted('ROLE_SUPERADMIN') and is_granted('ROLE_CLIENT_USER') %} {% endif %} {% endblock %} {% block buttons_top_table %}
{% if not is_granted('ROLE_SUPERADMIN') and (is_granted('ROLE_PROVIDER') ) %} {{'orderReturns.new_title'|trans}} {% endif %} {# {% if is_granted('ROLE_CARRIER') or is_granted('ROLE_OPERATION') or is_granted('ROLE_SELLER') %} {{ include('admin/orders/changeStateBatch.html.twig') }} {% endif %} #}
{% endblock buttons_top_table %} {% block body_javascript %} {{ parent() }} {% endblock body_javascript %}