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

{% trans from "Admin" %}Equipments 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 Equipments|length > 0 %} {% for Equipment in Equipments %} {% 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 == 'idEquipment' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Id'|trans({}, 'Admin') }} {% if sortColumn == 'idEquipment' %} {% if sortColumn == 'idEquipment' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'cdEquipment' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Equipment Code'|trans({}, 'Admin') }} {% if sortColumn == 'cdEquipment' %} {% if sortColumn == 'cdEquipment' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'lbEquipment' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Equipment Description'|trans({}, 'Admin') }} {% if sortColumn == 'lbEquipment' %} {% if sortColumn == 'lbEquipment' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'idProvider' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Provider name'|trans({}, 'Admin') }} {% if sortColumn == 'idProvider' %} {% if sortColumn == 'idProvider' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'idProviderAddress' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Provider billing address'|trans({}, 'Admin') }} {% if sortColumn == 'idProviderAddress' %} {% if sortColumn == 'idProviderAddress' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'idContact' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Contact'|trans({}, 'Admin') }} {% if sortColumn == 'idContact' %} {% if sortColumn == 'idContact' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'nbCards' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Number of cards'|trans({}, 'Admin') }} {% if sortColumn == 'nbCards' %} {% if sortColumn == 'nbCards' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'nbUnits' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Number of units'|trans({}, 'Admin') }} {% if sortColumn == 'nbUnits' %} {% if sortColumn == 'nbUnits' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'nbSlots' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Number of slots'|trans({}, 'Admin') }} {% if sortColumn == 'nbSlots' %} {% if sortColumn == 'nbSlots' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'blHasSlot' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Has slots'|trans({}, 'Admin') }} {% if sortColumn == 'blHasSlot' %} {% if sortColumn == 'blHasSlot' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'blCardHorizontal' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Horizontal card'|trans({}, 'Admin') }} {% if sortColumn == 'blCardHorizontal' %} {% if sortColumn == 'blCardHorizontal' 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 %}{{ 'Update 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_idEquipment %}{{ Equipment.idEquipment }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'idEquipment'!='idHistory' and 'idEquipment' in assocs|keys and Equipment.idEquipment is not null %} {% endif %} {% block list_td_column_cdEquipment %}{{ Equipment.cdEquipment }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'cdEquipment'!='idHistory' and 'cdEquipment' in assocs|keys and Equipment.cdEquipment is not null %} {% endif %} {% block list_td_column_lbEquipment %}{{ Equipment.lbEquipment }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'lbEquipment'!='idHistory' and 'lbEquipment' in assocs|keys and Equipment.lbEquipment is not null %} {% endif %} {% block list_td_column_idProvider %}{{ Equipment.idProvider }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'idProvider'!='idHistory' and 'idProvider' in assocs|keys and Equipment.idProvider is not null %} {% endif %} {% block list_td_column_idProviderAddress %}{{ Equipment.idProviderAddress }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'idProviderAddress'!='idHistory' and 'idProviderAddress' in assocs|keys and Equipment.idProviderAddress is not null %} {% endif %} {% block list_td_column_idContact %}{{ Equipment.idContact }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'idContact'!='idHistory' and 'idContact' in assocs|keys and Equipment.idContact is not null %} {% endif %} {% block list_td_column_nbCards %}{{ Equipment.nbCards }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'nbCards'!='idHistory' and 'nbCards' in assocs|keys and Equipment.nbCards is not null %} {% endif %} {% block list_td_column_nbUnits %}{{ Equipment.nbUnits }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'nbUnits'!='idHistory' and 'nbUnits' in assocs|keys and Equipment.nbUnits is not null %} {% endif %} {% block list_td_column_nbSlots %}{{ Equipment.nbSlots }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'nbSlots'!='idHistory' and 'nbSlots' in assocs|keys and Equipment.nbSlots is not null %} {% endif %} {% block list_td_column_blHasSlot %} {% if Equipment.blHasSlot %} {% else %} {% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'blHasSlot'!='idHistory' and 'blHasSlot' in assocs|keys and Equipment.blHasSlot is not null %} {% endif %} {% block list_td_column_blCardHorizontal %} {% if Equipment.blCardHorizontal %} {% else %} {% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'blCardHorizontal'!='idHistory' and 'blCardHorizontal' in assocs|keys and Equipment.blCardHorizontal is not null %} {% endif %} {% block list_td_column_blDeactivated %} {% if Equipment.blDeactivated %} {% else %} {% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'blDeactivated'!='idHistory' and 'blDeactivated' in assocs|keys and Equipment.blDeactivated is not null %} {% endif %} {% block list_td_column_dtDeactivated %}{% if Equipment.dtDeactivated %} {% set datetime_format = "d/m/Y" %} {{ Equipment.dtDeactivated|date(datetime_format) }}{% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'dtDeactivated'!='idHistory' and 'dtDeactivated' in assocs|keys and Equipment.dtDeactivated is not null %} {% endif %} {% block list_td_column_dtCreate %}{% if Equipment.dtCreate %} {% set datetime_format = "d/m/Y" %} {{ Equipment.dtCreate|date(datetime_format) }}{% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'dtCreate'!='idHistory' and 'dtCreate' in assocs|keys and Equipment.dtCreate is not null %} {% endif %} {% block list_td_column_dtUpdate %}{% if Equipment.dtUpdate %} {% set datetime_format = "d/m/Y" %} {{ Equipment.dtUpdate|date(datetime_format) }}{% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'dtUpdate'!='idHistory' and 'dtUpdate' in assocs|keys and Equipment.dtUpdate is not null %} {% endif %}
{% if Equipments|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 %} {% endif %} {% endblock %} {% endif %} {% if (isSelect is defined and isSelect==1) or (isMulti is defined and isMulti==1) %} {% endif %} {% endblock %}
{% endblock %}