svg
This commit is contained in:
8
templates/Export/export_full_worked_days.csv.twig
Normal file
8
templates/Export/export_full_worked_days.csv.twig
Normal file
@@ -0,0 +1,8 @@
|
||||
{% block body %}
|
||||
Utilisateur;Jour;Journée entière;Astreinte;AM;AP;Taches;AM;Tache AM;AP;Tache AP;Astreinte;Description Astreintes
|
||||
{% for user in users %}
|
||||
{% for day, event in user.events %}
|
||||
{{ user.user.displayname }};{{day}};{{event.allday}};{{event.astreinte}};{{event.am}};{{event.ap}};{{event.descriptionday|trim}} {{event.descriptionam|trim}} {{event.descriptionap|trim}} {{event.descriptionastreinte|trim}}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
{% endblock %}
|
6
templates/Export/export_month_charged_days.csv.twig
Normal file
6
templates/Export/export_month_charged_days.csv.twig
Normal file
@@ -0,0 +1,6 @@
|
||||
{% block body %}
|
||||
Mois;Jours_facturés;Jour_non_facturés
|
||||
{% for month, event in events %}
|
||||
{{month}};{{event.f}};{{event.nf}}
|
||||
{% endfor %}
|
||||
{% endblock %}
|
8
templates/Export/export_offers.csv.twig
Normal file
8
templates/Export/export_offers.csv.twig
Normal file
@@ -0,0 +1,8 @@
|
||||
{% block body %}
|
||||
Client;Projet;Proposition;Ref;Qt;PU;Total;
|
||||
{% for project in projects %}
|
||||
{% for offer in project.offers %}
|
||||
{{ project.customer }};{{project.name}};{{offer.name}};{{offer.ref}};{{offer.quantity}};{{offer.pu}};{{offer.total}}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
{% endblock %}
|
6
templates/Export/export_penalty_additional.csv.twig
Normal file
6
templates/Export/export_penalty_additional.csv.twig
Normal file
@@ -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 %}
|
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 %}
|
56
templates/Export/list.html.twig
Normal file
56
templates/Export/list.html.twig
Normal file
@@ -0,0 +1,56 @@
|
||||
{% extends "base.html.twig" %}
|
||||
{% block body %}
|
||||
<h1 class="page-header">
|
||||
EXPORTS DE DONNEES
|
||||
</h1>
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<a href="{{ path('export_project_weekly') }}" class="btn btn-success">Export des Projets par semaine par participant</a>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<p>Exporter le cumul des points éffectués sur un/des projets, par tâche par utilisateur.</p>
|
||||
<p>Filtres utiles : Nombres de mois, Projet, Service</p>
|
||||
</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">
|
||||
<p>Exporter la liste des astreintes actives réalisés, ainsi que les saisies en heure supplémentaires.</p>
|
||||
<p>Filtres utiles : Intervenant (hors "Tout le monde")</p>
|
||||
</div>
|
||||
</div>
|
||||
<p></p>
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<a class="btn btn-success" href={{ path('export_full_worked_days') }}>Export des jours pleins travaillés</a>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<p>Exporter la liste des jours travaillés pleinement éligibles aux tickets restaurants</p>
|
||||
<p>Filtres utiles : Nombre de mois, Intervenant</p>
|
||||
</div>
|
||||
</div>
|
||||
<p></p>
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<a class="btn btn-success" href={{ path('export_offers') }}>Export des commandes</a>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<p>Exporter la liste des commandes</p>
|
||||
<p>Filtres utiles : Projet, Service</p>
|
||||
</div>
|
||||
</div>
|
||||
<p></p>
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<a class="btn btn-success" href={{ path('export_month_charged_days') }}>Export des jours facturés/non-facturés</a>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<p>Exporter la liste du nombre de jours facturés et non-facturés par mois</p>
|
||||
<p>Filtres utiles : Nombre de mois</p>
|
||||
</div>
|
||||
</div>
|
||||
<p></p>
|
||||
{% endblock %}
|
Reference in New Issue
Block a user