This repository has been archived on 2024-10-02. You can view files and clone it, but cannot push or open issues or pull requests.
smart-tag/bindTicketShelvingOld.js

20 lines
588 B
JavaScript
Raw Normal View History

2021-03-18 10:04:03 +00:00
const insert = require('./methods/bindTicketShelving');
2021-03-17 14:27:09 +00:00
const filter = require('./utilities/filter');
2021-03-17 08:11:55 +00:00
const select = require('./db/selectDB');
var barcode = "A0A3B820690F";
var shelving = "BCD";///introducida por el usuario
var collectionFk = '274286';
function ticketCollection(collectionFk){//parametro collectionFk
select.select(collectionFk, function(err,data){
if(filter.isShelving(shelving)){
//insert.insertTicket(data, shelving,)
}
else{
console.log("¡MATRICULA INCORRECTA!")
}
});
}
ticketCollection(collectionFk);