alsmanager_lib 3.0.233 → 3.0.235

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/modules.js +2 -1
  2. package/package.json +1 -1
package/lib/modules.js CHANGED
@@ -17422,6 +17422,7 @@ function selectPrinterCartridgeById(id_cart) {
17422
17422
  }
17423
17423
 
17424
17424
  function insertPrinterCartridge(tipo, marca, modello, color, numero, data_ultimo_acq, note) {
17425
+ var dt_acq_str = convertDateToStringDB(data_ultimo_acq);
17425
17426
  var query = "insert into printer_cartridges (tipo, marca, modello, color, numero, data_ultimo_acq, note) values ";
17426
17427
  query += "(";
17427
17428
  query += "'" + tipo + "', ";
@@ -17429,7 +17430,7 @@ function insertPrinterCartridge(tipo, marca, modello, color, numero, data_ultimo
17429
17430
  query += "'" + modello + "', ";
17430
17431
  query += "'" + color + "', ";
17431
17432
  query += numero + ", ";
17432
- query += "'" + data_ultimo_acq + "', ";
17433
+ query += "'" + dt_acq_str + "', ";
17433
17434
  query += "'" + note + "' ";
17434
17435
  query += ")";
17435
17436
  return query;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  ".": "./lib/modules.js",
5
5
  "./dbconn": "./lib/dbconn.js"
6
6
  },
7
- "version": "3.0.233",
7
+ "version": "3.0.235",
8
8
  "description": "Funzioni per ALSManager",
9
9
  "license": "ISC",
10
10
  "author": "Luca Cattani",