{% extends "AdmingeneratorGeneratorBundle::base_admin_assetic_less.html.twig" %} {% block stylesheets %} {{ parent() }} {% endblock %} {% block javascripts %} {{ parent() }} {% endblock %} {% block title %} {{ parent() }} - {% trans from "Admin" %}Customer Groups List{% endtrans %} {% endblock %} {% block body %} {% block page_title %}

{% trans from "Admin" %}Customer Groups List{% endtrans %}

{% endblock %} {{ block('actionsmenu') }}
{% block list_scopes %} {% endblock %} {% block form_batch_actions %} {% endblock %} {% block list_thead %} {% if isSelect is not defined or isSelect!=1 %} {% endif %} {% if isMulti is defined and isMulti==1 %} {% endif %} {% if isSelect is not defined or isSelect!=1 %} {% endif %} {% endblock %} {% block list_tbody %} {% if CustomerGroups|length > 0 %} {% for CustomerGroup in CustomerGroups %} {% if 1 %} {% set oddclass=(loop.index0 % 2 == 0 ?'ginaodd':'ginaeven') %}{% block list_row %} {% if isSelect is not defined or isSelect!=1 %} {% endif %} {% if isMulti is defined and isMulti==1 %} {% endif %} {% endblock %} {% block list_object_actions %} {% if (isSelect is not defined or isSelect!=1) and (isMulti is not defined or isMulti!=1) %} {% endif %} {% endblock %} {% endif %} {% endfor %} {% endif %} {% endblock %}
{% if sortColumn == 'idCustomerGroup' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Id'|trans({}, 'Admin') }} {% if sortColumn == 'idCustomerGroup' %} {% if sortColumn == 'idCustomerGroup' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'cdCustomerGroup' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Group Code'|trans({}, 'Admin') }} {% if sortColumn == 'cdCustomerGroup' %} {% if sortColumn == 'cdCustomerGroup' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'lbCustomerGroup' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Group Description'|trans({}, 'Admin') }} {% if sortColumn == 'lbCustomerGroup' %} {% if sortColumn == 'lbCustomerGroup' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'idContinentGroup' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Continent group'|trans({}, 'Admin') }} {% if sortColumn == 'idContinentGroup' %} {% if sortColumn == 'idContinentGroup' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'idCustomer' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Customers'|trans({}, 'Admin') }} {% if sortColumn == 'idCustomer' %} {% if sortColumn == 'idCustomer' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'blDeactivated' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Active'|trans({}, 'Admin') }} {% if sortColumn == 'blDeactivated' %} {% if sortColumn == 'blDeactivated' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'dtCreate' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Create at'|trans({}, 'Admin') }} {% if sortColumn == 'dtCreate' %} {% if sortColumn == 'dtCreate' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'dtUpdate' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Update at'|trans({}, 'Admin') }} {% if sortColumn == 'dtUpdate' %} {% if sortColumn == 'dtUpdate' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% trans from "Admingenerator" %}list.header.actions{% endtrans %}
{% block list_td_column_idCustomerGroup %}{{ CustomerGroup.idCustomerGroup }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'idCustomerGroup'!='idHistory' and 'idCustomerGroup' in assocs|keys and CustomerGroup.idCustomerGroup is not null %} {% endif %} {% block list_td_column_cdCustomerGroup %}{{ CustomerGroup.cdCustomerGroup }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'cdCustomerGroup'!='idHistory' and 'cdCustomerGroup' in assocs|keys and CustomerGroup.cdCustomerGroup is not null %} {% endif %} {% block list_td_column_lbCustomerGroup %}{{ CustomerGroup.lbCustomerGroup }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'lbCustomerGroup'!='idHistory' and 'lbCustomerGroup' in assocs|keys and CustomerGroup.lbCustomerGroup is not null %} {% endif %} {% block list_td_column_idContinentGroup %}{{ CustomerGroup.idContinentGroup }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'idContinentGroup'!='idHistory' and 'idContinentGroup' in assocs|keys and CustomerGroup.idContinentGroup is not null %} {% endif %} {% block list_td_column_idCustomer %}
    {% for object in CustomerGroup.idCustomer %}
  • {{ object }}
  • {% endfor %}
{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'idCustomer'!='idHistory' and 'idCustomer' in assocs|keys and CustomerGroup.idCustomer is not null %} {% endif %}
{% block list_td_column_blDeactivated %} {% if CustomerGroup.blDeactivated %} {% else %} {% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'blDeactivated'!='idHistory' and 'blDeactivated' in assocs|keys and CustomerGroup.blDeactivated is not null %} {% endif %} {% block list_td_column_dtCreate %}{% if CustomerGroup.dtCreate %} {% set datetime_format = "d/m/Y" %} {{ CustomerGroup.dtCreate|date(datetime_format) }}{% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'dtCreate'!='idHistory' and 'dtCreate' in assocs|keys and CustomerGroup.dtCreate is not null %} {% endif %} {% block list_td_column_dtUpdate %}{% if CustomerGroup.dtUpdate %} {% set datetime_format = "d/m/Y" %} {{ CustomerGroup.dtUpdate|date(datetime_format) }}{% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'dtUpdate'!='idHistory' and 'dtUpdate' in assocs|keys and CustomerGroup.dtUpdate is not null %} {% endif %}
{% if CustomerGroups|length == 0 %}
{% trans from "Admingenerator" %}list.no.results{% endtrans %}
{% endif %}
{% block list_batch_actions %} {% if isMulti is defined and isMulti==1 %}
{% endif %} {% endblock %}
{% block list_paginator %} {% endblock %}
{% block endform_batch_actions %} {% endblock %}
{% block filters %} {% endblock %} {% block preferences %} {% endblock %} {% endblock %} {% block actionsmenu %}
{% block contentactionsmenu %} {% if (isSelect is not defined or isSelect!=1) and (isMulti is not defined or isMulti!=1) %} {% block list_actions %} {% if isMulti is not defined or isMulti!=1 %} {% if is_expr_granted('hasRole("ROLE_SUPER_ADMINISTRATOR") or hasRole("ROLE_NETWORK_ADMINISTRATOR") or hasRole("ROLE_NETWORK_ENGINEER_ADMIN") or hasRole("ROLE_SALES_ADMINISTRATOR")') %} {% endif %} {% endif %} {% endblock %} {% endif %} {% if (isSelect is defined and isSelect==1) or (isMulti is defined and isMulti==1) %} {% endif %} {% endblock %}
{% endblock %}