Ajout d'une page unique pour les exports

This commit is contained in:
2020-07-30 14:31:42 +02:00
parent 1f2b36b7fd
commit c6ade61a08
10 changed files with 321 additions and 255 deletions

View File

@@ -0,0 +1,14 @@
{% block body %}
Client;Projet;Tâche;Utilisateur;Année;Semaine;Cumul;
{% for project in projects %}
{% for year,weeks in project.weeks_by_task_by_user %}
{% for week in weeks %}
{% for task in week.tasks%}
{% for user in task.users%}
{{project.customer}};{{project.name}};{{task.taskname}};{{user.displayname}};{{year}};S{{week.weeknumber}};{{user.cumul|replace({".": ","})}};
{% endfor %}
{% endfor %}
{% endfor %}
{% endfor %}
{% endfor %}
{% endblock %}