- Updated proforma listing behavior to utilize `Criteria filters[]` for managing archived and active proformas. - Removed `archived` query parameter from backend; frontend now manages `archiveView` state. - Implemented new filters for `archived_at` and `status` in the proforma listing API. - Adjusted proforma creation and deletion contracts to reflect changes in archiving logic. - Introduced new utility functions for building proforma listing criteria based on UI state. - Updated frontend components to support new filtering options and maintain state in the URL. - Added SQL index for improved performance on proforma queries. - Created new TypeScript types for managing proforma list filters and criteria. |
||
|---|---|---|
| .ai | ||
| .vscode | ||
| apps | ||
| docs | ||
| modules | ||
| packages | ||
| scripts | ||
| tools | ||
| .dockerignore | ||
| .editorconfig | ||
| .gitignore | ||
| AGENTS.md | ||
| biome.json | ||
| Dockerfile | ||
| eslint.config.mjs | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| README.md | ||
| tsconfig.base.json | ||
| tsconfig.json | ||
| turbo.json | ||
ERP Monorepo
Monorepo con aplicaciones, servidor y paquetes modulares para el ERP.
Estado actual
- El runtime nuevo de autenticación y sesión vive en
modules/identity. modules/companieses la fuente de verdad de la ficha operativa de empresa.modules/authdebe considerarse legacy/deprecated para backend nuevo.- El frontend ERP ya usa
@erp/identity/clientcomo runtime actual.
Documentación clave
- Docs index
- Identity and companies
- Tenant context y
X-Company-Id - Identity auth API
- Frontend auth and company selection
- Seed local admin
Reglas rápidas
- Backend nuevo: usar
@erp/identity/api. - Rutas solo autenticadas:
requireIdentityAuthenticated(params). - Rutas tenant-scoped:
requireIdentityTenant(params). GET /companies/availablees el endpoint vigente para companies accesibles.- No documentar ni introducir
GET /identity/companies. - No meter
companyIdnicompanySlugdentro del access token.