<?php use_helper( 'UrlFunctions' ); ?>
<?php use_helper( 'UtilFunctions' ); ?>
<?php use_helper( 'IncludePartial' ); ?>

    <table id="example" class="table table-striped table-bordered grid" style="width:100%">
        <thead>
            <tr>
                <th width="2%" style="text-align: center;"> # </th>
                <th style="text-align: center;">Fecha Registro</th>
                <th style="text-align: center;">Usuario</th>
                <th style="text-align: center;">Registro</th>
                <th style="text-align: center;">Dato</th>
                <th style="text-align: center;">Valor Anterior</th>
                <th style="text-align: center;">Valor Nuevo</th>
            </tr>
        </thead>
        <tbody>
            <?php foreach ( $a_RegistroHistorial as $key => $o_RegistroHistorialBN ) { ?>
                <tr>
                    <td align="center"><?=$key+1?></td>
                    <td align="center" nowrap=""><?=$o_RegistroHistorialBN->getIdFecha()?></td>
                    <td align="center"><?=$o_RegistroHistorialBN->getUsuarioCreacion()?></td>
                    <td align="center"><?=$o_RegistroHistorialBN->getCampoValor()." - ".$o_RegistroHistorialBN->getObjectItem()->getDescripcionCompleta()?></td>
                    <td align="center"><?=$o_RegistroHistorialBN->getCampoDescripcion()?></td>
                    <td align="center"><?=$o_RegistroHistorialBN->getValorAnterior()?></td>
                    <td align="center"><?=$o_RegistroHistorialBN->getValorNuevo()?></td>
                </tr>    
            <?php } ?>
        </tbody>
    </table>