diff --git a/bindShelvingTag.js b/bindShelvingTag.js index 45d16eb..b6db2fe 100644 --- a/bindShelvingTag.js +++ b/bindShelvingTag.js @@ -10,7 +10,7 @@ function bindShelvingTag(barcode, shelving, level){ insertShelving.insertShelving(shelving, level); insertDB.insertDB(barcode, shelving, level); }else{ - console.log("¡MATRICULA INCORRECTA!") + console.log("¡MATRICULA INCORRECTA!") } }else{ console.log("¡CODIGO DE ETIQUETA INCORRECTO!") diff --git a/bindTicketShelving.js b/bindTicketShelving.js index 2c9684d..37d1d94 100644 --- a/bindTicketShelving.js +++ b/bindTicketShelving.js @@ -6,9 +6,7 @@ var barcode = "A0A3B820690F"; var shelving = "BCD";///introducida por el usuario O en leida de la bbdd? var collectionFk = '254'; - - -function ticketCollection(collectionFk, shelving){//parametro collectionFk +function ticketCollection(collectionFk){//parametro collectionFk select.select(collectionFk, function(err,data){ if(filter.filterShelving(shelving)){ insert.insertTicket(data, shelving) diff --git a/insertTicket.js b/insertTicket.js index 4d1008b..3cdccf5 100644 --- a/insertTicket.js +++ b/insertTicket.js @@ -8,7 +8,6 @@ function insertTicket(consultaSql, shelving){ (async() => { for(var i=0;i