{% extends "base.html.twig" %} {% block body %} {% set url = "" %} {% if app.user.is('admin') %} {% set url = '?client='~client.id %} {% endif %}
Retour
Facturations :
{% if items | length > 0 %} {% for item in items %} {% if item.type == 'Commande' or item.type == 'Réparation' or (item.type == 'Intervention' and not item.hasReparation) %} {% endif %} {% endfor %}
Date Type Numero Statut Contenu Montant TTC
{{ item.getFormattedDate() }} {{ item.type }} {{ item.numero }} {% if item.type == 'Réparation' and item.hasIntervention %}
{{ item.intervention }} {% endif %}
{{ item.status }}
{{ item.getTotalTTC() }} € {% if item.type == 'Commande' %} Imprimer la facture {% elseif item.type == 'Réparation' %} Imprimer la facture {% elseif item.type == 'Intervention' %} Imprimer la facture {% endif %}
{% else %}

Aucune facturation n'a été effectué.

{% endif %} {% endblock %}