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

{% trans from "Admin" %}Commercial routes 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 CommercialRoutes|length > 0 %} {% for CommercialRoute in CommercialRoutes %} {% 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 == 'cdCommercialRoute' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Commercial Route Code'|trans({}, 'Admin') }} {% if sortColumn == 'cdCommercialRoute' %} {% if sortColumn == 'cdCommercialRoute' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'idCityA' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'A End'|trans({}, 'Admin') }} {% if sortColumn == 'idCityA' %} {% if sortColumn == 'idCityA' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'idCityB' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'B End'|trans({}, 'Admin') }} {% if sortColumn == 'idCityB' %} {% if sortColumn == 'idCityB' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'lbCommercialRoute' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Commercial Route Description'|trans({}, 'Admin') }} {% if sortColumn == 'lbCommercialRoute' %} {% if sortColumn == 'lbCommercialRoute' 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 %} {% trans from "Admingenerator" %}list.header.actions{% endtrans %}
{% block list_td_column_cdCommercialRoute %}{{ CommercialRoute.cdCommercialRoute }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'cdCommercialRoute'!='idHistory' and 'cdCommercialRoute' in assocs|keys and CommercialRoute.cdCommercialRoute is not null %} {% endif %} {% block list_td_column_idCityA %}{{ CommercialRoute.idCityA }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'idCityA'!='idHistory' and 'idCityA' in assocs|keys and CommercialRoute.idCityA is not null %} {% endif %} {% block list_td_column_idCityB %}{{ CommercialRoute.idCityB }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'idCityB'!='idHistory' and 'idCityB' in assocs|keys and CommercialRoute.idCityB is not null %} {% endif %} {% block list_td_column_lbCommercialRoute %}{{ CommercialRoute.lbCommercialRoute }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'lbCommercialRoute'!='idHistory' and 'lbCommercialRoute' in assocs|keys and CommercialRoute.lbCommercialRoute is not null %} {% endif %} {% block list_td_column_blDeactivated %} {% if CommercialRoute.blDeactivated %} {% else %} {% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'blDeactivated'!='idHistory' and 'blDeactivated' in assocs|keys and CommercialRoute.blDeactivated is not null %} {% endif %}
{% if CommercialRoutes|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_EQUIPMENT_ADMINISTRATOR")') %} {% endif %} {% endif %} {% endblock %} {% endif %} {% if (isSelect is defined and isSelect==1) or (isMulti is defined and isMulti==1) %} {% endif %} {% endblock %}
{% endblock %}