up
This commit is contained in:
@@ -96,8 +96,8 @@ if ($modoTurnero) {
|
||||
'fecha_nacimiento' => $tcRow['fecha_nacimiento'],
|
||||
'paciente_telefono' => $tcRow['paciente_telefono'],
|
||||
'eps' => $tcRow['eps'],
|
||||
'enviado_por_nombre'=> 'Sistema Turnero',
|
||||
'enviado_por_email' => null,
|
||||
'enviado_por_nombre'=> $_SESSION['admin_user']['full_name'] ?? $_SESSION['admin_user']['username'] ?? 'Turnero',
|
||||
'enviado_por_email' => $_SESSION['admin_user']['email'] ?? null,
|
||||
'firma_profesional_svg' => $tcRow['firma_profesional_svg'] ?? null,
|
||||
'datos_cliente' => '{}',
|
||||
'datos_prefilled' => json_encode(['__paciente' => [
|
||||
@@ -107,7 +107,7 @@ if ($modoTurnero) {
|
||||
'telefono' => $tcRow['paciente_telefono'] ?? '',
|
||||
'eps' => $tcRow['eps'] ?? '',
|
||||
]]),
|
||||
'created_at' => $tcRow['enviado_at'],
|
||||
'created_at' => $tcRow['enviado_at'] ?? date('Y-m-d H:i:s'),
|
||||
'completado_en' => $tcRow['firmado_at'],
|
||||
'ip_cliente' => $tcRow['ip_firma'],
|
||||
'hash_verificacion' => null,
|
||||
@@ -538,8 +538,8 @@ function esc2(mixed $v): string {
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
|
||||
<!-- Firma digital global (dibujo) -->
|
||||
<?php if ($envio['firma_svg']): ?>
|
||||
<!-- Firma digital global (solo si el esquema no tiene campo firma propio) -->
|
||||
<?php if ($envio['firma_svg'] && !$_renderedFirmaPaciente): ?>
|
||||
<div class="section-title mt-4"><i class="fas fa-signature me-1"></i>Firma digital (dibujo)</div>
|
||||
<div class="firma-box">
|
||||
<img src="<?= htmlspecialchars($envio['firma_svg']) ?>" alt="Firma digital">
|
||||
|
||||
Reference in New Issue
Block a user