feat: mostrar contrato en vista previa de recepciones en automation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
7ec9af84c5
commit
02d251685e
@@ -157,6 +157,7 @@ async def preview_automation(
|
||||
"examenes": len(filas),
|
||||
"valor": float(filas[0].get("VALORTOTAL") or 0),
|
||||
"diag": str(filas[0].get("DIAG_PPAL") or ""),
|
||||
"contrato": str(filas[0].get("CODCONTRATO") or "").strip(),
|
||||
})
|
||||
|
||||
pacientes_preview = [
|
||||
|
||||
@@ -196,6 +196,7 @@ async function previewAutomation() {
|
||||
<span class="text-blue-400 w-4"><i class="fas fa-flask"></i></span>
|
||||
<span class="font-mono text-blue-700 w-28">${r.factura}</span>
|
||||
<span class="text-blue-600 w-24">${r.fecha}</span>
|
||||
<span class="font-mono bg-blue-100 text-blue-800 px-1.5 py-0.5 rounded w-14 text-center">${r.contrato || '—'}</span>
|
||||
<span class="text-blue-600 w-20">${r.examenes} examen(es)</span>
|
||||
<span class="text-blue-600 flex-1">${r.diag}</span>
|
||||
<span class="text-blue-700 font-medium">$${Number(r.valor).toLocaleString('es-CO')}</span>
|
||||
|
||||
Reference in New Issue
Block a user