package handlers

import (
	"net/http"

	"mgit.msbls.de/m/paliad/internal/offices"
)

// GET /api/offices — returns the canonical firm office list with DE + EN
// labels. Backed by internal/offices (single source of truth, also used by
// the Akte create / edit validation).
func handleListOffices(w http.ResponseWriter, r *http.Request) {
	writeJSON(w, http.StatusOK, offices.All)
}
