Merge branch 'master' of https://gitea.verdnatura.es/verdnatura/salix into hotfix-restrictAbsencePrivs

This commit is contained in:
Jorge Penadés 2025-01-09 09:47:51 +01:00
commit 7391beb29e
2 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@ module.exports = Self => {
description: 'The user email'
}, {
arg: 'lang',
type: 'string',
type: 'any',
description: 'The user lang'
}, {
arg: 'twoFactor',

View File

@ -22,7 +22,7 @@ BEGIN
REPLACE bs.waste
SELECT YEAR(t.shipped),
WEEK(t.shipped, 4),
WEEK(t.shipped, 6),
it.workerFk,
it.id,
s.itemFk,
@ -70,6 +70,6 @@ BEGIN
JOIN vn.buy b ON b.id = lb.buy_id
WHERE t.shipped BETWEEN vDateFrom AND vDateTo
AND w.isManaged
GROUP BY YEAR(t.shipped), WEEK(t.shipped, 4), i.id;
GROUP BY YEAR(t.shipped), WEEK(t.shipped, 6), i.id;
END$$
DELIMITER ;