This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static List<facturas_lin> ordenarFilas(List<facturas_lin> dr) | |
{ | |
if (opc_orden_lineas == null) | |
{ | |
//opc_orden_lineas es un map (array_asociativo) del estilo: | |
//$_opc_orden_lineas[$_res['comienza_por']] = $_res['posicion']; | |
//Siendo $_res un resulset de esta consulta: 'select * from opc_orden_lineas' | |
opc_orden_lineas = Impextrom.cargadoresBBDD.LoadObjects.cargarOrdenLineas(); | |
} | |
//Aquí inicializo una matriz que tiene como indice 'posicion' y como valor una lista de artículos |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Ponemos el not #column_edit por si tenemos un td en el que tengamos botones para borrar, copiar, etc. | |
$(document).ready(function () { | |
$(".clickable-row td").not('#column_edit').click(function() { | |
window.document.location = $(this).parent('tr').data("href"); | |
}); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |