Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
AVIDOTAPP
/
views
/
fconsuldota
:
excel_historico.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php // Este archivo es incluido desde ConsultaController::exportarExcelHistorico() // Variables disponibles: $rows, $tipo_filtro ?> <table border="1"> <tr> <th>#</th> <?php if ($tipo_filtro !== 'EMPLEADO'): ?> <th>Cédula</th> <?php endif; ?> <th>Fecha Entrega</th> <th>Código EPP</th> <th>Descripción</th> <th>Cantidad</th> <th>Tipo Entrega</th> <th>Dotación</th> </tr> <?php $c = 1; foreach ($rows as $row): ?> <tr> <td><?= $c++ ?></td> <?php if ($tipo_filtro !== 'EMPLEADO'): ?> <td><?= htmlspecialchars($row['EMPLEADO']) ?></td> <?php endif; ?> <td><?= date('d/m/Y', strtotime($row['FECHA'])) ?></td> <td><?= htmlspecialchars($row['CODIGO']) ?></td> <td><?= htmlspecialchars($row['descripcion_epp'] ?? '') ?></td> <td><?= htmlspecialchars($row['CANTIDAD']) ?></td> <td><?= htmlspecialchars($row['ENTREGA']) ?></td> <td><?= htmlspecialchars($row['DOTACION']) ?></td> </tr> <?php endforeach; ?> </table>