Added Birthday & EntryDate

This commit is contained in:
2025-01-03 09:32:32 +01:00
parent 8723540b0d
commit cbdf3edd8d

View File

@@ -225,6 +225,21 @@ const saveProfile = async () => {
v-model="itemInfo.mobileTel" v-model="itemInfo.mobileTel"
/> />
</UFormGroup> </UFormGroup>
<UFormGroup
label="Geburtstag:"
>
<UPopover :popper="{ placement: 'bottom-start' }">
<UButton
icon="i-heroicons-calendar-days-20-solid"
:label="itemInfo.birthday ? dayjs(itemInfo.birthday).format('DD.MM.YYYY') : 'Datum auswählen'"
variant="outline"
/>
<template #panel="{ close }">
<LazyDatePicker v-model="itemInfo.birthday" />
</template>
</UPopover>
</UFormGroup>
</InputGroup> </InputGroup>
<InputGroup class="w-full"> <InputGroup class="w-full">
<UFormGroup <UFormGroup
@@ -310,6 +325,23 @@ const saveProfile = async () => {
Speichern Speichern
</UButton> </UButton>
</Toolbar> </Toolbar>
<InputGroup class="w-full">
<UFormGroup
label="Eintrittsdatum:"
>
<UPopover :popper="{ placement: 'bottom-start' }">
<UButton
icon="i-heroicons-calendar-days-20-solid"
:label="itemInfo.entryDate ? dayjs(itemInfo.entryDate).format('DD.MM.YYYY') : 'Datum auswählen'"
variant="outline"
/>
<template #panel="{ close }">
<LazyDatePicker v-model="itemInfo.entryDate" />
</template>
</UPopover>
</UFormGroup>
</InputGroup>
<InputGroup class="w-full"> <InputGroup class="w-full">
<UFormGroup <UFormGroup
label="Wöchentliche Arbeitszeit" label="Wöchentliche Arbeitszeit"