#6276 createNewWarehouse methods migrated from silex to salix #1850
|
@ -79,11 +79,9 @@ module.exports = Self => {
|
||||||
}
|
}
|
||||||
}, myOptions);
|
}, myOptions);
|
||||||
|
|
||||||
if (itemShelving.visible) {
|
|
||||||
await itemShelving.updateAttributes({
|
await itemShelving.updateAttributes({
|
||||||
visible: itemShelving.visible - quantity}
|
visible: itemShelving.visible - quantity}
|
||||||
, myOptions);
|
, myOptions);
|
||||||
}
|
|
||||||
|
|
||||||
await Self.updateAll(
|
await Self.updateAll(
|
||||||
{saleFk},
|
{saleFk},
|
||||||
|
|
Loading…
Reference in New Issue