fix: searchable client combobox in Nova instalação

Replaces the native list with a combobox (name/code/CNPJ search, accent- and
case-insensitive, keyboard + mouse, custom dropdown, hidden client_id = the
Gerenciador's real CLIENTE.ID). The backend resolves client_id against the
active GTI_GERENCIADOR mirror and rejects free text/unknown ids. Adds
Tenant.external_cnpj (migration 0025) mirrored via the internal endpoint.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
gti
2026-09-24 08:12:52 -03:00
co-authored by Claude Sonnet 5
parent 3ccef36c50
commit 9f9e06e9e9
9 changed files with 156 additions and 40 deletions
+5 -5
View File
@@ -1,7 +1,7 @@
{
"artifact": "RELEASE_MANIFEST",
"GTI_FISCAL_VERSION": "1.1.2",
"generated_at": "2026-09-24T01:54:42+00:00",
"generated_at": "2026-09-24T11:12:47+00:00",
"hub": {
"version": "1.1.2",
"api_compat": "1.0",
@@ -17,10 +17,10 @@
"ICMS_CONTEXT_ENGINE_VERSION": "icms-context-v1"
},
"migrations": {
"alembic_head_in_repo": "0024_tenant_gerenciador_mirror",
"applied_revision": "0024_tenant_gerenciador_mirror",
"applied_revision_source": "production Hub 10.0.10.117 (gti-fiscal-hub-fiscal-hub-1), verified 2026-09-24 (fresh DB == upgrade from 0023, pg_dump schema-identical)",
"count": 24
"alembic_head_in_repo": "0025_tenant_external_cnpj",
"applied_revision": "0025_tenant_external_cnpj",
"applied_revision_source": "production Hub 10.0.10.117 (gti-fiscal-hub-fiscal-hub-1), verified 2026-09-24",
"count": 25
},
"datasets_active": [
{