Actualizar modules/entry/back/methods/entry/print.js
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
d872f164fd
commit
30cc7a49a0
|
@ -48,6 +48,7 @@ module.exports = Self => {
|
||||||
for (const buy of buys) {
|
for (const buy of buys) {
|
||||||
if (buy.stickers < 1) continue;
|
if (buy.stickers < 1) continue;
|
||||||
ctx.args.id = buy.id;
|
ctx.args.id = buy.id;
|
||||||
|
ctx.args.copies = buy.stickers;
|
||||||
const pdfBuffer = await models.Entry.buyLabel(ctx, myOptions);
|
const pdfBuffer = await models.Entry.buyLabel(ctx, myOptions);
|
||||||
await merger.add(new Uint8Array(pdfBuffer[0]));
|
await merger.add(new Uint8Array(pdfBuffer[0]));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue