feat: refs #8119 Requested changes
gitea/salix/pipeline/pr-master This commit looks good Details

This commit is contained in:
Guillermo Bonet 2024-10-23 08:26:36 +02:00
parent baec188ff5
commit 37050361c2
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ proc: BEGIN
FROM sale s
JOIN ticket t ON t.id = s.ticketFk
JOIN client c ON c.id = t.clientFk
WHERE t.shipped BETWEEN vDateSumFrom AND vDateSumTo
WHERE t.shipped BETWEEN vDateSumFrom AND util.dayEnd(vDateSumTo)
AND c.typeFk = 'normal'
AND NOT t.isDeleted
GROUP BY s.itemFk