{% extends 'backend.html.twig' %} {% block title %}Tutte le fatture — Mostry{% endblock %} {% block backend %}

Tutte le fatture

Fatture emesse a tutti i clienti della piattaforma.

Fatture emesse {{ fatture|length }}
Totale fatturato {{ totale|number_format(2, ',', '.') }} €
{% if fatture is empty %}

Nessuna fattura emessa finora.

{% else %}
{% for f in fatture %} {% endfor %}
Numero Cliente Data Descrizione Importo Stato
{{ f.numero }} {{ f.owner ? f.owner.email : '—' }} {{ f.dataEmissione|date('d/m/Y') }} {{ f.descrizione ?: '—' }} {{ f.importo|number_format(2, ',', '.') }} € {{ f.stato }}
{% endif %} {% endblock %}