aggiornato stockQta quando l'ordine viene evaso

This commit is contained in:
Surya Paolo
2023-12-14 00:55:07 +01:00
parent fcdd826c54
commit d0bf7e1b6a
3 changed files with 78 additions and 4 deletions

View File

@@ -77,6 +77,13 @@ const orderSchema = new Schema({
date_consegnato: {
type: Date
},
ricevuto: {
type: Boolean,
default: false,
},
date_ricevuto: {
type: Date
},
weight: {
type: Number
},