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
582 B
JavaScript
Raw Normal View History

2021-03-17 14:27:09 +00:00
const insert = require('./methods/insertTicket');
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);