{% extends 'base.html.twig' %} {% block title %}Paiements - liste{% endblock %} {% block breadcrumb %} {% endblock %} {% block body %}
Date Paiement | {#Id | #}Nom | Référence | Type | Montant | Moyen de paiement | {#Description | #} {#Date_added | #}Actions |
---|---|---|---|---|---|---|---|---|---|
{{ 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 Afficher les lignes |
Lignes |
{{ include('payment_line/_payment_lines_table.html.twig',{'paymentLines':payment.paymentLines,'show_description':false}) }}
|
||||||||
Aucun paiement à afficher |
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égorie | Débit | Crédit | Total | {% 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 %}
---|---|---|---|
{{ 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 }} |
Moyen | Débit | Crédit | Total | {% 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 %}
---|---|---|---|
{{ 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 }} |