Ausweistyp Kundendaten

This commit is contained in:
Moritz Utcke
2025-03-24 16:15:10 -03:00
parent 83b618b59d
commit a9c2b5c173
3 changed files with 3 additions and 3 deletions

View File

@@ -431,10 +431,11 @@
active={1} active={1}
steps={["Gebäudedaten", "Kundendaten", "Bestätigung"]} steps={["Gebäudedaten", "Kundendaten", "Bestätigung"]}
{ausweisart} {ausweisart}
{ausweistyp}
anliegen={"Angebot anfragen"} anliegen={"Angebot anfragen"}
/> />
{:else} {:else}
<Progressbar active={1} {ausweisart} anliegen={"Energieausweis erstellen"} /> <Progressbar active={1} {ausweisart} {ausweistyp} anliegen={"Energieausweis erstellen"} />
{/if} {/if}
</div> </div>

View File

@@ -10,7 +10,7 @@ const caller = createCaller(Astro)
const params = Astro.params; const params = Astro.params;
const page = Number(params.page) const page = Number(params.page)
const id = Astro.url.searchParams.get("id"); const id = Astro.url.searchParams.get("id") || undefined;
const user = await caller.user.self.GET.fetch(undefined, { const user = await caller.user.self.GET.fetch(undefined, {

View File

@@ -11,7 +11,6 @@ const uid = Astro.url.searchParams.get("uid");
const uid_aufnahme = Astro.url.searchParams.get("aufnahme") const uid_aufnahme = Astro.url.searchParams.get("aufnahme")
const ausweistyp = Astro.url.searchParams.get("ausweistyp") || Enums.AusweisTyp.Standard; const ausweistyp = Astro.url.searchParams.get("ausweistyp") || Enums.AusweisTyp.Standard;
let ausweis: VerbrauchsausweisWohnenClient = {} as VerbrauchsausweisWohnenClient; let ausweis: VerbrauchsausweisWohnenClient = {} as VerbrauchsausweisWohnenClient;
let aufnahme: AufnahmeClient = {} as AufnahmeClient; let aufnahme: AufnahmeClient = {} as AufnahmeClient;
let objekt: ObjektClient = {} as ObjektClient; let objekt: ObjektClient = {} as ObjektClient;