alsmanager_lib 3.0.80 → 3.0.81
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 +3 -1
- package/package.json +1 -1
package/lib/modules.js
CHANGED
|
@@ -6770,7 +6770,9 @@ function getLastGestioneDeviceByIdDevice(db_used,id_device, date_ref) {
|
|
|
6770
6770
|
|
|
6771
6771
|
|
|
6772
6772
|
function getDatesRangeConsegne() {
|
|
6773
|
-
var query = "select min(data_richiesta), max(data_richiesta)
|
|
6773
|
+
var query = "select min(data_richiesta) as min_data_richiesta, max(data_richiesta) as max_data_richiesta, ";
|
|
6774
|
+
query += "min(data_consegna) as min_data_consegna, max(data_consegna) as max_data_consegna, ";
|
|
6775
|
+
query += "min(data_rientro) as min_data_rientro, max(data_rientro) as max_data_rientro from consegne ";
|
|
6774
6776
|
return query;
|
|
6775
6777
|
}
|
|
6776
6778
|
|