agg
This commit is contained in:
@@ -40,7 +40,7 @@ const productSchema = new Schema({
|
||||
category: {
|
||||
type: Array,
|
||||
},
|
||||
prezzo_ivato: {
|
||||
prezzo_ivato: { // Con IVA
|
||||
type: Number
|
||||
},
|
||||
perc_iva: { // 4, 10, 22 &
|
||||
@@ -187,6 +187,9 @@ module.exports.getProductByID = function (id, callback) {
|
||||
Product.findById(id, callback);
|
||||
}
|
||||
|
||||
|
||||
|
||||
// const Product = mongoose.model('Product', ProductSchema);
|
||||
|
||||
// module.exports = { Product };
|
||||
// PROVA
|
||||
|
||||
Reference in New Issue
Block a user