{% extends '@!EasyAdmin/default/layout.html.twig' %} {% block head_custom_stylesheets %} {% if app.user.roles[0] == 'ROLE_CLIENT' or (app.user.roles[0] == 'ROLE_CLIENT_USER' or app.user.roles[0] == 'ROLE_CLIENT_USER_SELLER' or app.user.roles[0] == 'ROLE_CLIENT_USER_BUYER') %} {% if app.user.typeSector == 2 %} {% else %} {% endif %} {% else %} {% endif %} {{ parent() }} {% endblock %} {% block body %} {# Pre loader #}
{% block wrapper_wrapper %}
{% if app.session.get('VIEW') == 'SIMPLE_VIEW' %}
{% else %}
{% endif %}
{% if is_granted('ROLE_ADMIN') == false and (is_granted('ROLE_PROVIDER') or is_granted('ROLE_COMPLETE_FORM')) and app.user.planNewToken is not null %} {% if app.user.withoutPaymentControl == 0 %}

{{ 'checkout_pending'|trans }} {{ 'checkout_pay'|trans }} {{ 'checkout_pending_second_text'|trans }}

{% endif %} {% endif %} {% block wrapper %}
{% block flash_messages %} {{ include(_entity_config is defined ? _entity_config.templates.flash_messages : '@EasyAdmin/default/flash_messages.html.twig') }} {% endblock flash_messages %} {% block content %}
{% block content_header_wrapper %} {% set _has_content_help = _entity_config is defined and _entity_config[app.request.query.get('action')]['help']|default(false) %}
{% block content_header %}

{% block content_title %}{% endblock %}

{# {% block global_actions_wrapper %}
{% block global_actions %}{% endblock %}
{% endblock %} #}
{% block content_help %} {% if _entity_config is defined and _entity_config[app.request.query.get('action')]['help']|default(false) %}
{{ _entity_config[app.request.query.get('action')]['help']|trans(domain = _entity_config.translation_domain)|raw }}
{% endif %} {% endblock content_help %} {% endblock content_header %}
{% endblock content_header_wrapper %}
{% block main %}{% endblock %}
{% block content_footer_wrapper %} {% endblock %}
{% endblock content %}
{% endblock wrapper %} {# boton para agregar la entity (si esta permitido) #} {# lo muestro en la vista de list entity #} {% block button_add_list %} {% if app.request.get('action') == 'list' %} {% if easyadmin_action_is_enabled_for_list_view('new', _entity_config.name) %} {% set _action = easyadmin_get_action_for_list_view('new', _entity_config.name) %} {#
  • #} {#
  • #} {% endif %} {% endif %} {% endblock %}
    {% include "@EasyAdmin/default/barra_lateral.html.twig" %} {% include "@EasyAdmin/default/select_sector.html.twig" %} {% endblock wrapper_wrapper %}
    {% block body_javascript %} {{ parent() }} {% include "/admin/action_sidevar_js.html.twig" %} {% include "/admin/menu_gem_active_js.html.twig" %} {% endblock body_javascript %} {% block body_custom_javascript %} {{ parent() }} {% endblock body_custom_javascript %} {% endblock body %}