From 188bef2ecee967c3b39e4e1669979dc1b116a9a9 Mon Sep 17 00:00:00 2001 From: admin Date: Sat, 2 May 2026 23:16:14 +0200 Subject: [PATCH] Budget setting and all dollar to chf --- src/app/[locale]/tenants/[name]/page.tsx | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/app/[locale]/tenants/[name]/page.tsx b/src/app/[locale]/tenants/[name]/page.tsx index 96e570f..e40f711 100644 --- a/src/app/[locale]/tenants/[name]/page.tsx +++ b/src/app/[locale]/tenants/[name]/page.tsx @@ -43,6 +43,19 @@ export default async function TenantDetailPage({ // the same page but with edit controls hidden / fields read-only. const canEdit = canMutate(user); + // TEMP DIAGNOSTIC for budget-card non-rendering. Logs the prop + // values that flow into UsageDisplay so we can see which one is + // turning the editable variant off. Remove once cause is found. + console.log( + "[tenant page] budget edit props", + JSON.stringify({ + tenantName: name, + canEdit, + isPlatform: user.isPlatform, + roles: user.roles, + }) + ); + // Bug 31: customer-side cancel/resume control. Same gate as canEdit // — only owners (or platform staff) may toggle the subscription. // The current state comes from spec.suspend on the CR. @@ -199,7 +212,7 @@ export default async function TenantDetailPage({

{t("usage")}

- + {/* Packages */}