alsmanager_lib 3.0.56 → 3.0.57
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 +1 -1
- package/package.json +1 -1
package/lib/modules.js
CHANGED
|
@@ -6883,7 +6883,7 @@ function queryConsegnaById(db_used,id_consegna) {
|
|
|
6883
6883
|
|
|
6884
6884
|
//Creazione email sollecito consegna
|
|
6885
6885
|
function getDatiConsegneAttive() {
|
|
6886
|
-
var query = "select c.richiedente_adulto as Nominativo, c.email_adulto as Email, concat('Consegna n.', c.id, ' del ', STRFTIME('%d/%m/%Y', c.data_consegna)) as Consegna, ";
|
|
6886
|
+
var query = "select c.id, c.richiedente_adulto as Nominativo, c.email_adulto as Email, concat('Consegna n.', c.id, ' del ', STRFTIME('%d/%m/%Y', c.data_consegna)) as Consegna, ";
|
|
6887
6887
|
query += "case ";
|
|
6888
6888
|
query += "when d.id is not null and d.inv_ict3_number is not null and trim(d.inv_ict3_number) <> '' then concat(d.manifacturer, ' - ', d.model, ' - Inv.', d.inv_ict3_number) ";
|
|
6889
6889
|
query += "when d.id is not null and d.serial_no is not null and trim(d.serial_no) <> '' then concat(d.manifacturer, ' - ', d.model, ' - S/N:', d.serial_no) ";
|