alsmanager_lib 3.0.137 → 3.0.138

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 +10 -0
  2. package/package.json +1 -1
package/lib/modules.js CHANGED
@@ -4571,6 +4571,11 @@ function getBeniDaInventariSQLite(table_name, inv_code, include_imp, is_pnrr, is
4571
4571
  query += "and d.id is null"
4572
4572
  }
4573
4573
  }
4574
+ else {
4575
+ if (is_dismissione == 1) {
4576
+ query += " where inv_ict3 = '" + inv_code + "' ";
4577
+ }
4578
+ }
4574
4579
  }
4575
4580
  else {
4576
4581
  if (table_name != "devices" && is_pnrr != 1 && is_dismissione != 1) {
@@ -4646,6 +4651,11 @@ function getBeniDaInventariMySQL(table_name, inv_code, include_imp, is_pnrr, is_
4646
4651
  if (!include_imp || include_imp == 0) {
4647
4652
  query += "and d.id is null"
4648
4653
  }
4654
+ }
4655
+ else {
4656
+ if (is_dismissione == 1) {
4657
+ query += " where inv_ict3 = '" + inv_code + "' ";
4658
+ }
4649
4659
  }
4650
4660
  }
4651
4661
  else {
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.137",
7
+ "version": "3.0.138",
8
8
  "description": "Funzioni per ALSManager",
9
9
  "license": "ISC",
10
10
  "author": "Luca Cattani",