diff --git a/src/astro-typesafe-api-caller.ts b/src/astro-typesafe-api-caller.ts index 32f79f5b..01c6a1a1 100644 --- a/src/astro-typesafe-api-caller.ts +++ b/src/astro-typesafe-api-caller.ts @@ -14,16 +14,16 @@ export const createCaller = createCallerFactory({ "admin/stornieren": await import("../src/pages/api/admin/stornieren.ts"), "aufnahme": await import("../src/pages/api/aufnahme/index.ts"), "ausweise": await import("../src/pages/api/ausweise/index.ts"), - "bedarfsausweis-wohnen/[uid]": await import("../src/pages/api/bedarfsausweis-wohnen/[uid].ts"), - "bedarfsausweis-wohnen": await import("../src/pages/api/bedarfsausweis-wohnen/index.ts"), "auth/access-token": await import("../src/pages/api/auth/access-token.ts"), "auth/forgot-password": await import("../src/pages/api/auth/forgot-password.ts"), "auth/refresh-token": await import("../src/pages/api/auth/refresh-token.ts"), + "bedarfsausweis-wohnen/[uid]": await import("../src/pages/api/bedarfsausweis-wohnen/[uid].ts"), + "bedarfsausweis-wohnen": await import("../src/pages/api/bedarfsausweis-wohnen/index.ts"), "bilder/[uid]": await import("../src/pages/api/bilder/[uid].ts"), - "geg-nachweis-wohnen/[uid]": await import("../src/pages/api/geg-nachweis-wohnen/[uid].ts"), - "geg-nachweis-wohnen": await import("../src/pages/api/geg-nachweis-wohnen/index.ts"), "geg-nachweis-gewerbe/[uid]": await import("../src/pages/api/geg-nachweis-gewerbe/[uid].ts"), "geg-nachweis-gewerbe": await import("../src/pages/api/geg-nachweis-gewerbe/index.ts"), + "geg-nachweis-wohnen/[uid]": await import("../src/pages/api/geg-nachweis-wohnen/[uid].ts"), + "geg-nachweis-wohnen": await import("../src/pages/api/geg-nachweis-wohnen/index.ts"), "objekt": await import("../src/pages/api/objekt/index.ts"), "rechnung/anfordern": await import("../src/pages/api/rechnung/anfordern.ts"), "rechnung": await import("../src/pages/api/rechnung/index.ts"), diff --git a/src/components/design/sidebars/cards/cardPriceiInfo.svelte b/src/components/design/sidebars/cards/cardPriceiInfo.svelte index 970891ea..ab9c6e73 100644 --- a/src/components/design/sidebars/cards/cardPriceiInfo.svelte +++ b/src/components/design/sidebars/cards/cardPriceiInfo.svelte @@ -29,7 +29,7 @@
GEG-Nachweis Gewerbe
-
ab 000€ inkl. MwSt.
+
ab {PRICES.GEGNachweisGewerbe[Enums.AusweisTyp.Standard]}€ inkl. MwSt.

diff --git a/src/lib/constants.ts b/src/lib/constants.ts index 6e36bfbe..85d65a61 100644 --- a/src/lib/constants.ts +++ b/src/lib/constants.ts @@ -29,13 +29,6 @@ export enum VALID_UUID_PREFIXES { export const PRICES: Record> = { // per E-Mail , inkl.Beratung, offline - BedarfsausweisWohnen: [95, 125, 295], - VerbrauchsausweisWohnen: [65, 95, 180], - VerbrauchsausweisGewerbe: [95, 125, 360], - BedarfsausweisGewerbe: [500, 700, 1000], - GEGNachweisWohnen: [500, 700, 1000], - GEGNachweisGewerbe: [800, 1000, 1300] - BedarfsausweisWohnen: { [Enums.AusweisTyp.Standard]: 95, [Enums.AusweisTyp.Beratung]: 125, @@ -60,6 +53,11 @@ export const PRICES: Record> [Enums.AusweisTyp.Standard]: 500, [Enums.AusweisTyp.Beratung]: 700, [Enums.AusweisTyp.Offline]: 1000 + }, + GEGNachweisGewerbe: { + [Enums.AusweisTyp.Standard]: 800, + [Enums.AusweisTyp.Beratung]: 1000, + [Enums.AusweisTyp.Offline]: 1300 } };