Benutzerverwaltung mit Rollen/Rechten und Urlaubsplanung
Führt Login mit vier Rollen (Admin, Teamleiter, Mitarbeiter, Beobachter) ein, über die Teammitglieder eigenen Urlaub inkl. Pflicht-Vertreter eintragen können. Die Auslastungsberechnung berücksichtigt Urlaub jetzt als reduzierte Kapazität. Neue Konten vergeben ihr Passwort selbst beim ersten Login. Migrationsskript für bestehende Mitarbeiter aus der Vorversion inklusive. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -30,10 +30,10 @@ function percent(hours, capacity) {
|
||||
<td v-for="(hours, idx) in employee.hours" :key="idx">
|
||||
<div
|
||||
class="heatmap-cell"
|
||||
:style="{ background: utilizationColor(percent(hours, employee.weekly_capacity_hours)) }"
|
||||
:title="`${hours}h von ${employee.weekly_capacity_hours}h`"
|
||||
:style="{ background: utilizationColor(percent(hours, employee.capacity[idx])) }"
|
||||
:title="`${hours}h von ${employee.capacity[idx]}h (Urlaub bereits abgezogen, nominal ${employee.weekly_capacity_hours}h)`"
|
||||
>
|
||||
{{ percent(hours, employee.weekly_capacity_hours) }}%
|
||||
{{ percent(hours, employee.capacity[idx]) }}%
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user