2. Zwischenstand
All checks were successful
Build and Push Docker Images / build-backend (push) Successful in 15s
Build and Push Docker Images / build-frontend (push) Successful in 2m43s

This commit is contained in:
2026-03-21 22:56:56 +01:00
parent 68b2cbb0ee
commit 03bcc1a939
56 changed files with 1289 additions and 1302 deletions

View File

@@ -120,28 +120,29 @@ const createExport = async () => {
{ key: 'download', label: 'Download' },
])"
>
<template #created_at-data="{row}">
{{dayjs(row.created_at).format("DD.MM.YYYY HH:mm")}}
<template #created_at-cell="{row}">
{{dayjs(row.original.created_at).format("DD.MM.YYYY HH:mm")}}
</template>
<template #start_date-data="{row}">
{{dayjs(row.start_date).format("DD.MM.YYYY HH:mm")}}
<template #start_date-cell="{row}">
{{dayjs(row.original.start_date).format("DD.MM.YYYY HH:mm")}}
</template>
<template #end_date-data="{row}">
{{dayjs(row.end_date).format("DD.MM.YYYY HH:mm")}}
<template #end_date-cell="{row}">
{{dayjs(row.original.end_date).format("DD.MM.YYYY HH:mm")}}
</template>
<template #valid_until-data="{row}">
{{dayjs(row.valid_until).format("DD.MM.YYYY HH:mm")}}
<template #valid_until-cell="{row}">
{{dayjs(row.original.valid_until).format("DD.MM.YYYY HH:mm")}}
</template>
<template #download-data="{row}">
<UButton @click="downloadFile(row)">Download</UButton>
<template #download-cell="{row}">
<UButton @click="downloadFile(row.original)">Download</UButton>
</template>
</UTable>
<UModal v-model:open="showCreateExportModal">
<UCard>
<template #header>
Export erstellen
</template>
<template #content>
<UCard>
<template #header>
Export erstellen
</template>
<div class="mb-6 p-3 bg-gray-50 dark:bg-gray-800 rounded-lg border border-gray-100 dark:border-gray-700">
<div class="text-xs font-semibold text-gray-500 uppercase tracking-wider mb-2">Schnellauswahl</div>
@@ -180,7 +181,7 @@ const createExport = async () => {
</div>
</div>
<div class="flex gap-4">
<UFormGroup label="Start:" class="flex-1">
<UFormField label="Start:" class="flex-1">
<UPopover :popper="{ placement: 'bottom-start' }">
<UButton
icon="i-heroicons-calendar-days-20-solid"
@@ -192,9 +193,9 @@ const createExport = async () => {
<LazyDatePicker v-model="createExportData.start_date" @close="close" />
</template>
</UPopover>
</UFormGroup>
</UFormField>
<UFormGroup label="Ende:" class="flex-1">
<UFormField label="Ende:" class="flex-1">
<UPopover :popper="{ placement: 'bottom-start' }">
<UButton
icon="i-heroicons-calendar-days-20-solid"
@@ -206,18 +207,19 @@ const createExport = async () => {
<LazyDatePicker v-model="createExportData.end_date" @close="close" />
</template>
</UPopover>
</UFormGroup>
</UFormField>
</div>
<template #footer>
<div class="flex justify-end">
<UButton @click="createExport">
Erstellen
</UButton>
</div>
</template>
<template #footer>
<div class="flex justify-end">
<UButton @click="createExport">
Erstellen
</UButton>
</div>
</template>
</UCard>
</UCard>
</template>
</UModal>
</template>