ajout page validation des timer et option heure supplémentaires
This commit is contained in:
@@ -59,6 +59,7 @@
|
||||
{{ form_row(form.task) }}
|
||||
{{ form_row(form.description) }}
|
||||
{{ form_row(form.activepenalty) }}
|
||||
{{ form_row(form.additionalhour) }}
|
||||
{{ form_row(form.start) }}
|
||||
{{ form_row(form.end) }}
|
||||
{{ form_row(form.duration) }}
|
||||
|
@@ -1,7 +1,7 @@
|
||||
{% block body %}
|
||||
Astreintes Actives
|
||||
Tâche;Active;Utilisateur;Début;Fin;Durée;Description;
|
||||
Tâche;Astr.Act;H.Supp;Utilisateur;Début;Fin;Durée;Description;
|
||||
{% for timer in timers %}
|
||||
{{timer.taskname}};{{timer.activepenalty}};{{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}};
|
||||
{{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 %}
|
@@ -37,7 +37,7 @@ SUIVI HORAIRE
|
||||
</div>
|
||||
|
||||
<a class="btn btn-success" href={{ path('app_timer_view') }}>Voir le calendrier</a>
|
||||
<a class="btn btn-success" href={{ path('app_timer_view') }}>Exporter Astreintes actives</a>
|
||||
<a class="btn btn-success" href={{ path('app_timer_export_activepenalty') }}>Exporter Astreintes actives et heures supplémentaires</a>
|
||||
<p></p>
|
||||
<div class="dataTable_wrapper">
|
||||
<table class="table table-striped table-bordered table-hover small" id="dataTables" style="width:100%">
|
||||
@@ -57,6 +57,7 @@ SUIVI HORAIRE
|
||||
<td>{{ timer.task.displayname }}</td>
|
||||
<td>
|
||||
<span class="font-weight-bold">{{ timer.activepenalty ? "Astreinte active" : "" }}</span>
|
||||
<span class="font-weight-bold">{{ timer.additionalhour ? "Heures supplémentaires" : "" }}</span>
|
||||
<p>{{ timer.description }}</p>
|
||||
</td>
|
||||
<td>{{ timer.start|date("d/m/Y H:i") }}</td>
|
||||
|
Reference in New Issue
Block a user