7199-devToTest_2316 #2287

Merged
alexm merged 169 commits from 7199-devToTest_2316 into test 2024-04-11 06:25:23 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 3e458281e6 - Show all commits

View File

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