Ajout d'une page unique pour les exports
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
{% block body %}
|
||||
Tâche;Astr.Act;H.Supp;Utilisateur;Début;Fin;Durée;Description;
|
||||
{% for timer in timers %}
|
||||
{{timer.taskname}};{{timer.activepenalty}};{{timer.additionalhour}};{{timer.user}};{{timer.start|date("d/m/Y H:i")}};{{timer.end|date("d/m/Y H:i")}};{{timer.duration|date("H:i")}};{{timer.description}};
|
||||
{% endfor %}
|
||||
{% endblock %}
|
@@ -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 %}
|
24
src/schedule-2.0/templates/Export/list.html.twig
Normal file
24
src/schedule-2.0/templates/Export/list.html.twig
Normal file
@@ -0,0 +1,24 @@
|
||||
{% extends "base.html.twig" %}
|
||||
{% block body %}
|
||||
<h1 class="page-header">
|
||||
EXPORTS DE DONNEES
|
||||
</h1>
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<a href="{{ path('app_export_penalty_additional') }}" class="btn btn-success">Export des Projets par semaine par participant</a>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
Exporter le cumul des points éffectués sur un projet, par tâche par utilisateur.
|
||||
</div>
|
||||
</div>
|
||||
<p></p>
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<a class="btn btn-success" href={{ path('app_export_penalty_additional') }}>Export des astreintes actives et heures supplémentaires</a>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
Exporter la liste des astreintes actives réalisés, ainsi que les saisies en heure supplémentaires
|
||||
</div>
|
||||
</div>
|
||||
<p></p>
|
||||
{% endblock %}
|
Reference in New Issue
Block a user