{% extends 'admin/base.html.twig' %} {% block title %}Facture {{ invoice.number }}{% endblock %} {% block breadcrumb %}Mes factures {{ invoice.number }}{% endblock %} {# Une facture à l'écran (CustomerInvoices::present). Le PDF émis par Stripe reste la pièce officielle. Variables : site, invoice #} {% macro euros(amount) %}{{ amount|number_format(2, ',', ' ') }} €{% endmacro %} {% import _self as m %} {% block body %}
Toutes mes factures
{% if invoice.payUrl %} Régler cette facture {% endif %} {% if invoice.pdfUrl %} Télécharger le PDF {% endif %}

{{ invoice.seller }}

Abonnement Izibrick

Facture {{ invoice.number }}

Émise le {{ invoice.date ? invoice.date|date('d/m/Y') }}

{{ invoice.statusLabel }}{% if invoice.paidAt %} le {{ invoice.paidAt|date('d/m/Y') }}{% endif %}

Facturé à

{% if invoice.customer.name %}

{{ invoice.customer.name }}

{% endif %} {% for line in invoice.customer.address %}

{{ line }}

{% endfor %} {% if invoice.customer.email %}

{{ invoice.customer.email }}

{% endif %} {% for taxId in invoice.customer.taxIds %}

N° TVA : {{ taxId }}

{% endfor %}
{% if invoice.periodStart and invoice.periodEnd %}

Période

du {{ invoice.periodStart|date('d/m/Y') }}
au {{ invoice.periodEnd|date('d/m/Y') }}

{% endif %}
{% for line in invoice.lines %} {% endfor %}
Description HT TVA TTC
{{ line.title }} {% if line.periodStart and line.periodEnd %}
du {{ line.periodStart|date('d/m/Y') }} au {{ line.periodEnd|date('d/m/Y') }}
{% endif %}
{{ m.euros(line.ht) }} {{ m.euros(line.tax) }} {{ m.euros(line.ttc) }}
Total HT
{{ m.euros(invoice.ht) }}
{{ invoice.taxLabel }}
{{ m.euros(invoice.tax) }}
Total TTC
{{ m.euros(invoice.ttc) }}
{% if invoice.amountDue > 0 %}
Reste à régler
{{ m.euros(invoice.amountDue) }}
{% endif %}
{% if invoice.isTrialStart %}

Facture d'ouverture à 0 € : votre abonnement a démarré pendant le mois offert, le premier prélèvement suit la fin de l'essai.

{% endif %}

Aperçu à l'écran. Le PDF téléchargeable, émis par notre prestataire de paiement Stripe, fait foi.

{% include 'admin/invoice/_styles.html.twig' %} {% endblock %}