diff --git a/back/methods/collection/collectionNew.js b/back/methods/collection/collectionNew.js index 9a3020bf8..d22a0b7fe 100644 --- a/back/methods/collection/collectionNew.js +++ b/back/methods/collection/collectionNew.js @@ -51,7 +51,7 @@ module.exports = Self => { const [placements] = await Self.rawSql(query, [collectionFk]); query = `CALL vn.collectionSticker_print(?,?)`; - // await Self.rawSql(query, [collectionFk, sectorFk]); + await Self.rawSql(query, [collectionFk, sectorFk]); return makeCollection(tickets, sales, placements, collectionFk); }; @@ -61,6 +61,7 @@ module.exports = Self => { * @param {*} tickets - Request tickets * @param {*} sales - Request sales * @param {*} placements - Request placements + * @param {*} collectionFk - Request placements * @return {Object} Collection JSON */ async function makeCollection(tickets, sales, placements, collectionFk) {