fixes #5137 Avisos impresoras cuando hayan seleccionado una que no es principal #1514

Merged
alexandre merged 13 commits from 5137-aviso-impresora into dev 2023-06-07 06:41:35 +00:00
Contributor
No description provided.
alexandre added 1 commit 2023-05-10 11:43:03 +00:00
gitea/salix/pipeline/head This commit looks good Details
ded8e0e141
refs #5137 added trigger, template and test
alexandre added 1 commit 2023-05-10 11:43:13 +00:00
gitea/salix/pipeline/head This commit looks good Details
f72c162ca7
Merge branch 'dev' into 5137-aviso-impresora
alexandre requested review from juan 2023-05-10 11:43:17 +00:00
alexandre added 2 commits 2023-05-10 11:46:26 +00:00
alexandre added 1 commit 2023-05-18 12:43:36 +00:00
alexandre added 1 commit 2023-05-18 12:47:50 +00:00
gitea/salix/pipeline/head There was a failure building this commit Details
ca9d76db77
refs #5137 moved sql
juan requested changes 2023-05-29 06:48:20 +00:00
@ -0,0 +12,4 @@
const userId = ctx.options.accessToken.userId;
const user = await models.VnUser.findById(userId, {fields: ['nickname']}, options);
const labeler = await models.Printer.findById(instance.labelerFk, {fields: ['name']}, options);
const mainPrinter = await models.Printer.findById(sector.mainPrinterFk, {fields: ['name']}, options);
Owner

Aquestes consultes deu de ferles el informe.

Aquestes consultes deu de ferles el informe.
alexandre marked this conversation as resolved
@ -0,0 +21,4 @@
'labeler': `#${instance.labelerFk} ${labeler.name}`,
'sector': `#${instance.sectorFk} ${sector.description}`,
'mainPrinter': `#${sector.mainPrinterFk} ${mainPrinter.name}`,
'worker': `#${userId} ${user.nickname}`
Owner

El encarregat de formatejar i obtindre les dades per a mostrarles deu de ser el informe, en params hem de passar les dades estrictament necesaries.

El encarregat de formatejar i obtindre les dades per a mostrarles deu de ser el informe, en params hem de passar les dades estrictament necesaries.
alexandre marked this conversation as resolved
alexandre added 1 commit 2023-05-29 10:55:33 +00:00
gitea/salix/pipeline/head There was a failure building this commit Details
059467a383
refs #5137 sql moved to template
alexandre added 1 commit 2023-05-29 10:56:24 +00:00
gitea/salix/pipeline/head Build queued... Details
1bb5033729
Merge branch 'dev' into 5137-aviso-impresora
alexandre added 1 commit 2023-05-29 10:57:05 +00:00
gitea/salix/pipeline/head There was a failure building this commit Details
ba850415be
refs #5137 moved sql
alexandre requested review from juan 2023-05-30 05:48:49 +00:00
alexandre added 1 commit 2023-05-30 09:30:38 +00:00
gitea/salix/pipeline/head There was a failure building this commit Details
32bdaa640e
Merge branch 'dev' into 5137-aviso-impresora
alexandre added 2 commits 2023-05-30 09:35:03 +00:00
juan approved these changes 2023-06-06 19:57:10 +00:00
alexandre added 1 commit 2023-06-07 06:30:47 +00:00
gitea/salix/pipeline/head This commit looks good Details
bfd421c188
Merge branch 'dev' into 5137-aviso-impresora
alexandre merged commit b14a8d9fec into dev 2023-06-07 06:41:35 +00:00
alexandre deleted branch 5137-aviso-impresora 2023-06-07 06:41:35 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: verdnatura/salix#1514
No description provided.