Krankheitstage
This commit is contained in:
@@ -316,6 +316,11 @@
|
||||
${data.remainingVacation !== undefined ? `<span style="color: #28a745;">(verbleibend: ${data.remainingVacation.toFixed(1)} Tage)</span>` : ''}
|
||||
</div>`;
|
||||
}
|
||||
if (data.sickDays !== undefined && data.sickDays > 0) {
|
||||
statsHTML += `<div class="stats-inline" style="display: inline-block; margin-right: 20px;">
|
||||
<strong>Krankheitstage:</strong> <span style="color: #e74c3c;">${data.sickDays} Tag${data.sickDays !== 1 ? 'e' : ''}</span>
|
||||
</div>`;
|
||||
}
|
||||
|
||||
if (statsHTML) {
|
||||
statsDiv.insertAdjacentHTML('beforeend', statsHTML);
|
||||
|
||||
Reference in New Issue
Block a user