Merge pull request 'refs #6607 feat:[checking boxes]' (!2129) from 6607_checking_boxes into dev
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #2129
Reviewed-by: Carlos Andrés <carlosap@verdnatura.es>
This commit is contained in:
Sergio De la torre 2024-03-06 16:04:41 +00:00
commit 6df84b9840
1 changed files with 4 additions and 1 deletions

View File

@ -79,7 +79,10 @@ DECLARE vIsCollection BOOL;
IF(SUM(iss.quantity) IS NULL, 0, SUM(iss.quantity)) pickedQuantity,
MIN(iss.created) picked,
IF(sm.id, TRUE, FALSE) hasMistake,
sg.sectorFk
sg.sectorFk,
b.packing,
b.grouping,
o.code
FROM tmp.ticket t
JOIN sale s ON s.ticketFk = t.id
JOIN ticket tt ON tt.id = t.id