{% extends 'entreprise/entreprise_base.html.twig' %} {% block title %}Facture - {{ loyer_mensuel.location.locataire.nomComplet }}{% endblock %} {% block body %} {# --- LOGIQUE DE CONTRÔLE & CONSTANTES --- #} {% set isExpired = (abonnementActuel is null or not abonnementActuel.isActive()) %} {% set canModify = (not isExpired) %} {% set currency = 'F.CFA' %} {% set solde = loyer_mensuel.soldeRestant %} {% set statutPaye = constant('App\\Entity\\Entreprise\\LoyerMensuel::STATUT_PAYE') %} {% set statutRetard = constant('App\\Entity\\Entreprise\\LoyerMensuel::STATUT_EN_RETARD') %}
Période : {{ loyer_mensuel.mois|date_mois }} {{ loyer_mensuel.annee }}
{{ loyer_mensuel.location.locataire.email|default('Aucun email') }}
{{ loyer_mensuel.location.appartement.titre }}
| Désignation | Montant |
|---|---|
| Loyer de base | {{ loyer_mensuel.montantMensuel|number_format(0, '.', ' ') }} {{ currency }} |
| {{ label }} | {{ value|number_format(0, '.', ' ') }} {{ currency }} |
| Total Net à payer | {{ loyer_mensuel.totalDu|number_format(0, '.', ' ') }} {{ currency }} |
Aucun versement enregistré.
| Référence | Date | Mode | Montant | |
|---|---|---|---|---|
| {{ paiement.reference }} | {{ paiement.datePaiement|date('d/m/Y') }} | {{ paiement.methodePaiement }} | {{ paiement.montant|number_format(0, '.', ' ') }} | {% if is_granted('ROLE_ENTREPRISE_COLLAB') %} {% endif %} |