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

{% trans from "Admin" %}Cards 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 CardInstances|length > 0 %} {% for CardInstance in CardInstances %} {% 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 == 'idCardInstance' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Id'|trans({}, 'Admin') }} {% if sortColumn == 'idCardInstance' %} {% if sortColumn == 'idCardInstance' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'cdCardInstance' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Card Code'|trans({}, 'Admin') }} {% if sortColumn == 'cdCardInstance' %} {% if sortColumn == 'cdCardInstance' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'lbCardInstance' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Card Description'|trans({}, 'Admin') }} {% if sortColumn == 'lbCardInstance' %} {% if sortColumn == 'lbCardInstance' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'cdSerialNumber' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Card 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 %}{{ CardInstance.idProvider }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'idProvider'!='idHistory' and 'idProvider' in assocs|keys and CardInstance.idProvider is not null %} {% endif %} {% block list_td_column_idProviderAddress %}{{ CardInstance.idProviderAddress }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'idProviderAddress'!='idHistory' and 'idProviderAddress' in assocs|keys and CardInstance.idProviderAddress is not null %} {% endif %} {% block list_td_column_idContact %}{{ CardInstance.idContact }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'idContact'!='idHistory' and 'idContact' in assocs|keys and CardInstance.idContact is not null %} {% endif %} {% block list_td_column_idCardInstance %}{{ CardInstance.idCardInstance }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'idCardInstance'!='idHistory' and 'idCardInstance' in assocs|keys and CardInstance.idCardInstance is not null %} {% endif %} {% block list_td_column_cdCardInstance %}{{ CardInstance.cdCardInstance }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'cdCardInstance'!='idHistory' and 'cdCardInstance' in assocs|keys and CardInstance.cdCardInstance is not null %} {% endif %} {% block list_td_column_lbCardInstance %}{{ CardInstance.lbCardInstance }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'lbCardInstance'!='idHistory' and 'lbCardInstance' in assocs|keys and CardInstance.lbCardInstance is not null %} {% endif %} {% block list_td_column_cdSerialNumber %}{{ CardInstance.cdSerialNumber }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'cdSerialNumber'!='idHistory' and 'cdSerialNumber' in assocs|keys and CardInstance.cdSerialNumber is not null %} {% endif %} {% block list_td_column_blDeactivated %} {% if CardInstance.blDeactivated %} {% else %} {% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'blDeactivated'!='idHistory' and 'blDeactivated' in assocs|keys and CardInstance.blDeactivated is not null %} {% endif %} {% block list_td_column_dtDeactivated %}{% if CardInstance.dtDeactivated %} {% set datetime_format = "d/m/Y" %} {{ CardInstance.dtDeactivated|date(datetime_format) }}{% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'dtDeactivated'!='idHistory' and 'dtDeactivated' in assocs|keys and CardInstance.dtDeactivated is not null %} {% endif %} {% block list_td_column_dtCreate %}{% if CardInstance.dtCreate %} {% set datetime_format = "d/m/Y" %} {{ CardInstance.dtCreate|date(datetime_format) }}{% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'dtCreate'!='idHistory' and 'dtCreate' in assocs|keys and CardInstance.dtCreate is not null %} {% endif %} {% block list_td_column_dtUpdate %}{% if CardInstance.dtUpdate %} {% set datetime_format = "d/m/Y" %} {{ CardInstance.dtUpdate|date(datetime_format) }}{% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'dtUpdate'!='idHistory' and 'dtUpdate' in assocs|keys and CardInstance.dtUpdate is not null %} {% endif %}
{% if CardInstances|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 %}