aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJoris Guyonvarch2025-08-30 09:32:27 +0200
committerJoris Guyonvarch2025-08-30 09:32:27 +0200
commit2a6bcee45086bca9128489de19908984ea1be0da (patch)
tree2e5e1b0e50109385b5d3daaabed00efb450f4b62 /templates
parent164538a57a5b7c19c993862a6badc85fd723380e (diff)
Remove weekly report jobmain
Diffstat (limited to 'templates')
-rw-r--r--templates/report/list.j214
-rw-r--r--templates/report/report.j250
2 files changed, 0 insertions, 64 deletions
diff --git a/templates/report/list.j2 b/templates/report/list.j2
deleted file mode 100644
index d683879..0000000
--- a/templates/report/list.j2
+++ /dev/null
@@ -1,14 +0,0 @@
-{% macro list(resource, action, xs) -%}
-
-{% if xs -%}
-
- {% set l = xs | length %}
-
- {{ xs | length }} {{ pluralize(l, resource) }} {{ pluralize(l, action) }} :
-
- {% for x in xs -%}
- - {{ x.date }} {{ x.name }} {{ x.amount | euros() }}
- {% endfor %}
-{% endif -%}
-
-{% endmacro %}
diff --git a/templates/report/report.j2 b/templates/report/report.j2
deleted file mode 100644
index 8711184..0000000
--- a/templates/report/report.j2
+++ /dev/null
@@ -1,50 +0,0 @@
-{% 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("action", "Created")
-) }}{#
-
-#}{{ list.list(
- resource="paiement",
- action="modifié",
- xs=payments | filter("action", "Updated")
-) }}{#
-
-#}{{ list.list(
- resource="paiement",
- action="supprimé",
- xs=payments | filter("action", "Deleted")
-) }}{#
-
-#}{{ list.list(
- resource="revenu",
- action="créé",
- xs=incomes | filter("action", "Created")
-) }}{#
-
-#}{{ list.list(
- resource="revenu",
- action="modifié",
- xs=incomes | filter("action", "Updated")
-) }}{#
-
-#}{{ list.list(
- resource="revenu",
- action="supprimé",
- xs=incomes | filter("action", "Deleted")
-) }}