8144-devToTest_2448 #3216

Merged
alexm merged 256 commits from 8144-devToTest_2448 into test 2024-11-19 07:36:04 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 3c8ef7cdba - Show all commits

View File

@ -53,7 +53,7 @@ module.exports = Self => {
if (hasDmsCmr.length) if (hasDmsCmr.length)
throw new UserError('This ticket already has a cmr saved'); throw new UserError('This ticket already has a cmr saved');
ctx.args.id = ticket.$cmrFk; Object.assign(ctx.args, {id: ticket.$cmrFk});
const response = await models.Cmr.print(ctx, myOptions); const response = await models.Cmr.print(ctx, myOptions);
const pdfStream = Readable.from(Buffer.from(response[0])); const pdfStream = Readable.from(Buffer.from(response[0]));
const data = { const data = {