{% extends '@Core/base.html.twig' %} {% block sidebar %} {% render controller('CoreBundle:Default:sidebarConfiguration') %} {% endblock %} {% block sectionTitle %}Usuario{% endblock %} {% block javascript %} {{ parent() }} {% endblock %} {% block breadcrumbLinks %}
  • Usuarios
  • {% if user is not null %}
  • Editar
  • {% else %}
  • Nuevo
  • {% endif %} {% endblock %} {% block content %}
    {% for flash_message in app.session.flashBag.get('success') %}
    {{ flash_message }}
    {% endfor %}
    {% form_theme form 'bootstrap_3_horizontal_layout.html.twig' %} {{ form_start(form) }} {{ form_errors(form) }}
    {% if user %}

    {{ user.username }} {{ user.name }} - {{ user.group.name }}


    {% endif %}
    {{ form_widget(form, {'form_type': 'userProfileFormBasic'}) }}
    {{ form_end(form) }}
    {% if companies is not null %} {{ render( controller('CoreBundle:UserRights:loadRightsTable', { 'companies' : companies, 'userToUpdate' : user }) ) }} {% endif %}
    Tienda por defecto del usuario
    {% if shops | length > 0 %}
    {% endif %}
    Permisos especiales del usuario
    Configuración de descuentos
    Gestión web
    Operaciones de venta
    Cierres de caja de venta históricas
    Escritorio
    Fidelización de clientes
    {% if is_granted("ROLE_ADMIN")%}
    APP
    {% endif %} {% if is_granted("ROLE_ADMIN")%}
    Demo
    {% endif %}
    {% if user is not null %}
    {% include '@Core/User/searcher_user_task_tracking.html.twig' %}

    {{ totalTime }}

    {% endif %}
    {% endblock%} {% block script %} {% endblock %}