Compare commits

...

5 Commits

Author SHA1 Message Date
Robert Ferrús a0f3c6183b Merge branch 'test' into 7219-sale_replaceItem
gitea/salix/pipeline/pr-test This commit looks good Details
2024-04-17 06:42:18 +00:00
Guillermo Bonet 7d50907676 Merge branch 'master' into test
gitea/salix/pipeline/head This commit looks good Details
2024-04-17 08:41:10 +02:00
Guillermo Bonet 786a5a68b9 hotfix: EKT
gitea/salix/pipeline/head This commit looks good Details
2024-04-17 08:40:25 +02:00
Guillermo Bonet 62596de1dd Merge branch 'master' into test
gitea/salix/pipeline/head This commit looks good Details
2024-04-16 17:25:28 +02:00
Guillermo Bonet db5b0d7967 hotfix: ticket#174761 Greatest fix null possibility
gitea/salix/pipeline/head This commit looks good Details
2024-04-16 17:19:25 +02:00
1 changed files with 1 additions and 1 deletions

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, 1) * e.pac / @t) packing,
IFNULL(b.`grouping`, e.pac),
@pac * e.qty,
vForceToPacking,