requireLogin(); $id = trim((string) ($_GET['id'] ?? '')); $store = new JsonStore(); $submission = $store->getSubmissionByKey($id); if ($submission === null) { http_response_code(404); echo 'Antrag nicht gefunden.'; exit; } $schema = new FormSchema(); $formatter = new SubmissionFormatter($schema); $formattedSteps = $formatter->formatSteps($submission); $uploadFields = $schema->getUploadFields(); $formData = (array) ($submission['form_data'] ?? []); $uploads = (array) ($submission['uploads'] ?? []); $firstName = (string) ($formData['vorname'] ?? ''); $lastName = (string) ($formData['nachname'] ?? ''); $csrf = Csrf::token(); ?> Antragsdetails

Zur Übersicht

Antragsdetails

Vorname Nachname
E-Mail Eingereicht

Formulardaten

Keine Formulardaten vorhanden.

Uploads

Keine Uploads vorhanden.

$fieldDef): $files = $uploads[$fieldKey] ?? []; if (!is_array($files) || $files === []) { continue; } $shownUploadKeys[] = $fieldKey; $uploadLabel = (string) ($fieldDef['label'] ?? $fieldKey); ?>

$files): if (in_array((string) $fieldKey, $shownUploadKeys, true) || !is_array($files) || $files === []) { continue; } ?>

Löschen