- Gestore Ordini GAS (aggiornato)

- Possibilità di modificare un record, click sulla matita rossa.
- corretto altre sistemazioni sui valori di minimo e massimo quantità.
This commit is contained in:
Surya Paolo
2025-10-03 16:28:53 +02:00
parent 6048cd526b
commit 4e37475d00
11 changed files with 138 additions and 142 deletions

View File

@@ -506,7 +506,7 @@ router.post('/:userId/gestord', authenticate, async function (req, res, next) {
$match: {
idGasordine: {
$type: 'objectId', // Checks if the field is of type ObjectId
$eq: new ObjectId(idGasordine), // Compares the value to a specific ObjectId
$eq: new mongoose.Types.ObjectId(idGasordine), // Compares the value to a specific ObjectId
},
},
};