This commit is contained in:
Ainki 2020-03-23 15:34:13 +01:00 committed by Joan Sanchez
parent 4927ea4ca7
commit 1063db3a2f
1 changed files with 2 additions and 1 deletions

View File

@ -51,7 +51,7 @@ module.exports = Self => {
const [placements] = await Self.rawSql(query, [collectionFk]); const [placements] = await Self.rawSql(query, [collectionFk]);
query = `CALL vn.collectionSticker_print(?,?)`; query = `CALL vn.collectionSticker_print(?,?)`;
// await Self.rawSql(query, [collectionFk, sectorFk]); await Self.rawSql(query, [collectionFk, sectorFk]);
return makeCollection(tickets, sales, placements, collectionFk); return makeCollection(tickets, sales, placements, collectionFk);
}; };
@ -61,6 +61,7 @@ module.exports = Self => {
* @param {*} tickets - Request tickets * @param {*} tickets - Request tickets
* @param {*} sales - Request sales * @param {*} sales - Request sales
* @param {*} placements - Request placements * @param {*} placements - Request placements
* @param {*} collectionFk - Request placements
* @return {Object} Collection JSON * @return {Object} Collection JSON
*/ */
async function makeCollection(tickets, sales, placements, collectionFk) { async function makeCollection(tickets, sales, placements, collectionFk) {