alsmanager_lib 3.0.70 → 3.0.72
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 +6 -1
- package/package.json +1 -1
- package/settings_als.txt +1 -0
package/lib/modules.js
CHANGED
|
@@ -6890,11 +6890,16 @@ function getDatiConsegneAttive() {
|
|
|
6890
6890
|
query += "when s.id is not null and s.inv_ict3_number is not null and trim(s.inv_ict3_number) <> '' then concat(s.maker, ' - ', s.model, ' - Inv.', s.inv_ict3_number) ";
|
|
6891
6891
|
query += "when s.id is not null and s.serial_no is not null and trim(s.serial_no) <> '' then concat(s.maker, ' - ', s.model, ' - S/N:', s.serial_no) ";
|
|
6892
6892
|
query += "else '' ";
|
|
6893
|
-
query += "end as bene_consegnato ";
|
|
6893
|
+
query += "end as bene_consegnato, ";
|
|
6894
|
+
query += "case ";
|
|
6895
|
+
query += "when cie.id is not null then 'SI' ";
|
|
6896
|
+
query += "else 'NO' ";
|
|
6897
|
+
query += "end as invio_sollecito ";
|
|
6894
6898
|
query += "from consegna_beni cb ";
|
|
6895
6899
|
query += "join consegne c on c.id = cb.id_consegna ";
|
|
6896
6900
|
query += "left join devices d on cb.id_bene = d.id ";
|
|
6897
6901
|
query += "left join softwares s on cb.id_bene = s.id ";
|
|
6902
|
+
query += "left join consegna_invio_email cie on cb.id_consegna = cie.id_consegna ";
|
|
6898
6903
|
query += "where cb.stato_restituzione = 0 ";
|
|
6899
6904
|
return query;
|
|
6900
6905
|
}
|
package/package.json
CHANGED
package/settings_als.txt
CHANGED