Umstellung auf h min format
This commit is contained in:
@@ -91,7 +91,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="employee-details" style="margin-top: 10px;">
|
<div class="employee-details" style="margin-top: 10px;">
|
||||||
<div style="display: inline-block; margin-right: 20px;">
|
<div style="display: inline-block; margin-right: 20px;">
|
||||||
<strong>Aktuelle Überstunden:</strong> <span class="current-overtime-value" data-user-id="<%= employee.user.id %>">-</span> Stunden
|
<strong>Aktuelle Überstunden:</strong> <span class="current-overtime-value" data-user-id="<%= employee.user.id %>">-</span>
|
||||||
</div>
|
</div>
|
||||||
<div style="display: inline-block; margin-right: 20px;">
|
<div style="display: inline-block; margin-right: 20px;">
|
||||||
<strong>Verbleibender Urlaub:</strong> <span class="remaining-vacation-value" data-user-id="<%= employee.user.id %>">-</span> Tage
|
<strong>Verbleibender Urlaub:</strong> <span class="remaining-vacation-value" data-user-id="<%= employee.user.id %>">-</span> Tage
|
||||||
@@ -434,7 +434,7 @@
|
|||||||
el.textContent = '-';
|
el.textContent = '-';
|
||||||
el.style.color = '';
|
el.style.color = '';
|
||||||
} else {
|
} else {
|
||||||
el.textContent = value >= 0 ? '+' + value.toFixed(2) : value.toFixed(2);
|
el.textContent = (value >= 0 ? '+' : '') + formatHoursMin(value);
|
||||||
el.style.color = value >= 0 ? '#27ae60' : '#e74c3c';
|
el.style.color = value >= 0 ? '#27ae60' : '#e74c3c';
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user