{{- /* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial */ -}} {{- /* SPDX-FileCopyrightText: 2025-2026 Christian Galo */ -}} {{/* operator_lookup_result.html Swap target for the landing-surface lookup form. The handler returns this partial for multi-person disambiguation and no-match cases; unique matches return an HX-Redirect header instead and HTMX full-page navigates. */}} {{ if .LookupNoMatch }} {{ end }} {{ if gt (len .LookupCandidates) 0 }}

Multiple persons match {{ .LookupTerm }}; choose one:

{{ end }} {{ if gt (len .LookupOrgCandidates) 0 }}

Multiple organizations match {{ .LookupTerm }}; choose one:

{{ end }} {{ if gt (len .LookupInvoiceCandidates) 0 }}
{{/* An invoice number is unique only per billing account (design D4), so the same number can name several invoices across different organizations' accounts. */}}

Multiple invoices carry number {{ .LookupTerm }}; choose one:

{{ end }}