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

{% trans from "Admin" %}Capacities 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 Capacitys|length > 0 %} {% for Capacity in Capacitys %} {% 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 == 'idCapacity' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Id'|trans({}, 'Admin') }} {% if sortColumn == 'idCapacity' %} {% if sortColumn == 'idCapacity' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'cdCapacity' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Capacity Code'|trans({}, 'Admin') }} {% if sortColumn == 'cdCapacity' %} {% if sortColumn == 'cdCapacity' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'lbCapacity' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Capacity Description'|trans({}, 'Admin') }} {% if sortColumn == 'lbCapacity' %} {% if sortColumn == 'lbCapacity' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'maxCapacity' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Maximum Capacity'|trans({}, 'Admin') }} {% if sortColumn == 'maxCapacity' %} {% if sortColumn == 'maxCapacity' 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 %}{{ '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 %} {% if sortColumn == 'dtDeactivated' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Deactivation date'|trans({}, 'Admin') }} {% if sortColumn == 'dtDeactivated' %} {% if sortColumn == 'dtDeactivated' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% trans from "Admingenerator" %}list.header.actions{% endtrans %}
{% block list_td_column_idCapacity %}{{ Capacity.idCapacity }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'idCapacity'!='idHistory' and 'idCapacity' in assocs|keys and Capacity.idCapacity is not null %} {% endif %} {% block list_td_column_cdCapacity %}{{ Capacity.cdCapacity }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'cdCapacity'!='idHistory' and 'cdCapacity' in assocs|keys and Capacity.cdCapacity is not null %} {% endif %} {% block list_td_column_lbCapacity %}{{ Capacity.lbCapacity }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'lbCapacity'!='idHistory' and 'lbCapacity' in assocs|keys and Capacity.lbCapacity is not null %} {% endif %} {% block list_td_column_maxCapacity %}{{ Capacity.maxCapacity }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'maxCapacity'!='idHistory' and 'maxCapacity' in assocs|keys and Capacity.maxCapacity is not null %} {% endif %} {% block list_td_column_blDeactivated %} {% if Capacity.blDeactivated %} {% else %} {% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'blDeactivated'!='idHistory' and 'blDeactivated' in assocs|keys and Capacity.blDeactivated is not null %} {% endif %} {% block list_td_column_dtCreate %}{% if Capacity.dtCreate %} {% set datetime_format = "d/m/Y" %} {{ Capacity.dtCreate|date(datetime_format) }}{% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'dtCreate'!='idHistory' and 'dtCreate' in assocs|keys and Capacity.dtCreate is not null %} {% endif %} {% block list_td_column_dtUpdate %}{% if Capacity.dtUpdate %} {% set datetime_format = "d/m/Y" %} {{ Capacity.dtUpdate|date(datetime_format) }}{% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'dtUpdate'!='idHistory' and 'dtUpdate' in assocs|keys and Capacity.dtUpdate is not null %} {% endif %} {% block list_td_column_dtDeactivated %}{% if Capacity.dtDeactivated %} {% set datetime_format = "d/m/Y" %} {{ Capacity.dtDeactivated|date(datetime_format) }}{% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'dtDeactivated'!='idHistory' and 'dtDeactivated' in assocs|keys and Capacity.dtDeactivated is not null %} {% endif %}
{% if Capacitys|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 %}