Phase3: Billing Customerpage/Mailings
All checks were successful
Build and Push / build (push) Successful in 1m37s

This commit is contained in:
2026-05-24 22:21:26 +02:00
parent c21b48c704
commit 4a5ae0bb8b
7 changed files with 29 additions and 21 deletions

View File

@@ -8,7 +8,7 @@ interface Props {
}
const statusColors: Record<string, string> = {
issued: "text-text-secondary bg-surface-3",
open: "text-text-secondary bg-surface-3",
paid: "text-success bg-success/10",
overdue: "text-error bg-error/10",
void: "text-text-muted bg-surface-3",

View File

@@ -8,7 +8,7 @@ interface Props {
}
const statusColors: Record<string, string> = {
issued: "text-text-secondary bg-surface-3",
open: "text-text-secondary bg-surface-3",
paid: "text-success bg-success/10",
overdue: "text-error bg-error/10",
void: "text-text-muted bg-surface-3 line-through",

View File

@@ -74,17 +74,6 @@ function NavBar() {
{t("settings")}
</NavLink>
)}
{/* Feature 5: Support is available to every signed-in
user. Customers see their own tickets only; platform
admins see the queue. */}
{user && (
<NavLink
href="/support"
active={pathname.startsWith("/support")}
>
{t("support")}
</NavLink>
)}
{/* Phase 3: Billing visible to anyone signed in. The
page is org-scoped server-side — non-owner members
see the same invoice history their owner does, but
@@ -99,6 +88,17 @@ function NavBar() {
{t("billing")}
</NavLink>
)}
{/* Feature 5: Support is available to every signed-in
user. Customers see their own tickets only; platform
admins see the queue. */}
{user && (
<NavLink
href="/support"
active={pathname.startsWith("/support")}
>
{t("support")}
</NavLink>
)}
{user?.isPlatform && (
<NavLink href="/admin" active={pathname === "/admin"}>
{t("admin")}