feat itemShelving_filterBuyer refs #7023 #2622

Merged
sergiodt merged 5 commits from 7023_itemShelving_filterBuyer into dev 2024-06-24 05:15:06 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit c1c01df3c3 - Show all commits

View File

@ -15,7 +15,7 @@ proc:BEGIN
SELECT * FROM
(SELECT sub.itemFk,
sub.longName,
CONCAT('Hoy saldrán ', CAST(sub2.pendiente AS DECIMAL(10,0)), ' unidades.') `size`,
CONCAT('Hoy quedan por sacar ', CAST(sub2.pendiente AS DECIMAL(10,0)), ' unidades.') `size`,
sergiodt marked this conversation as resolved Outdated

Estem gastant els camps size..de forma incorrecta.
Proposta retrocompatible: deixa ixos camps com estaven.
Tornes un camp mes amb la info qus vols SOLS EL NÚMERO, i en front li afegeixes el codi que vullgues

Estem gastant els camps size..de forma incorrecta. Proposta retrocompatible: deixa ixos camps com estaven. Tornes un camp mes amb la info qus vols SOLS EL NÚMERO, i en front li afegeixes el codi que vullgues
CONCAT(IF(sub2.itemFk, IF(sub2.pendiente > (sub.upstairs + sub.downstairs),'(1) ','(2) '),'(3) ' ),sub.producer) producer,
sub.upstairs,
sub.downstairs,
@ -52,7 +52,7 @@ proc:BEGIN
UNION ALL
SELECT v.item_id,
i.longName,
CONCAT('Hoy saldrán ', CAST(sub5.pendiente AS DECIMAL(10,0)), ' unidades.') `size`,
CONCAT('Hoy quedan por sacar ', CAST(sub5.pendiente AS DECIMAL(10,0)), ' unidades.') `size`,
CONCAT(IF(sub5.pendiente,'(0) ','(3) ')) producer,
0,
0,