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

{% trans from "Admin" %}Customers 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 Customers|length > 0 %} {% for Customer in Customers %} {% 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 == 'idCustomer' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Id'|trans({}, 'Admin') }} {% if sortColumn == 'idCustomer' %} {% if sortColumn == 'idCustomer' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'cdMagellan' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Magellan Account No'|trans({}, 'Admin') }} {% if sortColumn == 'cdMagellan' %} {% if sortColumn == 'cdMagellan' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'cdCustomer' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Account No'|trans({}, 'Admin') }} {% if sortColumn == 'cdCustomer' %} {% if sortColumn == 'cdCustomer' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'lbCustomer' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Customer Name'|trans({}, 'Admin') }} {% if sortColumn == 'lbCustomer' %} {% if sortColumn == 'lbCustomer' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'idCustomerNature' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Customer Nature'|trans({}, 'Admin') }} {% if sortColumn == 'idCustomerNature' %} {% if sortColumn == 'idCustomerNature' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'idCustomerManager' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Customer Service Manager'|trans({}, 'Admin') }} {% if sortColumn == 'idCustomerManager' %} {% if sortColumn == 'idCustomerManager' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'idFirmType' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Type Of Firm'|trans({}, 'Admin') }} {% if sortColumn == 'idFirmType' %} {% if sortColumn == 'idFirmType' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'idAccountManager' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Account Manager'|trans({}, 'Admin') }} {% if sortColumn == 'idAccountManager' %} {% if sortColumn == 'idAccountManager' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'idBranch' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Managing Branch Desc'|trans({}, 'Admin') }} {% if sortColumn == 'idBranch' %} {% if sortColumn == 'idBranch' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'idActivity' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Etrali Activity'|trans({}, 'Admin') }} {% if sortColumn == 'idActivity' %} {% if sortColumn == 'idActivity' 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 == 'dtDeactivated' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Deactivation Date'|trans({}, 'Admin') }} {% if sortColumn == 'dtDeactivated' %} {% if sortColumn == 'dtDeactivated' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'dtCreate' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Creation Date'|trans({}, 'Admin') }} {% if sortColumn == 'dtCreate' %} {% if sortColumn == 'dtCreate' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'dtUpdate' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Modification Date'|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_idCustomer %}{{ Customer.idCustomer }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'idCustomer'!='idHistory' and 'idCustomer' in assocs|keys and Customer.idCustomer is not null %} {% endif %} {% block list_td_column_cdMagellan %}{{ Customer.cdMagellan }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'cdMagellan'!='idHistory' and 'cdMagellan' in assocs|keys and Customer.cdMagellan is not null %} {% endif %} {% block list_td_column_cdCustomer %}{{ Customer.cdCustomer }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'cdCustomer'!='idHistory' and 'cdCustomer' in assocs|keys and Customer.cdCustomer is not null %} {% endif %} {% block list_td_column_lbCustomer %}{{ Customer.lbCustomer }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'lbCustomer'!='idHistory' and 'lbCustomer' in assocs|keys and Customer.lbCustomer is not null %} {% endif %} {% block list_td_column_idCustomerNature %}{{ Customer.idCustomerNature }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'idCustomerNature'!='idHistory' and 'idCustomerNature' in assocs|keys and Customer.idCustomerNature is not null %} {% endif %} {% block list_td_column_idCustomerManager %}{{ Customer.idCustomerManager }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'idCustomerManager'!='idHistory' and 'idCustomerManager' in assocs|keys and Customer.idCustomerManager is not null %} {% endif %} {% block list_td_column_idFirmType %}{{ Customer.idFirmType }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'idFirmType'!='idHistory' and 'idFirmType' in assocs|keys and Customer.idFirmType is not null %} {% endif %} {% block list_td_column_idAccountManager %}{{ Customer.idAccountManager }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'idAccountManager'!='idHistory' and 'idAccountManager' in assocs|keys and Customer.idAccountManager is not null %} {% endif %} {% block list_td_column_idBranch %}{{ Customer.idBranch }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'idBranch'!='idHistory' and 'idBranch' in assocs|keys and Customer.idBranch is not null %} {% endif %} {% block list_td_column_idActivity %}{{ Customer.idActivity }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'idActivity'!='idHistory' and 'idActivity' in assocs|keys and Customer.idActivity is not null %} {% endif %} {% block list_td_column_blDeactivated %} {% if Customer.blDeactivated %} {% else %} {% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'blDeactivated'!='idHistory' and 'blDeactivated' in assocs|keys and Customer.blDeactivated is not null %} {% endif %} {% block list_td_column_dtDeactivated %}{% if Customer.dtDeactivated %} {% set datetime_format = "d/m/Y" %} {{ Customer.dtDeactivated|date(datetime_format) }}{% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'dtDeactivated'!='idHistory' and 'dtDeactivated' in assocs|keys and Customer.dtDeactivated is not null %} {% endif %} {% block list_td_column_dtCreate %}{% if Customer.dtCreate %} {% set datetime_format = "d/m/Y" %} {{ Customer.dtCreate|date(datetime_format) }}{% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'dtCreate'!='idHistory' and 'dtCreate' in assocs|keys and Customer.dtCreate is not null %} {% endif %} {% block list_td_column_dtUpdate %}{% if Customer.dtUpdate %} {% set datetime_format = "d/m/Y" %} {{ Customer.dtUpdate|date(datetime_format) }}{% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'dtUpdate'!='idHistory' and 'dtUpdate' in assocs|keys and Customer.dtUpdate is not null %} {% endif %}
{% if Customers|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 %}