{% extends 'base.html.twig' %} {% block title %}Paiements - liste{% endblock %} {% block breadcrumb %} {% endblock %} {% block body %}

Liste des paiements

Raccourcis : Ce mois-ci | Mois glissant | Cette année | Année glissante | Depuis toujours
{% block search %}
{% endblock %} {# #} {# #} {# #} {% for payment in payments %} {# #} {# #} {# #} {% else %} {% endfor %}
Date PaiementIdNom Référence Type Montant Moyen de paiementDescriptionDate_addedActions
{{ payment.datePayment ? payment.datePayment|date('d/m/Y') : '' }}{{ payment.id }}{{ payment.name }} {{ payment.reference }} {{ payment.type ? 'Débit' : 'Crédit' }} {{ payment.type ? '-' : '+' }} {{ payment.amount|number_format(2) }} {{ 'EUR'|currency_symbol }} {{ payment.getMeanOfPaymentLabel() }}{{ payment.description }}{{ payment.dateAdded ? payment.dateAdded|date('d/m/Y H:i:s') : '' }}  Afficher  Modifier
Lignes
{{ include('payment_line/_payment_lines_table.html.twig',{'paymentLines':payment.paymentLines,'show_description':false}) }}
Aucun paiement à afficher
{{ paginer|raw }}

Statistiques

Montants
{% set total = (stats.amounts.plus - stats.amounts.minus) %}
Type Montant
Débit - {{ stats.amounts.minus|number_format(2) }} {{ 'EUR'|currency_symbol }}
Crédit + {{ stats.amounts.plus|number_format(2) }} {{ 'EUR'|currency_symbol }}
Total {{ total|number_format(2) }} {{ 'EUR'|currency_symbol }}
Catégories
{% set total = 0 %} {% set minus = 0 %} {% set plus = 0 %} {% for category, category_stats in stats.categories %} {% set category_total = (category_stats.plus - category_stats.minus) %} {% set total = total + category_total %} {% set minus = minus + category_stats.minus %} {% set plus = plus + category_stats.plus %} {% endfor %}
Catégorie Débit Crédit Total
{{ category }} - {{ category_stats.minus|number_format(2) }} {{ 'EUR'|currency_symbol }} + {{ category_stats.plus|number_format(2) }} {{ 'EUR'|currency_symbol }} {{ category_total|number_format(2) }} {{ 'EUR'|currency_symbol }}
Total - {{ minus|number_format(2) }} {{ 'EUR'|currency_symbol }} + {{ plus|number_format(2) }} {{ 'EUR'|currency_symbol }} {{ total|number_format(2) }} {{ 'EUR'|currency_symbol }}
Moyens de paiement
{% set total = 0 %} {% set minus = 0 %} {% set plus = 0 %} {% for mop, mop_stats in stats.means %} {% set mop_total = (mop_stats.plus - mop_stats.minus) %} {% set total = total + mop_total %} {% set minus = minus + mop_stats.minus %} {% set plus = plus + mop_stats.plus %} {% endfor %}
Moyen Débit Crédit Total
{{ mop }} - {{ mop_stats.minus|number_format(2) }} {{ 'EUR'|currency_symbol }} + {{ mop_stats.plus|number_format(2) }} {{ 'EUR'|currency_symbol }} {{ mop_total|number_format(2) }} {{ 'EUR'|currency_symbol }}
Total - {{ minus|number_format(2) }} {{ 'EUR'|currency_symbol }} + {{ plus|number_format(2) }} {{ 'EUR'|currency_symbol }} {{ total|number_format(2) }} {{ 'EUR'|currency_symbol }}
{% endblock %}