Compare commits
No commits in common. "5dece858da92d88d529fa78061a754c81c8995dd" and "7a6aea2238f1e9b9adcbd889ead2fac5666223a9" have entirely different histories.
5dece858da
...
7a6aea2238
|
@ -19,21 +19,13 @@ td {
|
||||||
{% if fgprint %}color:#000000 !important;{%endif%}
|
{% if fgprint %}color:#000000 !important;{%endif%}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media print {
|
{% if fgprint %}
|
||||||
.noprint { display:none; }
|
|
||||||
body,h1,.card-header {font-family: 'arial' !important}
|
|
||||||
|
|
||||||
.card {float: none !important; }
|
.card {float: none !important; }
|
||||||
.card, .card-header {border: none;}
|
.card, .card-header {border: none;}
|
||||||
.breakpage {
|
.breakpage {
|
||||||
page-break-after: always;
|
page-break-after: always;
|
||||||
}
|
}
|
||||||
.nobreakpage{
|
{% endif %}
|
||||||
page-break-after: unset;
|
|
||||||
}
|
|
||||||
.card-body {padding:0px;}
|
|
||||||
.fulltable{width:100%;}
|
|
||||||
}
|
|
||||||
|
|
||||||
.date {
|
.date {
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
|
@ -51,26 +43,23 @@ td {
|
||||||
RAPPORT MENSUEL = {{ monthof|date("m/Y") }}
|
RAPPORT MENSUEL = {{ monthof|date("m/Y") }}
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<div class="noprint">
|
|
||||||
{% if not fgprint %}
|
{% if not fgprint %}
|
||||||
<a class="btn btn-secondary mr-2" href={{ path('app_tallyday') }}>Retour</a>
|
<a class="btn btn-secondary mr-2" href={{ path('app_tallyday') }}>Retour</a>
|
||||||
<a class="btn btn-secondary mr-2" href={{ path('app_tallyday_mastermonth',{monthof:prevmonth}) }}>Mois Précédent</a>
|
<a class="btn btn-secondary mr-2" href={{ path('app_tallyday_mastermonth',{monthof:prevmonth}) }}>Mois Précédent</a>
|
||||||
<a class="btn btn-secondary mr-2" href={{ path('app_tallyday_mastermonth',{monthof:nextmonth}) }}>Mois Suivant</a>
|
<a class="btn btn-secondary mr-2" href={{ path('app_tallyday_mastermonth',{monthof:nextmonth}) }}>Mois Suivant</a>
|
||||||
<!-- <a class="btn btn-secondary mr-2" href={{ path('app_tallyday_mastermonth',{monthof:monthof|date("Ym"),type:"pdf"}) }}>Export PDF</a> -->
|
<a class="btn btn-secondary mr-2" href={{ path('app_tallyday_mastermonth',{monthof:monthof|date("Ym"),type:"pdf"}) }}>Export PDF</a>
|
||||||
<a id="btnprint" class="btn btn-secondary mr-2" href="#">Imprimer</a>
|
|
||||||
|
|
||||||
|
<a class="btn btn-secondary float-right" href={{ path('app_tallyday_masterexport') }}>Export CSV</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_masterlist') }}>Gestion des Pointages</a>
|
||||||
<a class="btn btn-secondary float-right mr-2" href={{ path('app_tallyday_masterlist') }}>Gestion des Pointages</a>
|
<a class="btn btn-secondary float-right mr-2" href={{ path('app_timeextra') }}>Gestion Heures Sup</a>
|
||||||
<a class="btn btn-secondary float-right mr-2" href={{ path('app_timeextra') }}>Gestion Heures Sup</a>
|
{% if message is defined and not message is empty %}
|
||||||
{% if message is defined and not message is empty %}
|
<div class='alert alert-danger' style='margin: 5px 0px'>
|
||||||
<div class='alert alert-danger' style='margin: 5px 0px'>
|
<strong>Erreur</strong><br>
|
||||||
<strong>Erreur</strong><br>
|
{{ message|raw }}<br>
|
||||||
{{ message|raw }}<br>
|
</div>
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
{% endif %}
|
||||||
|
|
||||||
|
|
||||||
<div class="mt-3" style="margin:auto; max-width:1810px;">
|
<div class="mt-3" style="margin:auto; max-width:1810px;">
|
||||||
{% set nbusers=0 %}
|
{% set nbusers=0 %}
|
||||||
|
@ -78,16 +67,16 @@ td {
|
||||||
{% if date.validates %}
|
{% if date.validates %}
|
||||||
{% set nbusers=nbusers+1 %}
|
{% set nbusers=nbusers+1 %}
|
||||||
|
|
||||||
<div class="card mr-1 mb-1 float-left {% if nbusers==2 %}breakpage{%else%}nobreakpage{% endif %} ">
|
<div class="card mr-1 mb-1 float-left {% if nbusers==2 %}breakpage{% endif %} ">
|
||||||
<div class="card-header">
|
<div class="card-header">
|
||||||
{% if not fgprint %} <img src="{{date.avatar|urlavatar}}" class="avatar noprint">{%endif%} {{ date.displayname }}
|
<img src="{{date.avatar|urlavatar}}" class="avatar"> {{ date.displayname }}
|
||||||
<div class="float-right text-right">
|
<div class="float-right text-right">
|
||||||
{{date.timemonth}} / {{ timetowork }}
|
{{date.timemonth}} / {{ timetowork }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<table class="fulltable">
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th style="width:50px !important">s</th>
|
<th style="width:50px !important">s</th>
|
||||||
|
@ -212,11 +201,6 @@ td {
|
||||||
maxheight=$(this).height();
|
maxheight=$(this).height();
|
||||||
});
|
});
|
||||||
$( ".card" ).height(maxheight);
|
$( ".card" ).height(maxheight);
|
||||||
|
|
||||||
$("#btnprint").click(function(){
|
|
||||||
window.print();
|
|
||||||
return false;
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
Loading…
Reference in New Issue