Repository navigation
fix(gastos): importe total filtrado independiente de paginación (#755, fase API) - #965
Closed
casasleonj wants to merge 8 commits into
Closed
casasleonj wants to merge 8 commits into
casasleonj wants to merge 8 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This was referenced Nov 22, 2026
This was referenced Nov 22, 2026
Owner
Author
|
Saneamiento contra |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#755 · Gastos operativos, resumen completo y edición contextual (maqueta aprobada)
Refs #755. El usuario aprobó las maquetas corregidas y las reglas de preservar cierres (22-nov-2026).
Implementado en este PR
GET /api/gastos: importemontoTotalcompleto con el mismo filtro de la lista.totales cantidad de filas; el total no se trunca a 20.origen=OPERATIVOfiltra registros generados por Nómina/Embarques (incluidas reversas históricas identificables), sin alterar el contrato global del API usado por el Cierre.RepeatableRead, paginación estable, cambio de página y manejo explícito de errores/red.?openGasto=id, el detalle carga el registro actualizado; evita editar Nómina desde Gastos.Dependencias y seguridad
GET/PATCH /api/gastos/[id], versión de concurrencia y migración aditiva; este PR NO DEBE fusionarse/desplegarse antes del backend y esquema.src/app/api/gastos/route.tsentre fix(finanzas): jornadas, movimientos pendientes y fechas de gastos (#746 #752 #753) #956 y este PR y repetir CI/QA.Verificación
Código en GitHub; CI del head más reciente en cola, no se ejecutaron tests locales ni QA del ERP real. Mantener PR draft, bloqueado de merge hasta CI, integración con #968/#956, permisos, pruebas PG y recorrido de escritorio/móvil en preview. No implica que #755 esté resuelto por completo.