alsmanager_lib 3.0.20 → 3.0.21

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 +3 -3
  2. package/package.json +1 -1
package/lib/modules.js CHANGED
@@ -8474,15 +8474,15 @@ function getDevicesInDismissione() {
8474
8474
  query += "else ''";
8475
8475
  query += "end as Inventario, ";
8476
8476
  query += "case ";
8477
- query += "when d.inv_tn_number != '' and d.inv_tn_number is not null then concat(d.inv_tn_number,'(TN)') ";
8477
+ query += "when d.inv_tn_number != '' and d.inv_tn_number is not null then d.inv_tn_number ";
8478
8478
  query += "else ''";
8479
8479
  query += "end as Comune_Prov, ";
8480
8480
  query += "case ";
8481
- query += "when d.inv_tndigit_number != '' and d.inv_tndigit_number is not null then concat(d.inv_tndigit_number,'(TNDigit)') ";
8481
+ query += "when d.inv_tndigit_number != '' and d.inv_tndigit_number is not null then d.inv_tndigit_number ";
8482
8482
  query += "else ''";
8483
8483
  query += "end as TNDigit, ";
8484
8484
  query += "case ";
8485
- query += "when d.serial_no != '' and d.serial_no is not null then concat(d.serial_no,'(S/N)') ";
8485
+ query += "when d.serial_no != '' and d.serial_no is not null then d.serial_no ";
8486
8486
  query += "else ''";
8487
8487
  query += "end as SerialNo, ";
8488
8488
  query += "d.type as Tipo, d.manifacturer as Marca, d.model as Modello, ";
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.20",
7
+ "version": "3.0.21",
8
8
  "description": "Funzioni per ALSManager",
9
9
  "license": "ISC",
10
10
  "author": "Luca Cattani",