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:
co-authored by
Claude Sonnet 4.6
parent
8732db9c1f
commit
8b2f8eb3be
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user