{{- /* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial */ -}} {{- /* SPDX-FileCopyrightText: 2025-2026 Christian Galo */ -}} {{/* member_invoices.html The member Billing page's invoices region, swapped into #billing-content (the region titles itself so the heading follows the list/detail swaps). Rows navigate through the invoice number (chrome-conventions "Row navigation is the primary column's link"); an unissued invoice navigates through "Unnumbered", matching the operator list. States render through statusBadge via the same derivation the operator surface uses (Overdue wins; a paid invoice that did not cover its amount presents as partially paid). */}} {{ template "sectionHeader" .Header }} {{ if .Error }} {{ else if eq (len .Invoices) 0 }} {{ template "emptyState" .Empty }} {{ else }}
{{ range .Invoices }} {{ end }}
Invoice Period Amount due Amount paid Status
{{ if .InvoiceNumber }} {{ .InvoiceNumber }} {{ else }} Unnumbered {{ template "helpIcon" (helpIcon "Unnumbered" "A reference number is assigned when the invoice is issued.") }} {{ end }} {{ .Period }} {{ .AmountDue }} {{ .AmountPaid }} {{ template "statusBadge" .StatusBadge }}
{{ end }}