Paradaux

PAR-222

0

Admin tool: edit firm details (HQ region, Discord)

DoneUnassignedEconomy ExplorerFeature

Extend the /admin/firms tool (PAR-209) so admins can edit a firm's HQ region and Discord URL via the SERVICE-scoped PATCH /api/v1/admin/firms/{id} endpoint (sibling Treasury API tranche).

  • lib/treasury.ts: adminUpdateFirm(firmId, {discordUrl, hqRegion}).
  • lib/actions/admin-firms.ts: updateFirmDetailsAction — admin-gated, audited.
  • UI: add the fields to the existing per-firm admin panel; validate lengths (discord_url/hq_region ≤ column widths).
  • Builds directly on PAR-209's /admin/firms surface + client.

Resources

Comments

No comments yet.

Activity

  • ParadauxIO linked a commit — Commit 20c1582 — Admin tools: move money, account mgmt, ledger filtering, firm details + reports (PAR-219/220/221/222/224)
  • ParadauxIO changed status to Status → Done
  • ParadauxIO linked a pull request — PR #25 merged — Release develop → main: admin tools batch (PAR-219/220/221/222/224)
  • ParadauxIO linked a pull request — PR #25 open — Release develop → main: admin tools batch (PAR-219/220/221/222/224)
  • ParadauxIO linked a commit — Commit 20c1582 — Admin tools: move money, account mgmt, ledger filtering, firm details + reports (PAR-219/220/221/222/224)
  • tesks created the issue