Merge pull request '8030-newPriceComponent' (!3012) from 8030-newPriceComponent into dev
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
Reviewed-on: #3012 Reviewed-by: Pablo Natek <pablone@verdnatura.es>
This commit is contained in:
commit
0822996f20
|
@ -7,7 +7,7 @@ CREATE OR REPLACE DEFINER=`vn`@`localhost` PROCEDURE `vn`.`catalog_componentCalc
|
|||
)
|
||||
BEGIN
|
||||
/**
|
||||
* Calcula los componentes de los articulos de tmp.ticketLot
|
||||
* Calcula los componentes de los articulos de la tabla tmp.ticketLot
|
||||
*
|
||||
* @param vZoneFk para calcular el transporte
|
||||
* @param vAddressFk Consignatario
|
||||
|
@ -134,7 +134,7 @@ BEGIN
|
|||
tcb.warehouseFk,
|
||||
tcb.itemFk,
|
||||
c.id,
|
||||
(tcb.base * (1 + IFNULL(tpd.ratIncreasing / 100,0))) + IFNULL(tpd.absIncreasing,0)
|
||||
IFNULL(tcb.base * tpd.ratIncreasing / 100,0) + IFNULL(tpd.absIncreasing,0)
|
||||
FROM tmp.ticketComponentBase tcb
|
||||
JOIN component c ON c.code = 'bonus'
|
||||
JOIN tPriceDelta tpd
|
||||
|
|
Loading…
Reference in New Issue