Merge pull request '8004-liliumStyleRemake' (!3257) from 8004-liliumStyleRemake into dev
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #3257
Reviewed-by: Alex Moreno <alexm@verdnatura.es>
This commit is contained in:
Alex Moreno 2024-12-04 07:18:48 +00:00
commit fcaf854c87
1 changed files with 9 additions and 8 deletions

View File

@ -178,17 +178,18 @@ module.exports = Self => {
i.isFloramondo, i.isFloramondo,
i.recycledPlastic, i.recycledPlastic,
i.nonRecycledPlastic, i.nonRecycledPlastic,
pr.name AS producer, pr.name producer,
it.name AS typeName, it.name typeName,
it.workerFk AS buyerFk, it.workerFk buyerFk,
u.name AS userName, u.name userName,
ori.code AS origin, ori.code origin,
ic.name AS category, ic.name category,
i.intrastatFk, i.intrastatFk,
intr.description AS intrastat, intr.description intrastat,
b.grouping, b.grouping,
b.packing, b.packing,
lb.landing AS landed lb.landing landed,
it.name typeName
FROM item i FROM item i
LEFT JOIN itemType it ON it.id = i.typeFk LEFT JOIN itemType it ON it.id = i.typeFk
LEFT JOIN itemCategory ic ON ic.id = it.categoryFk LEFT JOIN itemCategory ic ON ic.id = it.categoryFk