- Iscrizione Conacreis
This commit is contained in:
@@ -45,6 +45,9 @@ const productSchema = new Schema({
|
||||
price: {
|
||||
type: Number
|
||||
},
|
||||
after_price: {
|
||||
type: String
|
||||
},
|
||||
color: {
|
||||
type: String
|
||||
},
|
||||
@@ -101,7 +104,7 @@ module.exports.executeQueryTable = function (idapp, params) {
|
||||
};
|
||||
|
||||
module.exports.findAllIdApp = async function (idapp, code) {
|
||||
let myfind = { idapp };
|
||||
let myfind = { idapp, active: true };
|
||||
|
||||
if (code) {
|
||||
myfind = { ...myfind, code }
|
||||
|
||||
Reference in New Issue
Block a user