{% include 'portail_client/partials/header.html.twig' %}

Facture {{facture.displayId}}

... FACTURE {% if facture.statut == 'Temporaire' %}TEMPORAIRE{% endif %} {{facture.displayId}}
Date de facturation: {{facture.dateFacturation | date('d/m/Y')}}
Date d'échéance: {{facture.dateLimite | date('d/m/Y')}}
{{societe.nom}}
{{societe.adresse}}
{{societe.codePostal}} {{societe.ville}}
Email: {{societe.email}}
Site: {{societe.site}}
Client
{{facture.client.nom}}
{{facture.client.adresse}}
{{facture.client.codePostal}} {{facture.client.ville}}
{{facture.client.pays}}
{% for ligne in lignes %} {% endfor %}
Article Quantité Coût Total
{{ligne.nom}}
{{ligne.description |raw }}
{{ligne.quantite}} {{ligne.prixUnitaire|number_format(2, ',', ' ') }} € {{ligne.prixTotal|number_format(2, ',', ' ') }} € {% if facture.statut == 'Temporaire' %} {% endif %}
{% if facture.statut == 'Temporaire' %}
{% endif %}
{% if facture.statut == 'Temporaire' or ( facture.statut != 'Temporaire' and facture.remiseType is not null ) %} {% endif %} {% if facture.remiseType is not null %} {% endif %} {% if facture.paiement != 0 %} {% endif %}
Sous-Total HT {{facture.totalHT|number_format(2, ',', ' ') }} €
Remise {% if facture.remiseType is not null %}{{facture.remise|number_format(2, ',', ' ') }} {% if facture.remiseType == 'pourcentage' %} % {% else %} €{% endif %}{% endif %} {% if facture.statut == 'Temporaire' %} {% if facture.remiseType is null %} {% else %} {% endif %} {% endif %}
Total après remise {{facture.totalApresRemise|number_format(2, ',', ' ') }} €
TVA (20%) {{facture.tax|number_format(2, ',', ' ') }} €
Total TTC {{facture.totalTTC|number_format(2, ',', ' ') }} €
Payé {{facture.paiement|number_format(2, ',', ' ') }} €
Solde dû {{ (facture.totalTTC|default(0) - facture.paiement|default(0)) | number_format(2, ',', ' ') }} €
{% if facture.projet is not null %} {% endif %}
Statut: {{facture.statut}}
Dernier e-mail envoyé: Jamais

{% if facture.devis is not null %}
Créée à partir du devis: {{facture.devis.displayId}}
{% endif %}
{% include 'portail_client/partials/footer.html.twig' %}