File "historialCasos.php"
Full Path: C:/wamp64/www/casos_medicos1/views/historialCasos.php
File size: 805 bytes
MIME-type: text/html
Charset: utf-8
<h4>Historial de Casos</h4>
<hr>
<?php if (count($historial) > 0): ?>
<table class="table table-sm">
<thead>
<tr>
<th>Inicio</th>
<th>Fin</th>
<th>Días</th>
<th>Diagnóstico</th>
</tr>
</thead>
<tbody>
<?php foreach ($historial as $r): ?>
<tr>
<td><?= htmlspecialchars($r['fecha_inicio']) ?></td>
<td><?= htmlspecialchars($r['fecha_fin']) ?></td>
<td><?= htmlspecialchars($r['tiempo']) ?></td>
<td><?= htmlspecialchars($r['codigo']) ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<?php else: ?>
<div class="alert alert-info">Sin incapacidades registradas.</div>
<?php endif; ?>