aboutsummaryrefslogtreecommitdiff
path: root/templates/report/report.j2
blob: d36f3cebe3debd5459912e4bad4714e85768b207 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{% import "report/list.j2" as list %}

{% if exceeding_payers -%}

  Équilibre :

  {% for exceeding_payer in exceeding_payers -%}
    - {{ exceeding_payer.0 }} : +{{ exceeding_payer.1 | euros() }}
  {% endfor %}
{% else -%}

  Les paiements sont équilibrés.

{% endif %}{#

#}{{ list::list(
  resource="paiement",
  action="créé",
  xs=payments | filter(attribute="action", value="Created")
) }}{#

#}{{ list::list(
  resource="paiement",
  action="modifié",
  xs=payments | filter(attribute="action", value="Updated")
) }}{#

#}{{ list::list(
  resource="paiement",
  action="supprimé",
  xs=payments | filter(attribute="action", value="Deleted")
) }}{#

#}{{ list::list(
  resource="revenu",
  action="créé",
  xs=incomes | filter(attribute="action", value="Created")
) }}{#

#}{{ list::list(
  resource="revenu",
  action="modifié",
  xs=incomes | filter(attribute="action", value="Updated")
) }}{#

#}{{ list::list(
  resource="revenu",
  action="supprimé",
  xs=incomes | filter(attribute="action", value="Deleted")
) }}