feat: add company holiday preference feature with UI and logic for holiday selection
All checks were successful
Build and Push Docker Image / build (push) Successful in 29s

This commit is contained in:
Felix Schlusche
2025-10-30 16:14:03 +01:00
parent 4bdd9310ea
commit 282aaac8ae
4 changed files with 145 additions and 402 deletions

View File

@@ -856,6 +856,23 @@
</div>
</div>
<!-- Company Holiday Preference -->
<div class="mt-4 flex flex-wrap gap-4 items-center">
<div class="flex-1 min-w-full">
<label class="block text-sm font-medium text-gray-300 mb-2">Betriebsfrei am</label>
<div class="flex gap-2">
<label class="flex-1 flex items-center justify-center px-4 py-2 border border-gray-600 bg-gray-700 text-gray-100 rounded-lg cursor-pointer hover:bg-gray-600 transition-colors">
<input type="radio" name="companyHoliday" value="christmas" id="companyHolidayChristmas" class="mr-2" checked>
<span>Heiligabend (24.12.)</span>
</label>
<label class="flex-1 flex items-center justify-center px-4 py-2 border border-gray-600 bg-gray-700 text-gray-100 rounded-lg cursor-pointer hover:bg-gray-600 transition-colors">
<input type="radio" name="companyHoliday" value="newyearseve" id="companyHolidayNewYear" class="mr-2">
<span>Silvester (31.12.)</span>
</label>
</div>
</div>
</div>
<!-- Database Export/Import -->
<div class="mt-6 pt-4 border-t border-gray-600">
<h3 class="text-sm font-semibold text-gray-300 mb-3 flex items-center gap-2">