{{ if .Error }} {{ else }} {{ template "listControls" .Nav }} {{ if eq (len .Payments) 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 payments have been projected yet.

{{ end }}
{{ end }} {{ else }}
{{ range .Payments }} {{ end }}
Organization Billing Account Status Amount Payment Method Stripe Sync Created Invoice ID
{{ if .OrgName }} {{ .OrgName }} {{ else }} {{ .OrgID }} {{ end }} {{ .BillingAccountName }} {{ .Status }} {{ .Amount }} {{ .PaymentMethod }} {{ if eq .StripeSyncStatus "synced" }} Synced {{ else if eq .StripeSyncStatus "pending" }} Pending {{ else if eq .StripeSyncStatus "not_mapped" }} Not Mapped {{ else }} {{ .StripeSyncStatus }} {{ end }} {{ .CreatedAt }} {{ if .InvoiceID }}View invoice{{ else }}{{ end }} {{ slice .PaymentID 0 8 }}...
{{ template "listPager" .Nav }} {{ end }} {{ end }}