This commit is contained in:
holger.trampe 2021-03-28 17:42:54 +02:00
parent 8b5e4a2b25
commit 113b484542
2 changed files with 22 additions and 12 deletions

View File

@ -4,16 +4,26 @@
<a type="button" class="btn btn-primary mr-1" href="{% url 'tm-management' prev_month prev_year %}" ><i class="fas fa-arrow-circle-left"></i></a>
<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-management' 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 %}
Gesamtarbeitszeit dieser Monat: {{monthwork}} Stunden<br />
{% loadaccounttime user as actualaccounttime %}
Gleitzeitkonto:
<table style="float: right; " cellSpacing='-20' cellPadding='-20'>
<tr style="text-align: center; ">
<td style="font-size: 16pt; width: 120px; ">{{monthwork}}</td>
<td style="font-size: 16pt;">
{% if actualaccounttime.1 == 0 %}
<b><span style="color: green">+{{actualaccounttime.0}}&nbsp;Stunden</span></b>
<span style="color: green">+{{actualaccounttime.0}}</span>
{% else %}
<b><span style="color: red">-{{actualaccounttime.0}}&nbsp;Stunden</span></b>
<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>
</div>
<hr>

View File

@ -284,7 +284,7 @@
{%endif%}
<a class="nav-link " href="{% url 'tm-management' %}" aria-expanded="true">
<i class="far fa-clock"></i>
<span>Zeiterfassung&nbsp;<sup>BETA</sup></span>
<span>Zeiterfassung</span>
</a>
</li>
{% endif %}