7226-testToMaster_2416 #2320

Merged
alexm merged 188 commits from 7226-testToMaster_2416 into master 2024-04-18 05:39:36 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 62596de1dd - Show all commits

View File

@ -147,7 +147,7 @@ proc:BEGIN
(@t := IF(i.stems, i.stems, 1)) * e.pri / IFNULL(i.stemMultiplier, 1) buyingValue,
IFNULL(vItem, vDefaultEntry) itemFk,
e.qty stickers,
@pac := GREATEST(1, i.stemMultiplier * e.pac / @t) packing,
@pac := GREATEST(1, IFNULL(i.stemMultiplier * e.pac / @t, 0)) packing,
IFNULL(b.`grouping`, e.pac),
@pac * e.qty,
vForceToPacking,