working on absence

This commit is contained in:
2025-05-19 15:10:05 +02:00
parent 5f8bb1514b
commit d3026ae72e
5 changed files with 35 additions and 3 deletions

View File

@@ -138,7 +138,7 @@ templ lineComponent() {
templ absenceComponent(d models.WorkDay) {
<div class="no-booking-component hidden group-[.edit]:flex flex-col gap-2 align-center">
<select name="abwesenheit" onchange={ templ.JSFuncCall("editAbwesenheit", templ.JSExpression("this"), templ.JSExpression("event")) } class="grow cursor-pointer rounded-md text-neutral-800 p-2 md:px-4 border text-center text-sm transition-colors border-neutral-900" disabled>
<select name="absence" onchange={ templ.JSFuncCall("editAbwesenheit", templ.JSExpression("this"), templ.JSExpression("event")) } class="grow cursor-pointer rounded-md text-neutral-800 p-2 md:px-4 border text-center text-sm transition-colors border-neutral-900" disabled>
<option value="0">Abwesenheit?</option>
<option value="1">Urlaub</option>
<option value="2">Kurzarbeit</option>