- 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

@@ -329,7 +329,7 @@ module.exports.updateTotals = async function (order, codice_sconto) {
module.exports.getTotalOrderById = async function (id) {
const query = [
{ $match: { _id: new ObjectId(id) } },
{ $match: { _id: new mongoose.Types.ObjectId(id) } },
{
$lookup: {
from: 'products',