From fc56f70f1d71903bedefbc6eecd71a3fe74de90c Mon Sep 17 00:00:00 2001 From: sergiodt Date: Wed, 8 Jan 2025 06:54:25 +0100 Subject: [PATCH] feat: refs #8301 refs#8301 deprecatedBack --- .vscode/salix.code-snippets | 18 ++++++++++++++++++ modules/item/back/models/item-shelving.js | 1 - 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 .vscode/salix.code-snippets diff --git a/.vscode/salix.code-snippets b/.vscode/salix.code-snippets new file mode 100644 index 000000000..735086d47 --- /dev/null +++ b/.vscode/salix.code-snippets @@ -0,0 +1,18 @@ +{ + // Place your salix workspace snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and + // description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope + // is left empty or omitted, the snippet gets applied to all languages. The prefix is what is + // used to trigger the snippet and the body will be expanded and inserted. Possible variables are: + // $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. + // Placeholders with the same ids are connected. + // Example: + "Print to console": { + "scope": "javascript,typescript", + "prefix": "logg", + "body": [ + "console.log(\"$1\", JSON.stringify($1, null, 2));", + "$2" + ], + "description": "Log output to console" + } +} \ No newline at end of file diff --git a/modules/item/back/models/item-shelving.js b/modules/item/back/models/item-shelving.js index 34e18f23f..4a6895512 100644 --- a/modules/item/back/models/item-shelving.js +++ b/modules/item/back/models/item-shelving.js @@ -4,6 +4,5 @@ module.exports = Self => { require('../methods/item-shelving/getInventory')(Self); require('../methods/item-shelving/getAlternative')(Self); require('../methods/item-shelving/updateFromSale')(Self); - require('../methods/item-shelving/getListItemNewer')(Self); require('../methods/item-shelving/getItemsByReviewOrder')(Self); };