diff --git a/timemanagement/templates/timemanagement/realtime_dropdown.html b/timemanagement/templates/timemanagement/realtime_dropdown.html index 5ebb42d..a8a447b 100644 --- a/timemanagement/templates/timemanagement/realtime_dropdown.html +++ b/timemanagement/templates/timemanagement/realtime_dropdown.html @@ -159,7 +159,7 @@ Gleitzeitkonto: else{ now = new Date(); viewtime = now - starttime_view - breaktime; - console.log(viewtime); + if(isNaN(viewtime)){ location.href = location.href; } @@ -221,8 +221,8 @@ Gleitzeitkonto: }, success: function( data ) { - // TODO: Hier ist anscheinend der Fehler der zu NaN:NaN usw. führt! - console.log("break end add " + data["actualbreaktime"]); + // TODO: Hier ist anscheinend der Fehler der zu NaN:NaN usw. führt! Sollte jetzt passen! + //console.log("break end add " + data["actualbreaktime"]); breaktime = data["actualbreaktime"]; $("#breaksum").html(convertMS(data["actualbreaktime"])); } diff --git a/timemanagement/templates/timemanagement/tm_ab_update.html b/timemanagement/templates/timemanagement/tm_ab_update.html index 5adc1a9..27c9603 100644 --- a/timemanagement/templates/timemanagement/tm_ab_update.html +++ b/timemanagement/templates/timemanagement/tm_ab_update.html @@ -38,8 +38,9 @@ {{form.representator|as_crispy_field}} - +
Von {{historyele.history_user.get_full_name}} am {{historyele.history_date|date:"d.m.Y H:i"}} + {{historyele.confirm_info}} + {{historyele.confirm_status}} +
+ {% endfor %} +| Gewünschte Tage | ++ |
| Resturlaub | ++ |
| Urlaub nächstes Jahr | ++ Rest () | +
| Summe Urlaubstage | ++ |