fix: refs #6492 boxes alias
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Jorge Penadés 2024-03-14 09:42:54 +01:00
parent 7a94ae3551
commit 3e458281e6
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ BEGIN
JOIN agency ag ON ag.id = am.agencyFk
JOIN (
SELECT sv.ticketFk,
CEIL(1000 * SUM(sv.volume) / vc.standardFlowerBox)
CEIL(1000 * SUM(sv.volume) / vc.standardFlowerBox) boxes
FROM ticket t
JOIN saleVolume sv ON sv.ticketFk = t.id
JOIN volumeConfig vc