alsmanager_lib 3.0.68 → 3.0.70

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
@@ -6970,7 +6970,8 @@ function insertInvioEmailConsegna(id_consegna, data_invio, email_invio, esito_in
6970
6970
 
6971
6971
  function esistonoBeniDaRestituire(id_consegna) {
6972
6972
  var query = "select count(*) as num from consegna_beni ";
6973
- query += "where stato_restituzione = 0";
6973
+ query += "where id_consegna = " + id_consegna + " ";
6974
+ query += "and stato_restituzione = 0";
6974
6975
  return query;
6975
6976
  }
6976
6977
 
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.68",
7
+ "version": "3.0.70",
8
8
  "description": "Funzioni per ALSManager",
9
9
  "license": "ISC",
10
10
  "author": "Luca Cattani",