Billing rework
This commit is contained in:
@@ -33,7 +33,12 @@ export default async function SettingsPage() {
|
|||||||
key: "billing",
|
key: "billing",
|
||||||
href: "/settings/billing",
|
href: "/settings/billing",
|
||||||
title: t("billingTitle"),
|
title: t("billingTitle"),
|
||||||
description: t("billingDescription"),
|
// Personal customers (B2C) don't have a VAT number; the
|
||||||
|
// description shouldn't mention one. Same pattern used in the
|
||||||
|
// form itself (label/field gating).
|
||||||
|
description: user.isPersonal
|
||||||
|
? t("billingDescriptionPersonal")
|
||||||
|
: t("billingDescription"),
|
||||||
// Owners and platform admins can edit billing. `user` role
|
// Owners and platform admins can edit billing. `user` role
|
||||||
// can't even view it — billing details aren't useful to them.
|
// can't even view it — billing details aren't useful to them.
|
||||||
visible: canMutate(user),
|
visible: canMutate(user),
|
||||||
|
|||||||
@@ -390,7 +390,8 @@
|
|||||||
"subtitle": "Organisationsweite Konfiguration, die für alle Ihre Tenants gilt.",
|
"subtitle": "Organisationsweite Konfiguration, die für alle Ihre Tenants gilt.",
|
||||||
"billingTitle": "Abrechnung",
|
"billingTitle": "Abrechnung",
|
||||||
"billingDescription": "Adresse, MWST-Nummer und Rechnungs-E-Mail für alle Ihre Tenants.",
|
"billingDescription": "Adresse, MWST-Nummer und Rechnungs-E-Mail für alle Ihre Tenants.",
|
||||||
"nothingForYou": "Für Ihre Rolle gibt es hier noch nichts. Inhaber können Organisationseinstellungen verwalten."
|
"nothingForYou": "Für Ihre Rolle gibt es hier noch nichts. Inhaber können Organisationseinstellungen verwalten.",
|
||||||
|
"billingDescriptionPersonal": "Adresse und Rechnungs-E-Mail für alle Ihre Tenants."
|
||||||
},
|
},
|
||||||
"settingsBilling": {
|
"settingsBilling": {
|
||||||
"title": "Abrechnung",
|
"title": "Abrechnung",
|
||||||
|
|||||||
@@ -390,7 +390,8 @@
|
|||||||
"subtitle": "Manage org-level configuration that applies to all your tenants.",
|
"subtitle": "Manage org-level configuration that applies to all your tenants.",
|
||||||
"billingTitle": "Billing",
|
"billingTitle": "Billing",
|
||||||
"billingDescription": "Address, VAT number, and invoice email used for all your tenants.",
|
"billingDescription": "Address, VAT number, and invoice email used for all your tenants.",
|
||||||
"nothingForYou": "There's nothing here for your role yet. Owners can manage org settings."
|
"nothingForYou": "There's nothing here for your role yet. Owners can manage org settings.",
|
||||||
|
"billingDescriptionPersonal": "Address and invoice email used for all your tenants."
|
||||||
},
|
},
|
||||||
"settingsBilling": {
|
"settingsBilling": {
|
||||||
"title": "Billing",
|
"title": "Billing",
|
||||||
|
|||||||
@@ -390,7 +390,8 @@
|
|||||||
"subtitle": "Gérez la configuration au niveau de l'organisation, qui s'applique à tous vos locataires.",
|
"subtitle": "Gérez la configuration au niveau de l'organisation, qui s'applique à tous vos locataires.",
|
||||||
"billingTitle": "Facturation",
|
"billingTitle": "Facturation",
|
||||||
"billingDescription": "Adresse, numéro de TVA et e-mail de facturation utilisés pour tous vos locataires.",
|
"billingDescription": "Adresse, numéro de TVA et e-mail de facturation utilisés pour tous vos locataires.",
|
||||||
"nothingForYou": "Il n'y a rien ici pour votre rôle pour le moment. Les propriétaires peuvent gérer les paramètres de l'organisation."
|
"nothingForYou": "Il n'y a rien ici pour votre rôle pour le moment. Les propriétaires peuvent gérer les paramètres de l'organisation.",
|
||||||
|
"billingDescriptionPersonal": "Adresse et e-mail de facturation utilisés pour tous vos locataires."
|
||||||
},
|
},
|
||||||
"settingsBilling": {
|
"settingsBilling": {
|
||||||
"title": "Facturation",
|
"title": "Facturation",
|
||||||
|
|||||||
@@ -390,7 +390,8 @@
|
|||||||
"subtitle": "Gestisci la configurazione a livello di organizzazione, valida per tutti i tuoi tenant.",
|
"subtitle": "Gestisci la configurazione a livello di organizzazione, valida per tutti i tuoi tenant.",
|
||||||
"billingTitle": "Fatturazione",
|
"billingTitle": "Fatturazione",
|
||||||
"billingDescription": "Indirizzo, numero di IVA ed e-mail di fatturazione usati per tutti i tuoi tenant.",
|
"billingDescription": "Indirizzo, numero di IVA ed e-mail di fatturazione usati per tutti i tuoi tenant.",
|
||||||
"nothingForYou": "Al momento non c'è nulla qui per il tuo ruolo. I proprietari possono gestire le impostazioni dell'organizzazione."
|
"nothingForYou": "Al momento non c'è nulla qui per il tuo ruolo. I proprietari possono gestire le impostazioni dell'organizzazione.",
|
||||||
|
"billingDescriptionPersonal": "Indirizzo ed e-mail di fatturazione usati per tutti i tuoi tenant."
|
||||||
},
|
},
|
||||||
"settingsBilling": {
|
"settingsBilling": {
|
||||||
"title": "Fatturazione",
|
"title": "Fatturazione",
|
||||||
|
|||||||
Reference in New Issue
Block a user