Added Charts im Overtime-breakdown
This commit is contained in:
@@ -92,6 +92,13 @@ async function loadUserStats() {
|
||||
if (totalVacationEl) {
|
||||
totalVacationEl.textContent = (stats.urlaubstage || 0).toFixed(1);
|
||||
}
|
||||
|
||||
// Urlaubstage-Übertrag der Verwaltung anzeigen (Offset)
|
||||
const vacationOffsetEl = document.getElementById('vacationOffsetDays');
|
||||
if (vacationOffsetEl) {
|
||||
const offset = stats.vacationOffsetDays || 0;
|
||||
vacationOffsetEl.textContent = (offset >= 0 ? '+' : '-') + offset.toFixed(1);
|
||||
}
|
||||
|
||||
// Verplante Urlaubstage anzeigen
|
||||
const plannedVacationEl = document.getElementById('plannedVacation');
|
||||
|
||||
Reference in New Issue
Block a user