refs #6184 saveCmr #1788
|
@ -43,7 +43,7 @@ module.exports = Self => {
|
|||
ids = ids.split(',');
|
||||
|
||||
for (const id of ids) {
|
||||
const data = models.Route.generateCmrPdf(id);
|
||||
const data = await models.Route.generateCmrPdf(ctx, id, options);
|
||||
zip.file(`${id}.pdf`, data, {binary: true});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue