- ver 1.2.47 :

- corretto errore di modifica scheda
- aggiunto scraping (fase 1)
This commit is contained in:
Surya Paolo
2025-05-16 10:26:55 +02:00
parent 1da0e0f4b5
commit 7e50299854
9 changed files with 194 additions and 38 deletions

View File

@@ -29,6 +29,9 @@ const productSchema = new Schema({
idapp: {
type: String,
},
delete: {
type: Boolean,
},
active: {
type: Boolean,
default: true,
@@ -462,7 +465,10 @@ module.exports.findAllIdApp = async function (idapp, code, id, all) {
}
if (idapp) {
myfind = { idapp };
myfind = {
idapp,
$or: [{ delete: { $exists: false } }, { delete: false }],
};
}
if (!all) {