{{- /* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial */ -}} {{- /* SPDX-FileCopyrightText: 2025-2026 Christian Galo */ -}} {{/* operator_billing_accounts.html Billing accounts 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 cell is a cross-reference link; accounts have no detail page of their own today, so no first-column link. */}} {{ if .Error }} {{ else }} {{ template "environmentNotice" .EnvNotice }} {{ if eq (len .Accounts) 0 }} {{ if .Nav.Filtered }} {{ template "listControls" .Nav }} {{ template "listNoMatch" .Nav }} {{ else }} {{ template "emptyState" .Empty }} {{ end }} {{ else }} {{ template "listControls" .Nav }}
{{ range .Accounts }} {{ end }}
Organization Name Status Stripe customer 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 }} {{ .Name }} {{ template "statusBadge" .StatusBadge }} {{ if .StripeCustomerID }} {{ $url := stripeEntityURL "customers" .StripeCustomerID }} {{ if $url }} {{ .StripeCustomerID }} {{ else }} {{ .StripeCustomerID }} {{ end }} {{ else }} {{ end }} {{ .CreatedAt }} {{ template "statusBadge" .SyncBadge }}
{{ template "listPager" .Nav }} {{ end }} {{ end }}