svg
This commit is contained in:
16
templates/Export/export_project_weekly.csv.twig
Normal file
16
templates/Export/export_project_weekly.csv.twig
Normal file
@@ -0,0 +1,16 @@
|
||||
{% block body %}
|
||||
Client;Projet;Tâche;Activité;Domaine;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|replace({"&": "et"})}};{{project.service}};{{project.domaine}};{{task.nature}};{{user.displayname}};{{week.isoyear}};{{week.isoweek}};{{user.cumul|replace({".": ","})}};
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endblock %}
|
Reference in New Issue
Block a user