This commit is contained in:
afornerot
2022-02-14 13:41:30 +01:00
parent 67d4e4ce96
commit 8b0c3e95b4
8 changed files with 530 additions and 59 deletions

View File

@ -6,14 +6,14 @@ th, td {
color: #ffffff;
background-color: #37474F;
text-align: center;
width: 85px;
width: 100px;
}
td {
background-color: #e8ecf1;
height: 44px;
vertical-align: top;
font-size: 9px;
font-size: 12px;
color: var(--colorftbodylight);
}
@ -35,6 +35,7 @@ td {
<a class="btn btn-secondary" href={{ path('app_tallyday') }}>Retour</a>
<a class="btn btn-secondary float-right" href={{ path('app_tallyday_masterexport') }}>Export CSV</a>
<a class="btn btn-secondary float-right mr-2" href={{ path('app_tallyday_mastermonth',{monthof:"now"|date("Ym")}) }}>Rapport Mensuel</a>
{% if message is defined and not message is empty %}
<div class='alert alert-danger' style='margin: 5px 0px'>
<strong>Erreur</strong><br>
@ -42,7 +43,7 @@ td {
</div>
{% endif %}
<div class="mt-3" style="margin:auto">
<div class="mt-3" style="margin:auto; max-width:1800px;">
{% for date in dates %}
{% if date.validates or date.notvalidates %}
<div class="card mr-1 mb-1 float-left">
@ -56,7 +57,7 @@ td {
<thead>
<tr>
<th class="no-print"></th>
<th style="width:40px !important">s</th>
<th style="width:50px !important">s</th>
<th>L</th>
<th>M</th>
<th>M</th>
@ -83,8 +84,15 @@ td {
<div class="date">{{validate.dateof|date("d/m")}}</div>
<div style="min-height:28px">
{% for tallyday in validate.tallydays %}
{%if tallyday.datestart %} de {{tallyday.datestart|date("H:i") }} {% endif %}
{%if tallyday.dateend %} à {{tallyday.dateend|date("H:i") }} {% endif %}
{% if tallyday.isbreakday %}
{% if tallyday.datestart|date("H")==10 %}
{% set breakdayall=true %}
{% endif %}
{{tallyday.name}}
{% else %}
{%if tallyday.datestart %} de {{tallyday.datestart|date("H:i") }} {% endif %}
{%if tallyday.dateend %} à {{tallyday.dateend|date("H:i") }} {% endif %}
{%endif%}
<br>
{% endfor %}
</div>