<div class="row">
    <div class="col-12">
        <div class="card">
            <div class="card-body" :class="cargando">
                <div class="table-responsive">
                    <table class="table table-hover" id="tabla-bitacora">
                        <thead>
                            <tr>
                                <th>Empleado</th>
                                <th>Modulo</th>
                                <th>Fecha</th>
                                <th>Descripción</th>
                            </tr>
                        </thead>
                        <tbody>
                            <?php if (is_countable($bitacora) && count($bitacora)) : ?>
                                <?php foreach ($bitacora as $row) : ?>
                                    <tr>
                                        <td style="width: 15%;"><?= $row['empleado'] ?></td>
                                        <td style="width: 10%;"><?= $row['modulo'] ?></td>
                                        <td style="width: 15%;"><?= date('d/m/Y, h:m A', strtotime($row['fecha']))  ?></td>
                                        <td><?= $row['descripcion'] ?></td>
                                    </tr>
                                <?php endforeach; ?>
                            <?php endif; ?>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
