alsmanager_lib 3.0.175 → 3.0.177
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
|
@@ -12872,8 +12872,8 @@ function getRitiroByIdDevice(id_device) {
|
|
|
12872
12872
|
query += "end as Esecutore, "
|
|
12873
12873
|
query += "note ";
|
|
12874
12874
|
query += "from device_ritiro dr ";
|
|
12875
|
-
query += "join
|
|
12876
|
-
query += "left join
|
|
12875
|
+
query += "join devices d on d.id = dr.id_device ";
|
|
12876
|
+
query += "left join gestori_fornitori ag on dr.id_esecutore = ag.id ";
|
|
12877
12877
|
query += "order by date_ritiro";
|
|
12878
12878
|
return query;
|
|
12879
12879
|
}
|
|
@@ -12888,8 +12888,8 @@ function getRitiroByFilter(id_device, date_da, date_a, ritirante) {
|
|
|
12888
12888
|
query += "end as Esecutore, "
|
|
12889
12889
|
query += "note ";
|
|
12890
12890
|
query += "from device_ritiro dr ";
|
|
12891
|
-
query += "join
|
|
12892
|
-
query += "left join
|
|
12891
|
+
query += "join devices d on d.id = dr.id_device ";
|
|
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) {
|
|
12895
12895
|
query += "id_device = " + id_device + " ";
|