Ansichtsausweis

This commit is contained in:
Moritz Utcke
2025-02-20 21:41:29 +11:00
parent b283013116
commit 86532ec251
7 changed files with 70 additions and 25 deletions

View File

@@ -79,5 +79,5 @@ if (uid) {
---
<AusweisLayout title="Verbrauchsausweis Gewerbe erstellen | IBCornelsen">
<VerbrauchsausweisGewerbeModule client:load {ausweis} {objekt} {aufnahme} {bilder} />
<VerbrauchsausweisGewerbeModule client:only {ausweis} {objekt} {aufnahme} {bilder} />
</AusweisLayout>

View File

@@ -95,8 +95,9 @@ export const POST: APIRoute = async (Astro) => {
const ausweis = JSON.parse(params.get("ausweis") || "{}");
const aufnahme = JSON.parse(params.get("aufnahme") || "{}");
const objekt = JSON.parse(params.get("objekt") || "{}");
const bilder = JSON.parse(params.get("bilder") || "{}");
const ausweisart: Enums.Ausweisart = params.get("ausweisart")
const bilder = JSON.parse(params.get("bilder") || "[]");
const ausweisart: Enums.Ausweisart = JSON.parse(params.get("ausweisart") || "")
let user: BenutzerClient = {};