$fecha = dpVentaTableClass::FECHA; $numero_documento = dpVentaTableClass::NUMERO_DOCUMENTO; $usuario_id = dpVentaTableClass::USUARIO_ID; $peso_animal = dpVentaTableClass::PESO_ANIMAL; $precio_animal = dpVentaTableClass::PRECIO_ANIMAL; $animal_id = dpVentaTableClass::ANIMAL_ID; ?> <form method="post" action="<?php echo routing::getInstance()->getUrlWeb('dpVenta', isset($objDventa) == TRUE ? 'update' : 'create'); ?> "> <?php if (isset($objDventa)) { ?> <input type="hidden" name="<?php echo dpVentaBaseTableClass::getNameField(dpVentaBaseTableClass::ID, TRUE); ?> " value="<?php echo $objDventa[0]->{$id}; ?> "> <?php } ?> <div class="container"> <div class="row"> <div class="col-xs-6-offset-3"> <table class="table table-responsive "> <tr> <th> <?php
echo routing::getInstance()->getUrlWeb('dpVenta', 'edit', array(dpVentaBaseTableClass::ID => $key->{$id})); ?> " class="btn btn-info btn-sm"><?php echo i18n::__('modify', NULL, 'dpVenta'); ?> </a> <a href="#" onclick="confirmarEliminar(<?php echo $key->{$id}; ?> )" class="btn btn-danger btn-sm">Eliminar</a> </td> </tr> <?php } ?> </tbody> </table> </form> <form id="frmDelete" action="<?php echo routing::getInstance()->getUrlWeb('dpVenta', 'delete'); ?> " method="POST"> <input type="hidden" id="idDelete" name="<?php echo dpVentaBaseTableClass::getNameField(dpVentaBaseTableClass::ID, true); ?> "> </form> </div>