- Added endpoint for retrieving deleted proformas with logical deletion. - Updated proforma listing to support active, archived, and deleted scopes. - Refactored repository and service layers to accommodate new proforma list scope. - Enhanced UI to display separate views for active, archived, and deleted proformas. - Updated localization files to reflect changes in proforma management. - Improved query handling to filter proformas based on their status and scope.
27 lines
489 B
Markdown
27 lines
489 B
Markdown
# Proformas archivadas
|
|
|
|
## Endpoint
|
|
|
|
- `GET /proformas/archived`
|
|
|
|
## Semántica
|
|
|
|
- Devuelve solo proformas con `archived_at IS NOT NULL`.
|
|
- Excluye registros con `deleted_at IS NOT NULL`.
|
|
- La búsqueda `q` se ejecuta dentro del scope archivado.
|
|
|
|
## Query soportada
|
|
|
|
- `q`
|
|
- `status`
|
|
- `pageNumber`
|
|
- `pageSize`
|
|
- `orderBy`
|
|
- `order`
|
|
|
|
## UI
|
|
|
|
- Ruta frontend: `/proformas/archived`
|
|
- Reutiliza el listado compartido con scope `archived`.
|
|
- Mantiene selector de estado, paginación y orden.
|