{{ if .Error }} {{ else }} {{ template "listControls" .Nav }} {{ if eq (len .Accounts) 0 }} {{ if .Nav.Filtered }} {{ template "listNoMatch" .Nav }} {{ else }}
{{ if not .StripeConfigured }}

Billing data requires Stripe to be configured for this deployment. Configure Stripe.

{{ else }}

No billing accounts have been projected yet.

{{ end }}
{{ end }} {{ else }}
{{ range .Accounts }} {{ end }}
Organization Name Status Stripe Sync Stripe Customer Created ID
{{ if .OrgName }} {{ .OrgName }} {{ else }} {{ .OrgID }} {{ end }} {{ .Name }} {{ if eq .Status "active" }} {{ .Status }} {{ else if eq .Status "suspended" }} {{ .Status }} {{ else if eq .Status "closed" }} {{ .Status }} {{ else }} {{ .Status }} {{ end }} {{ if eq .StripeSyncStatus "synced" }} Synced {{ else if eq .StripeSyncStatus "pending" }} Pending {{ else if eq .StripeSyncStatus "not_mapped" }} Not Mapped {{ else }} {{ .StripeSyncStatus }} {{ end }} {{ if .StripeCustomerID }} {{ $url := stripeEntityURL "customers" .StripeCustomerID }} {{ if $url }} {{ .StripeCustomerID }} {{ else }} {{ .StripeCustomerID }} {{ end }} {{ else }} {{ end }} {{ .CreatedAt }} {{ .BillingAccountID }}
{{ template "listPager" .Nav }} {{ end }} {{ end }}