Merge pull request 'feat itemShelving_filterBuyer refs #7023' (!2622) from 7023_itemShelving_filterBuyer into dev
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
Reviewed-on: #2622 Reviewed-by: Javi Gallego <jgallego@verdnatura.es>
This commit is contained in:
commit
72ef84d6c2
|
@ -21,7 +21,8 @@ proc:BEGIN
|
|||
sub.downstairs,
|
||||
sub.visible,
|
||||
CAST(visible - upstairs - downstairs AS DECIMAL(10,0)) nicho,
|
||||
sub.name itemColour
|
||||
sub.name itemColour,
|
||||
CAST(sub2.pendiente AS DECIMAL(10,0)) pendingAmount
|
||||
FROM (SELECT iss.itemFk,
|
||||
CONCAT(i.longName, ' ', IFNULL(i.size, ''),' ', IFNULL(i.subName, '') ) longName,
|
||||
'' size,
|
||||
|
@ -58,7 +59,8 @@ proc:BEGIN
|
|||
0,
|
||||
v.visible,
|
||||
v.visible nicho,
|
||||
ik.name itemColour
|
||||
ik.name itemColour,
|
||||
CAST(sub5.pendiente AS DECIMAL(10,0)) pendingAmount
|
||||
FROM cache.visible v
|
||||
JOIN item i ON i.id = v.item_id
|
||||
LEFT JOIN ink ik ON ik.id = i.inkFk
|
||||
|
|
Loading…
Reference in New Issue