Bugs gefixed, Zeiterfassung vorbereitet
This commit is contained in:
parent
e6c7eaf225
commit
b63c458df4
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -288,8 +288,8 @@ class UserTimeForm(forms.ModelForm):
|
||||||
self.fields['startdate'].required = True
|
self.fields['startdate'].required = True
|
||||||
self.fields['usetime_start'].required = False
|
self.fields['usetime_start'].required = False
|
||||||
self.fields['usetime'].required = False
|
self.fields['usetime'].required = False
|
||||||
self.fields['usetime'].widget.attrs['readonly'] = True
|
#self.fields['usetime'].widget.attrs['readonly'] = True
|
||||||
self.fields['usetime_start'].widget.attrs['readonly'] = True
|
#self.fields['usetime_start'].widget.attrs['readonly'] = True
|
||||||
|
|
||||||
|
|
||||||
# PERMISSION GROUPS FORM
|
# PERMISSION GROUPS FORM
|
||||||
|
|
@ -407,4 +407,3 @@ class AbsenceReasonForm(forms.ModelForm):
|
||||||
"is_holiday" : "Geht vom Urlaub ab"
|
"is_holiday" : "Geht vom Urlaub ab"
|
||||||
}
|
}
|
||||||
fields = ["name", "need_confirm", "need_rep", "is_holiday", "rgb_color"]
|
fields = ["name", "need_confirm", "need_rep", "is_holiday", "rgb_color"]
|
||||||
|
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -8,7 +8,7 @@
|
||||||
<div class="card-header" id="notification_standards_acc">
|
<div class="card-header" id="notification_standards_acc">
|
||||||
<h5 class="mb-0">
|
<h5 class="mb-0">
|
||||||
<button class="btn btn-link" data-toggle="collapse" data-target="#notification_standards" aria-expanded="true" aria-controls="notification_standards">
|
<button class="btn btn-link" data-toggle="collapse" data-target="#notification_standards" aria-expanded="true" aria-controls="notification_standards">
|
||||||
Standards
|
<i class="fas fa-chevron-down"></i> Standards
|
||||||
</button>
|
</button>
|
||||||
</h5>
|
</h5>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -45,7 +45,7 @@
|
||||||
<div class="card-header" id="notification_news_acc">
|
<div class="card-header" id="notification_news_acc">
|
||||||
<h5 class="mb-0">
|
<h5 class="mb-0">
|
||||||
<button class="btn btn-link" data-toggle="collapse" data-target="#notification_news" aria-expanded="true" aria-controls="notification_news">
|
<button class="btn btn-link" data-toggle="collapse" data-target="#notification_news" aria-expanded="true" aria-controls="notification_news">
|
||||||
News
|
<i class="fas fa-chevron-down"></i> News
|
||||||
</button>
|
</button>
|
||||||
</h5>
|
</h5>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -83,7 +83,7 @@
|
||||||
<div class="card-header" id="notification_groups_acc">
|
<div class="card-header" id="notification_groups_acc">
|
||||||
<h5 class="mb-0">
|
<h5 class="mb-0">
|
||||||
<button class="btn btn-link" data-toggle="collapse" data-target="#notification_groups" aria-expanded="true" aria-controls="notification_groups">
|
<button class="btn btn-link" data-toggle="collapse" data-target="#notification_groups" aria-expanded="true" aria-controls="notification_groups">
|
||||||
Gruppen
|
<i class="fas fa-chevron-down"></i> Gruppen
|
||||||
</button>
|
</button>
|
||||||
</h5>
|
</h5>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -120,7 +120,7 @@
|
||||||
<div class="card-header" id="notification_task_acc">
|
<div class="card-header" id="notification_task_acc">
|
||||||
<h5 class="mb-0">
|
<h5 class="mb-0">
|
||||||
<button class="btn btn-link" data-toggle="collapse" data-target="#notification_task" aria-expanded="true" aria-controls="notification_task">
|
<button class="btn btn-link" data-toggle="collapse" data-target="#notification_task" aria-expanded="true" aria-controls="notification_task">
|
||||||
Tätigkeiten
|
<i class="fas fa-chevron-down"></i> Tätigkeiten
|
||||||
</button>
|
</button>
|
||||||
</h5>
|
</h5>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -159,7 +159,7 @@
|
||||||
<div class="card-header" id="notification_files_acc">
|
<div class="card-header" id="notification_files_acc">
|
||||||
<h5 class="mb-0">
|
<h5 class="mb-0">
|
||||||
<button class="btn btn-link" data-toggle="collapse" data-target="#notification_files" aria-expanded="true" aria-controls="notification_files">
|
<button class="btn btn-link" data-toggle="collapse" data-target="#notification_files" aria-expanded="true" aria-controls="notification_files">
|
||||||
Dateien und Ordner
|
<i class="fas fa-chevron-down"></i> Dateien und Ordner
|
||||||
</button>
|
</button>
|
||||||
</h5>
|
</h5>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -196,7 +196,7 @@
|
||||||
<div class="card-header" id="notification_organizer_acc">
|
<div class="card-header" id="notification_organizer_acc">
|
||||||
<h5 class="mb-0">
|
<h5 class="mb-0">
|
||||||
<button class="btn btn-link" data-toggle="collapse" data-target="#notification_organizer" aria-expanded="true" aria-controls="notification_organizer">
|
<button class="btn btn-link" data-toggle="collapse" data-target="#notification_organizer" aria-expanded="true" aria-controls="notification_organizer">
|
||||||
Organizer
|
<i class="fas fa-chevron-down"></i> Organizer
|
||||||
</button>
|
</button>
|
||||||
</h5>
|
</h5>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -233,7 +233,7 @@
|
||||||
<div class="card-header" id="notification_messages_acc">
|
<div class="card-header" id="notification_messages_acc">
|
||||||
<h5 class="mb-0">
|
<h5 class="mb-0">
|
||||||
<button class="btn btn-link" data-toggle="collapse" data-target="#notification_messages" aria-expanded="true" aria-controls="notification_messages">
|
<button class="btn btn-link" data-toggle="collapse" data-target="#notification_messages" aria-expanded="true" aria-controls="notification_messages">
|
||||||
Mitteilungen
|
<i class="fas fa-chevron-down"></i> Mitteilungen
|
||||||
</button>
|
</button>
|
||||||
</h5>
|
</h5>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -270,7 +270,7 @@
|
||||||
<div class="card-header" id="notification_chat_acc">
|
<div class="card-header" id="notification_chat_acc">
|
||||||
<h5 class="mb-0">
|
<h5 class="mb-0">
|
||||||
<button class="btn btn-link" data-toggle="collapse" data-target="#notification_chat" aria-expanded="true" aria-controls="notification_chat">
|
<button class="btn btn-link" data-toggle="collapse" data-target="#notification_chat" aria-expanded="true" aria-controls="notification_chat">
|
||||||
Chat
|
<i class="fas fa-chevron-down"></i> Chat
|
||||||
</button>
|
</button>
|
||||||
</h5>
|
</h5>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -307,7 +307,7 @@
|
||||||
<div class="card-header" id="notification_abtime_acc">
|
<div class="card-header" id="notification_abtime_acc">
|
||||||
<h5 class="mb-0">
|
<h5 class="mb-0">
|
||||||
<button class="btn btn-link" data-toggle="collapse" data-target="#notification_abtime" aria-expanded="true" aria-controls="notification_abtime">
|
<button class="btn btn-link" data-toggle="collapse" data-target="#notification_abtime" aria-expanded="true" aria-controls="notification_abtime">
|
||||||
Abwesenheits- und Zeiterfassung
|
<i class="fas fa-chevron-down"></i> Abwesenheits- und Zeiterfassung
|
||||||
</button>
|
</button>
|
||||||
</h5>
|
</h5>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -345,7 +345,7 @@
|
||||||
<div class="card-header" id="notification_agn_acc">
|
<div class="card-header" id="notification_agn_acc">
|
||||||
<h5 class="mb-0">
|
<h5 class="mb-0">
|
||||||
<button class="btn btn-link" data-toggle="collapse" data-target="#notification_agn" aria-expanded="true" aria-controls="notification_agn">
|
<button class="btn btn-link" data-toggle="collapse" data-target="#notification_agn" aria-expanded="true" aria-controls="notification_agn">
|
||||||
Agenturverbund
|
<i class="fas fa-chevron-down"></i> Agenturverbund
|
||||||
</button>
|
</button>
|
||||||
</h5>
|
</h5>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -173,13 +173,13 @@
|
||||||
{{usertime_form.usetime_start|as_crispy_field}}
|
{{usertime_form.usetime_start|as_crispy_field}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<!--
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
$("#id_usetime").prop("disabled", true);
|
$("#id_usetime").prop("disabled", true);
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
-->
|
||||||
|
|
||||||
<h5>Arbeitszeiten <small><i data-toggle="tooltip" data-placement="top" title="Legen Sie fest, an welchen Tagen dieser Mitarbeiter wie viele Stunden arbeitet." class="far fa-question-circle"></i></small></h5>
|
<h5>Arbeitszeiten <small><i data-toggle="tooltip" data-placement="top" title="Legen Sie fest, an welchen Tagen dieser Mitarbeiter wie viele Stunden arbeitet." class="far fa-question-circle"></i></small></h5>
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -10,6 +10,7 @@
|
||||||
Von: {{absence.start|date:"d.m Y"}}<br />
|
Von: {{absence.start|date:"d.m Y"}}<br />
|
||||||
Bis: {{absence.end|date:"d.m Y"}}<br />
|
Bis: {{absence.end|date:"d.m Y"}}<br />
|
||||||
Grund: {{absence.reason.name}}<br />
|
Grund: {{absence.reason.name}}<br />
|
||||||
|
Vertreter: {{absence.representator.first_name}} {{absence.representator.last_name}}<br />
|
||||||
Informationen: {{absence.info}}<br />
|
Informationen: {{absence.info}}<br />
|
||||||
<hr>
|
<hr>
|
||||||
<h5>Übersicht Urlaubstage wenn Anfrage genehmigt</h5>
|
<h5>Übersicht Urlaubstage wenn Anfrage genehmigt</h5>
|
||||||
|
|
|
||||||
|
|
@ -23,9 +23,10 @@
|
||||||
<td>{{abday.reason.name}}</td>
|
<td>{{abday.reason.name}}</td>
|
||||||
<td>{{abday.info}}</td>
|
<td>{{abday.info}}</td>
|
||||||
<td>{% if abday.confirm_status == 0 %} Genehmigt {% elif abday.confirm_status == 1 %} Beantragt {% else %} Abgelehnt {% endif %}</td>
|
<td>{% if abday.confirm_status == 0 %} Genehmigt {% elif abday.confirm_status == 1 %} Beantragt {% else %} Abgelehnt {% endif %}</td>
|
||||||
<td style="float: right;">
|
<td style="float: right !important; min-width: 100%">
|
||||||
<button type="button " class="btn btn-secondary btn-sm mr-1" onclick="javascript:changeAbsence({{abday.pk}})"><i class="fas fa-pen"></i></button>
|
<button type="button" style="float: right; margin-left: 2px;" class="btn btn-secondary btn-sm" onclick="javascript:$('#confirm-delete_{{abday.pk}}').modal('toggle')"><i class="fas fa-trash"></i></button>
|
||||||
<button type="button " class="btn btn-secondary btn-sm" onclick="javascript:$('#confirm-delete_{{abday.pk}}').modal('toggle')"><i class="fas fa-trash"></i></button>
|
<button type="button " style="float: right" class="btn btn-secondary btn-sm mr-1" onclick="javascript:changeAbsence({{abday.pk}})"><i class="fas fa-pen"></i></button>
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
|
||||||
Binary file not shown.
Loading…
Reference in New Issue