alsmanager_lib 3.0.34 → 3.0.35
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 -2
- package/package.json +1 -1
package/lib/modules.js
CHANGED
|
@@ -8168,7 +8168,7 @@ function selectSoftwaresInDepositoSQLite(inv_code) {
|
|
|
8168
8168
|
query += "else concat(s.id,'(ID)') ";
|
|
8169
8169
|
query += "end as Codice ";
|
|
8170
8170
|
query += "from softwares s ";
|
|
8171
|
-
query += "left join
|
|
8171
|
+
query += "left join consegna_beni cb on d.id = cb.id_bene "
|
|
8172
8172
|
query += "where (inv_ict3_number = '" + inv_code + "' or ";
|
|
8173
8173
|
query += "serial_no = '" + inv_code + "')";
|
|
8174
8174
|
query += "and (cb.id is null or (cb.tipo_bene = 'SOFTWARE' and cb.stato_restituzione = 2))";
|
|
@@ -8182,7 +8182,7 @@ function selectSoftwaresInDepositoMySQL(inv_code) {
|
|
|
8182
8182
|
query += "else concat(s.id,'(ID)') ";
|
|
8183
8183
|
query += "end as Codice ";
|
|
8184
8184
|
query += "from softwares s ";
|
|
8185
|
-
query += "left join
|
|
8185
|
+
query += "left join consegna_beni cb on d.id = cb.id_bene "
|
|
8186
8186
|
query += "where (inv_ict3_number = :inv_code or ";
|
|
8187
8187
|
query += "serial_no = :inv_code)";
|
|
8188
8188
|
query += "and (cb.id is null or (cb.tipo_bene = 'SOFTWARE' and cb.stato_restituzione = 2))";
|