Abwesenheit usw.
This commit is contained in:
parent
3f691cb919
commit
5b0e5f0214
|
|
@ -11,12 +11,10 @@
|
|||
<tr>
|
||||
<th scope="row">Urlaub</th>
|
||||
{% for ab_info in user_years.all %}
|
||||
<td class="" id="holiday_{{ab_info.pk}}">
|
||||
|
||||
<td class="" id="holiday_{{ab_info.pk}}">
|
||||
<div class="form-group">
|
||||
<input type="text" class="form-control readytochange_holiday" id="new_holiday_nor_{{ab_info.pk}}" aria-describedby="" value="{{ab_info.days}}">
|
||||
</div>
|
||||
|
||||
</td>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
|
|
|
|||
|
|
@ -315,9 +315,6 @@ function saveUpdateTableHolidays(){
|
|||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
DYNAMIC USERDATA CHANGES
|
||||
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@ def checkDefaultAbsenceReasons(sender, user, request, **kwargs):
|
|||
UserYearAbsenceInfo(agency=user.profile.agency, user=u, year=today.year+1).save()
|
||||
UserYearAbsenceInfo(agency=user.profile.agency, user=u, year=today.year+2).save()
|
||||
pass
|
||||
# CREATE DATE FOR YEAR PLUS 3
|
||||
# CREATE DATE FOR YEAR PLUS 2
|
||||
elif len(UserYearAbsenceInfo.objects.filter(agency=user.profile.agency, year=today.year+2)) == 0:
|
||||
uina = User.objects.filter(profile__agency=user.profile.agency)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue