8144-devToTest_2448 #3216
|
@ -53,7 +53,7 @@ module.exports = Self => {
|
|||
if (hasDmsCmr.length)
|
||||
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 pdfStream = Readable.from(Buffer.from(response[0]));
|
||||
const data = {
|
||||
|
|
Loading…
Reference in New Issue