<div class="table-responsive">
    <table class="table no-margin">
        <thead>
            <tr>
                <th>Fecha</th>
                <th>Motivo</th>
                <th>Estado</th>
                <th></th>
            </tr>
        </thead>
        <tbody>
            <?php if (count($Permisos)): ?>
                <?php foreach ($Permisos as $Permiso): ?>
                    <tr>
                        <td><?= $Permiso->permisoFCHPERMISO ?></td>
                        <td><?= $Permiso->permisoMotivoTITULO ?></td>
                        <td><span class="label label-success" <?= $Permiso->permisoESTADO ?> ><?= $Permiso->permisoESTADO ?></span></td>
                        <td>
                            <div class="btn-group">
                                <a href="<?= Parametros::valor('URLCANCELARPERMISO') . $Permiso->permisoID ?>" class="btn btn-app" >
                                    <i class="fa fa-cancel"></i>
                                </a>
                                <a href="<?= Parametros::valor('URLCERRARPERMISO') . $OBJPermiso->permisoID ?>" class="btn btn-app" >
                                    <i class="fa fa-close"></i>
                                </a>
                            </div>
                        </td>
                    </tr>
                <?php endforeach; ?>                
            <?php endif; ?>
        </tbody>
    </table>
</div>
