Rapport hebdo par utilisateur

This commit is contained in:
2020-07-27 15:22:16 +02:00
parent 5a4e0c6c0b
commit 6452f94cfe
2 changed files with 82 additions and 11 deletions

View File

@@ -1,15 +1,12 @@
{% block body %}
Projet;Utilisateur;Année;Semaine;Cumul;
{% for project in projects %}
{{ project.projectname|raw }}
{% for years in project %}
{% for year,weeks in years %}
{{year}}
;{% for week in weeks %}S{{week.weeknumber}};{% endfor %}
;{% for week in weeks %}{{week.cumul}};{% endfor %}
{% for year,weeks in project.weeks_by_name %}
{% for week in weeks %}
{% for user in week.users%}
{{project.projectname}};{{user.displayname}};{{year}};S{{week.weeknumber}};{{user.cumul}};
{% endfor %}
{% endfor %}
{% endfor %}
{% endfor %}
{% endblock %}