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

{% trans from "Admin" %}Cabinets 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 CabinetInstances|length > 0 %} {% for CabinetInstance in CabinetInstances %} {% 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 == 'idProvider' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Provider'|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 == 'idCabinetInstance' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Id'|trans({}, 'Admin') }} {% if sortColumn == 'idCabinetInstance' %} {% if sortColumn == 'idCabinetInstance' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'cdCabinetInstance' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Cabinet Code'|trans({}, 'Admin') }} {% if sortColumn == 'cdCabinetInstance' %} {% if sortColumn == 'cdCabinetInstance' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'lbCabinetInstance' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Cabinet Description'|trans({}, 'Admin') }} {% if sortColumn == 'lbCabinetInstance' %} {% if sortColumn == 'lbCabinetInstance' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'cdSerialNumber' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Cabinet serial number'|trans({}, 'Admin') }} {% if sortColumn == 'cdSerialNumber' %} {% if sortColumn == 'cdSerialNumber' 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_idProvider %}{{ CabinetInstance.idProvider }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'idProvider'!='idHistory' and 'idProvider' in assocs|keys and CabinetInstance.idProvider is not null %} {% endif %} {% block list_td_column_idProviderAddress %}{{ CabinetInstance.idProviderAddress }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'idProviderAddress'!='idHistory' and 'idProviderAddress' in assocs|keys and CabinetInstance.idProviderAddress is not null %} {% endif %} {% block list_td_column_idContact %}{{ CabinetInstance.idContact }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'idContact'!='idHistory' and 'idContact' in assocs|keys and CabinetInstance.idContact is not null %} {% endif %} {% block list_td_column_idCabinetInstance %}{{ CabinetInstance.idCabinetInstance }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'idCabinetInstance'!='idHistory' and 'idCabinetInstance' in assocs|keys and CabinetInstance.idCabinetInstance is not null %} {% endif %} {% block list_td_column_cdCabinetInstance %}{{ CabinetInstance.cdCabinetInstance }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'cdCabinetInstance'!='idHistory' and 'cdCabinetInstance' in assocs|keys and CabinetInstance.cdCabinetInstance is not null %} {% endif %} {% block list_td_column_lbCabinetInstance %}{{ CabinetInstance.lbCabinetInstance }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'lbCabinetInstance'!='idHistory' and 'lbCabinetInstance' in assocs|keys and CabinetInstance.lbCabinetInstance is not null %} {% endif %} {% block list_td_column_cdSerialNumber %}{{ CabinetInstance.cdSerialNumber }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'cdSerialNumber'!='idHistory' and 'cdSerialNumber' in assocs|keys and CabinetInstance.cdSerialNumber is not null %} {% endif %} {% block list_td_column_blDeactivated %} {% if CabinetInstance.blDeactivated %} {% else %} {% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'blDeactivated'!='idHistory' and 'blDeactivated' in assocs|keys and CabinetInstance.blDeactivated is not null %} {% endif %} {% block list_td_column_dtDeactivated %}{% if CabinetInstance.dtDeactivated %} {% set datetime_format = "d/m/Y" %} {{ CabinetInstance.dtDeactivated|date(datetime_format) }}{% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'dtDeactivated'!='idHistory' and 'dtDeactivated' in assocs|keys and CabinetInstance.dtDeactivated is not null %} {% endif %} {% block list_td_column_dtCreate %}{% if CabinetInstance.dtCreate %} {% set datetime_format = "d/m/Y" %} {{ CabinetInstance.dtCreate|date(datetime_format) }}{% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'dtCreate'!='idHistory' and 'dtCreate' in assocs|keys and CabinetInstance.dtCreate is not null %} {% endif %} {% block list_td_column_dtUpdate %}{% if CabinetInstance.dtUpdate %} {% set datetime_format = "d/m/Y" %} {{ CabinetInstance.dtUpdate|date(datetime_format) }}{% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'dtUpdate'!='idHistory' and 'dtUpdate' in assocs|keys and CabinetInstance.dtUpdate is not null %} {% endif %}
{% if CabinetInstances|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 %}