Add atsk nature on export

This commit is contained in:
2020-09-22 10:49:43 +02:00
parent 9836498b1c
commit 66fa43497e
3 changed files with 5 additions and 2 deletions

View File

@@ -1,12 +1,12 @@
{% block body %}
Client;Projet;Tâche;Utilisateur;Année;Semaine;Cumul;
Client;Projet;Tâche;Nature;Utilisateur;Année;Semaine;Cumul;
{% for project in projects %}
{% if project.weeks_by_task_by_user is defined %}
{% 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({".": ","})}};
{{project.customer}};{{project.name}};{{task.taskname|replace({"&": "et"})}};{{task.nature}};{{user.displayname}};{{year}};S{{week.weeknumber}};{{user.cumul|replace({".": ","})}};
{% endfor %}
{% endfor %}
{% endfor %}