{{- /* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial */ -}} {{- /* SPDX-FileCopyrightText: 2025-2026 Christian Galo */ -}} {{/* operator_subscriptions.html Subscriptions view inside the operator_billing.html wrapper (which owns the page header). Built from the page-anatomy parts: states through statusBadge, the empty and blocked states through emptyState. The organization is the row's subject and leads as the row header (chrome-conventions); cancel-at-period-end is an exception marker beside the status, the always-"Default" billing account name and the truncated ID column are retired (maintainer, 2026-08-30); a subscription has no detail page today, so no cell links its own. */}} {{ if .Error }}
| Organization | Status | Current period | Created | Stripe sync {{ template "helpIcon" (helpIcon "Stripe sync" "Whether the row has a linked Stripe object. Not mapped means none is linked yet; that is expected when Stripe is not configured or a sync has not run. Check the Stripe integration settings before assuming something is broken.") }} |
|---|---|---|---|---|
| {{ if .OrgName }} {{ .OrgName }} {{ else }} {{ .OrgID }} {{ end }}{{ if .EnvState }}{{ template "statusBadge" .EnvBadge }}{{ end }} | {{ template "statusBadge" .StatusBadge }} {{ if .CancelAtPeriodEnd }}{{ template "statusBadge" .CancelingBadge }}{{ end }} | {{ if .CurrentPeriodStart }} {{ .CurrentPeriodStart }} to {{ .CurrentPeriodEnd }} {{ else }} — {{ end }} | {{ .CreatedAt }} | {{ template "statusBadge" .SyncBadge }} |