From 6a5c1e844d1fe15f2a5846dc03880898cd6d3dee Mon Sep 17 00:00:00 2001 From: florianfederspiel Date: Fri, 8 May 2026 20:04:26 +0200 Subject: [PATCH] Vertragstypen im Kundenportal freigeben --- backend/src/routes/resources/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/routes/resources/main.ts b/backend/src/routes/resources/main.ts index b88cba5..7fa9f24 100644 --- a/backend/src/routes/resources/main.ts +++ b/backend/src/routes/resources/main.ts @@ -19,7 +19,7 @@ import { diffObjects } from "../../utils/diff"; import { recalculateServicePricesForTenant } from "../../modules/service-price-recalculation.service"; import { decrypt, encrypt } from "../../utils/crypt"; -const PORTAL_ALLOWED_RESOURCES = new Set(["customers", "contracts", "createddocuments"]) +const PORTAL_ALLOWED_RESOURCES = new Set(["customers", "contracts", "createddocuments", "contracttypes"]) const PORTAL_VISIBLE_DOCUMENT_TYPES = ["invoices", "advanceInvoices", "cancellationInvoices"] // -------------------------------------------------------------