Merge pull request 'fix: refs #8030 little bugs' (!3011) from 8030-newPriceComponent into dev
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #3011
Reviewed-by: Javi Gallego <jgallego@verdnatura.es>
This commit is contained in:
Pako Natek 2024-09-24 09:08:33 +00:00
commit 47f4b2f3d4
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ BEGIN
tcb.warehouseFk,
tcb.itemFk,
c.id,
tcb.base * (1 + IFNULL(tpd.ratIncreasing,0)) + IFNULL(tpd.absIncreasing,0)
(tcb.base * (1 + IFNULL(tpd.ratIncreasing / 100,0))) + IFNULL(tpd.absIncreasing,0)
FROM tmp.ticketComponentBase tcb
JOIN component c ON c.code = 'bonus'
JOIN tPriceDelta tpd