Compare commits

...

1 Commits

Author SHA1 Message Date
Sergio De la torre dd2b2fc7bd refs #6067 feat: checking boxes 2024-03-05 10:32:52 +01:00
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