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

{% trans from "Admin" %}Billing 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 BillingServices|length > 0 %} {% for BillingService in BillingServices %} {% 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 == 'idBillingService' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Id'|trans({}, 'Admin') }} {% if sortColumn == 'idBillingService' %} {% if sortColumn == 'idBillingService' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'idCustomer' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Billed customer'|trans({}, 'Admin') }} {% if sortColumn == 'idCustomer' %} {% if sortColumn == 'idCustomer' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'idAddress' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Billing address'|trans({}, 'Admin') }} {% if sortColumn == 'idAddress' %} {% if sortColumn == 'idAddress' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'idContact' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Billing contact'|trans({}, 'Admin') }} {% if sortColumn == 'idContact' %} {% if sortColumn == 'idContact' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'idBranch' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Billing branch'|trans({}, 'Admin') }} {% if sortColumn == 'idBranch' %} {% if sortColumn == 'idBranch' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'cdContract' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Contract ref'|trans({}, 'Admin') }} {% if sortColumn == 'cdContract' %} {% if sortColumn == 'cdContract' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'cdAccount' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Magellan account nb'|trans({}, 'Admin') }} {% if sortColumn == 'cdAccount' %} {% if sortColumn == 'cdAccount' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'idBillingGroup' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Billing group'|trans({}, 'Admin') }} {% if sortColumn == 'idBillingGroup' %} {% if sortColumn == 'idBillingGroup' 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 == 'idNoticePeriod' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Notice period'|trans({}, 'Admin') }} {% if sortColumn == 'idNoticePeriod' %} {% if sortColumn == 'idNoticePeriod' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% if sortColumn == 'idBillingFrequency' and sortOrder == 'ASC' %} {% else %} {% endif %}{{ 'Billing frequency'|trans({}, 'Admin') }} {% if sortColumn == 'idBillingFrequency' %} {% if sortColumn == 'idBillingFrequency' and sortOrder == 'ASC' %} {% else %} {% endif %} {% endif %} {% trans from "Admingenerator" %}list.header.actions{% endtrans %}
{% block list_td_column_idBillingService %}{{ BillingService.idBillingService }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'idBillingService'!='idHistory' and 'idBillingService' in assocs|keys and BillingService.idBillingService is not null %} {% endif %} {% block list_td_column_idCustomer %}{{ BillingService.idCustomer }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'idCustomer'!='idHistory' and 'idCustomer' in assocs|keys and BillingService.idCustomer is not null %} {% endif %} {% block list_td_column_idAddress %}{{ BillingService.idAddress }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'idAddress'!='idHistory' and 'idAddress' in assocs|keys and BillingService.idAddress is not null %} {% endif %} {% block list_td_column_idContact %}{{ BillingService.idContact }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'idContact'!='idHistory' and 'idContact' in assocs|keys and BillingService.idContact is not null %} {% endif %} {% block list_td_column_idBranch %}{{ BillingService.idBranch }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'idBranch'!='idHistory' and 'idBranch' in assocs|keys and BillingService.idBranch is not null %} {% endif %} {% block list_td_column_cdContract %}{{ BillingService.cdContract }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'cdContract'!='idHistory' and 'cdContract' in assocs|keys and BillingService.cdContract is not null %} {% endif %} {% block list_td_column_cdAccount %}{{ BillingService.cdAccount }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'cdAccount'!='idHistory' and 'cdAccount' in assocs|keys and BillingService.cdAccount is not null %} {% endif %} {% block list_td_column_idBillingGroup %}{{ BillingService.idBillingGroup }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'idBillingGroup'!='idHistory' and 'idBillingGroup' in assocs|keys and BillingService.idBillingGroup is not null %} {% endif %} {% block list_td_column_dtCreate %}{% if BillingService.dtCreate %} {% set datetime_format = "d/m/Y" %} {{ BillingService.dtCreate|date(datetime_format) }}{% endif %}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'dtCreate'!='idHistory' and 'dtCreate' in assocs|keys and BillingService.dtCreate is not null %} {% endif %} {% block list_td_column_idNoticePeriod %}{{ BillingService.idNoticePeriod }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'idNoticePeriod'!='idHistory' and 'idNoticePeriod' in assocs|keys and BillingService.idNoticePeriod is not null %} {% endif %} {% block list_td_column_idBillingFrequency %}{{ BillingService.idBillingFrequency }}{% endblock %} {% if (isSelect is not defined or isSelect!=1) and 'idBillingFrequency'!='idHistory' and 'idBillingFrequency' in assocs|keys and BillingService.idBillingFrequency is not null %} {% endif %} {% if is_expr_granted('hasRole("ROLE_SUPER_ADMINISTRATOR") or hasRole("ROLE_NETWORK_ACCOUNTING") or hasRole("ROLE_NETWORK_ADMINISTRATOR") or hasRole("ROLE_NETWORK_ENGINEER_ADMIN")', BillingService) %} {% endif %}
{% if BillingServices|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_NETWORK_ACCOUNTING") or hasRole("ROLE_NETWORK_ADMINISTRATOR") or hasRole("ROLE_NETWORK_ENGINEER_ADMIN")') %} {% endif %} {% endif %} {% endblock %} {% endif %} {% if (isSelect is defined and isSelect==1) or (isMulti is defined and isMulti==1) %} {% endif %} {% endblock %}
{% endblock %}