From 666dd64580ec77880e3b8566ebe0a3c946193cf6 Mon Sep 17 00:00:00 2001 From: admin Date: Sat, 2 May 2026 23:25:24 +0200 Subject: [PATCH] Budget setting and all dollar to chf --- src/app/[locale]/tenants/[name]/page.tsx | 13 ------------- .../dashboard/budget-editable-card.tsx | 7 +------ src/messages/de.json | 17 ++++++++++++++++- src/messages/en.json | 17 ++++++++++++++++- src/messages/fr.json | 17 ++++++++++++++++- src/messages/it.json | 17 ++++++++++++++++- 6 files changed, 65 insertions(+), 23 deletions(-) diff --git a/src/app/[locale]/tenants/[name]/page.tsx b/src/app/[locale]/tenants/[name]/page.tsx index e40f711..1cd336e 100644 --- a/src/app/[locale]/tenants/[name]/page.tsx +++ b/src/app/[locale]/tenants/[name]/page.tsx @@ -43,19 +43,6 @@ 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. diff --git a/src/components/dashboard/budget-editable-card.tsx b/src/components/dashboard/budget-editable-card.tsx index 8e052de..41553bf 100644 --- a/src/components/dashboard/budget-editable-card.tsx +++ b/src/components/dashboard/budget-editable-card.tsx @@ -126,12 +126,7 @@ export function BudgetEditableCard({ <>