fix: add rel.DESCUENTO to all SQL queries; update debug endpoint with discount check

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Lizandro Guarnizo
2026-07-01 12:11:00 -05:00
co-authored by Claude Sonnet 4.6
parent 8732db9c1f
commit 8b2f8eb3be
3 changed files with 13 additions and 1 deletions
+1
View File
@@ -60,6 +60,7 @@ SELECT
r.VALORTOTAL,
rel.COD_EXAMEN,
rel.PRECIO,
rel.DESCUENTO,
rel.FECHA_REPORTADO,
m.COD_ESPECIALIDAD,
COALESCE(NULLIF(TRIM(m.CODIGO), ''), NULLIF(TRIM(r.USUARIO), ''), '') AS profesional,