alsmanager_lib 3.0.79 → 3.0.80

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 +8 -0
  2. package/package.json +1 -1
package/lib/modules.js CHANGED
@@ -6768,6 +6768,13 @@ function getLastGestioneDeviceByIdDevice(db_used,id_device, date_ref) {
6768
6768
  return query;
6769
6769
  }
6770
6770
 
6771
+
6772
+ function getDatesRangeConsegne() {
6773
+ var query = "select min(data_richiesta), max(data_richiesta), min(data_consegna), max(data_consegna), min(data_rientro), max(data_rientro) from consegne ";
6774
+ return query;
6775
+ }
6776
+
6777
+
6771
6778
  function queryConsegneSQLite(data_da, data_a, data_filter, adulto, alunno) {
6772
6779
  var query = "SELECT id, data_richiesta as Richiesta, data_consegna as Consegna, richiedente_adulto as Adulto, richiedente_alunno as Alunno, richiedente_genitore as Genitore, is_home as Casa, note as Note, email_adulto, email_genitore from consegne ";
6773
6780
  query += "where (removed is null or removed = 0) ";
@@ -14512,6 +14519,7 @@ module.exports = {
14512
14519
  querySelectExistsGestioneDeviceByIds,
14513
14520
  querySelectGestioniDeviceByIdDevice,
14514
14521
  getLastGestioneDeviceByIdDevice,
14522
+ getDatesRangeConsegne,
14515
14523
  queryConsegne,
14516
14524
  queryConsegnaById,
14517
14525
  getDatiConsegneAttive,
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.79",
7
+ "version": "3.0.80",
8
8
  "description": "Funzioni per ALSManager",
9
9
  "license": "ISC",
10
10
  "author": "Luca Cattani",