7152-devToTest_2414 #2228
|
@ -79,11 +79,9 @@ module.exports = Self => {
|
|||
}
|
||||
}, myOptions);
|
||||
|
||||
if (itemShelving.visible) {
|
||||
await itemShelving.updateAttributes({
|
||||
visible: itemShelving.visible - quantity}
|
||||
, myOptions);
|
||||
}
|
||||
await itemShelving.updateAttributes({
|
||||
visible: itemShelving.visible - quantity}
|
||||
, myOptions);
|
||||
|
||||
await Self.updateAll(
|
||||
{saleFk},
|
||||
|
|
Loading…
Reference in New Issue