alsmanager_lib 3.0.176 → 3.0.178
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 +4 -4
- package/package.json +1 -1
package/lib/modules.js
CHANGED
|
@@ -12870,9 +12870,9 @@ function getRitiroByIdDevice(id_device) {
|
|
|
12870
12870
|
query += "when dr.id_esecutore > 0 then ag.name ";
|
|
12871
12871
|
query += "else dr.denominazione_esecutore ";
|
|
12872
12872
|
query += "end as Esecutore, "
|
|
12873
|
-
query += "note ";
|
|
12873
|
+
query += "dr.note ";
|
|
12874
12874
|
query += "from device_ritiro dr ";
|
|
12875
|
-
query += "join
|
|
12875
|
+
query += "join devices d on d.id = dr.id_device ";
|
|
12876
12876
|
query += "left join gestori_fornitori ag on dr.id_esecutore = ag.id ";
|
|
12877
12877
|
query += "order by date_ritiro";
|
|
12878
12878
|
return query;
|
|
@@ -12886,9 +12886,9 @@ function getRitiroByFilter(id_device, date_da, date_a, ritirante) {
|
|
|
12886
12886
|
query += "when dr.id_esecutore > 0 then ag.name ";
|
|
12887
12887
|
query += "else dr.denominazione_esecutore ";
|
|
12888
12888
|
query += "end as Esecutore, "
|
|
12889
|
-
query += "note ";
|
|
12889
|
+
query += "dr.note ";
|
|
12890
12890
|
query += "from device_ritiro dr ";
|
|
12891
|
-
query += "join
|
|
12891
|
+
query += "join devices d on d.id = dr.id_device ";
|
|
12892
12892
|
query += "left join gestori_fornitori ag on dr.id_esecutore = ag.id ";
|
|
12893
12893
|
query += "where ";
|
|
12894
12894
|
if (id_device && id_device > 0) {
|