refs #6276 remove checking visible
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
3109f7722e
commit
f5ee3aff7a
|
@ -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