Darstellung Zeiterfassung
This commit is contained in:
parent
5bac1eeaaf
commit
4b3e519e64
|
|
@ -10,16 +10,29 @@
|
||||||
<button type="button" class="btn btn-primary mr-1" style="min-width: 150px !important;" onclick="javascript:fastChangeModal()">{{active_month}} {{active_year}}</button>
|
<button type="button" class="btn btn-primary mr-1" style="min-width: 150px !important;" onclick="javascript:fastChangeModal()">{{active_month}} {{active_year}}</button>
|
||||||
<a type="button" class="btn btn-primary mr-1" href="{% url 'tm-team-single' user.pk next_month next_year %}"><i class="fas fa-arrow-circle-right"></i></a>
|
<a type="button" class="btn btn-primary mr-1" href="{% url 'tm-team-single' user.pk next_month next_year %}"><i class="fas fa-arrow-circle-right"></i></a>
|
||||||
|
|
||||||
<span style="text-align: right !important; width: 100%; margin-top: -10px;">
|
<span style="width: 100%; margin-top: -10px; float: right">
|
||||||
{% loadmonthwork next_month user as monthwork %}
|
{% loadmonthwork next_month user as monthwork %}
|
||||||
Gesamtarbeitszeit dieser Monat: {{monthwork}} Stunden<br />
|
|
||||||
{% loadaccounttime user as actualaccounttime %}
|
{% loadaccounttime user as actualaccounttime %}
|
||||||
Gleitzeitkonto:
|
|
||||||
{% if actualaccounttime.1 == 0 %}
|
<table style="float: right; " cellSpacing='-20' cellPadding='-20'>
|
||||||
<b><span style="color: green">+{{actualaccounttime.0}} Stunden</span></b>
|
<tr style="text-align: center; ">
|
||||||
{% else %}
|
<td style="font-size: 16pt; width: 120px; ">{{monthwork}}</td>
|
||||||
<b><span style="color: red">-{{actualaccounttime.0}} Stunden</span></b>
|
<td style="font-size: 16pt;">
|
||||||
{% endif %}
|
{% if actualaccounttime.1 == 0 %}
|
||||||
|
<span style="color: green">+{{actualaccounttime.0}}</span>
|
||||||
|
{% else %}
|
||||||
|
<span style="color: red">-{{actualaccounttime.0}}</span>
|
||||||
|
{% endif %}
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr style="text-align: center; font-size: 10pt;">
|
||||||
|
<td>Arbeitszeit</td>
|
||||||
|
<td>Gleitzeit</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue