alsmanager_lib 3.0.221 → 3.0.222

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 +1 -1
  2. package/package.json +1 -1
package/lib/modules.js CHANGED
@@ -17071,7 +17071,7 @@ function getNotesByIdDevice(id_device) {
17071
17071
  query += "where cb.id_bene = " + id_device + " and cb.note_consegna is not null ";
17072
17072
  query += "UNION ";
17073
17073
  query += "select CONCAT('RESTITUZIONE n. ', cb2.id_consegna) as Tipo, cb2.data_restituzione as Data, cb2.note_restituzione as note from consegna_beni cb2 ";
17074
- query += "where cb.id_bene = " + id_device + " and cb2.note_restituzione is not null ";
17074
+ query += "where cb2.id_bene = " + id_device + " and cb2.note_restituzione is not null ";
17075
17075
  query += "UNION ";
17076
17076
  query += "select CONCAT('INTERVENTO n. ', di.id) as Tipo, di.date_start as Data, di.note_intervento as note from device_interventi di ";
17077
17077
  query += "where di.id_device = " + id_device + " and di.note_intervento is not null ";
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.221",
7
+ "version": "3.0.222",
8
8
  "description": "Funzioni per ALSManager",
9
9
  "license": "ISC",
10
10
  "author": "Luca Cattani",