print
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Ainki 2020-03-23 15:34:13 +01:00
parent 52f97e1dec
commit b9c6f76c47
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]);
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) {