{% extends 'base.html.twig' %} {% block title %}Gestion des comptes{% endblock %} {% block titre_page %}Gestion du compte - {{ compteSaison.compte.name }}{% endblock %} {% block resume_page %}Vue d'ensemble du compte {{ compteSaison.compte.name }}{% endblock %} {% block description_page %}Est-ce que le compte se porte bien ?{% endblock %} {% block body %}

Solde

{{ compteSaison.balance | currency }}
Opérations ({{ operations|length }} opérations)
{% if compteSaison.saison.active %} Nouvelle opération {% endif %}
{% for operation in operations %} {% endfor %}
Cat. Date Libellé Débit Crédit Facture
{{ operation.date|date('d/m/Y') }} {{ operation.label }} {% if operation.montant < 0 %} {{ operation.montant|currency }} {% endif %} {% if operation.montant >= 0 %} {{ operation.montant|currency }} {% endif %} {% if operation.facture %} {% endif %} {% if compteSaison.saison.active or not operation.facture %}
{% endif %}
Total : {{ operations|total('debit')|currency }} {{ operations|total('credit')|currency }}
{% endblock %} {% block modals %} {% endblock %} {% block javascripts %} {% endblock %}