7167-testToMaster_2414 #2244
|
@ -46,7 +46,7 @@ module.exports = Self => {
|
|||
const [sales] = await Self.rawSql('CALL vn.sale_getFromTicketOrCollection(?)',
|
||||
[id], myOptions);
|
||||
|
||||
const isPicker = source == 'CHECKER';
|
||||
const isPicker = source != 'CHECKER';
|
||||
const [placements] = await Self.rawSql('CALL vn.collectionPlacement_get(?, ?)',
|
||||
[id, isPicker], myOptions
|
||||
);
|
||||
|
|
|
@ -52,7 +52,9 @@ module.exports = Self => {
|
|||
return {
|
||||
id: itemShelving.id,
|
||||
itemFk: itemShelving.itemFk,
|
||||
longName: item ? item.longName || `${item.name} ${item.size}` : '',
|
||||
name: item.name,
|
||||
size: item.size,
|
||||
longName: item.longName,
|
||||
quantity: itemShelving.visible,
|
||||
carros
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue