alsmanager_lib 3.0.67 → 3.0.69
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.
- package/lib/modules.js +2 -1
- 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 += "
|
|
6973
|
+
query += "id_consegna = " + id_consegna + " ";
|
|
6974
|
+
query += "and stato_restituzione = 0";
|
|
6974
6975
|
return query;
|
|
6975
6976
|
}
|
|
6976
6977
|
|