alsmanager_lib 3.0.214 → 3.0.215
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 +8 -4
- package/package.json +1 -1
package/lib/modules.js
CHANGED
|
@@ -8284,7 +8284,8 @@ function deleteBeneInLimbo(id_limbo) {
|
|
|
8284
8284
|
//End Beni in Limbo
|
|
8285
8285
|
// Beni in consegna
|
|
8286
8286
|
function queryConsegneByIdDeviceSQLite(id_device) {
|
|
8287
|
-
var query = "select dc.
|
|
8287
|
+
var query = "select dc.id_consegna as Id_Consegna, ";
|
|
8288
|
+
query += "dc.data_consegna as Consegna, ";
|
|
8288
8289
|
query += "case ";
|
|
8289
8290
|
query += "when dc.stato_restituzione = 0 then 'Prestito in corso' ";
|
|
8290
8291
|
query += "when dc.stato_restituzione = 1 then 'Non restituito' ";
|
|
@@ -8306,7 +8307,8 @@ function queryConsegneByIdDeviceSQLite(id_device) {
|
|
|
8306
8307
|
}
|
|
8307
8308
|
|
|
8308
8309
|
function queryConsegneByIdDeviceMySQL(id_device) {
|
|
8309
|
-
var query = "select dc.
|
|
8310
|
+
var query = "select dc.id_consegna as Id_Consegna, ";
|
|
8311
|
+
query += "dc.data_consegna as Consegna, ";
|
|
8310
8312
|
query += "case ";
|
|
8311
8313
|
query += "when dc.stato_restituzione = 0 then 'Prestito in corso' ";
|
|
8312
8314
|
query += "when dc.stato_restituzione = 1 then 'Non restituito' ";
|
|
@@ -8347,7 +8349,8 @@ function queryConsegneByIdDevice(db_used, id_device) {
|
|
|
8347
8349
|
|
|
8348
8350
|
//
|
|
8349
8351
|
function queryConsegneByIdBeneSQLite(id_bene, tipo_bene) {
|
|
8350
|
-
var query = "select
|
|
8352
|
+
var query = "select dc.id_consegna as Id_Consegna, ";
|
|
8353
|
+
query += "dc.data_consegna as Consegna, ";
|
|
8351
8354
|
query += "case ";
|
|
8352
8355
|
query += "when cb.stato_restituzione = 0 then 'Prestito in corso' ";
|
|
8353
8356
|
query += "when cb.stato_restituzione = 1 then 'Non restituito' ";
|
|
@@ -8363,7 +8366,8 @@ function queryConsegneByIdBeneSQLite(id_bene, tipo_bene) {
|
|
|
8363
8366
|
}
|
|
8364
8367
|
|
|
8365
8368
|
function queryConsegneByIdBeneMySQL(id_bene, tipo_bene) {
|
|
8366
|
-
var query = "select
|
|
8369
|
+
var query = "select dc.id_consegna as Id_Consegna, ";
|
|
8370
|
+
query += "dc.data_consegna as Consegna, ";
|
|
8367
8371
|
query += "case ";
|
|
8368
8372
|
query += "when cb.stato_restituzione = 0 then 'Prestito in corso' ";
|
|
8369
8373
|
query += "when cb.stato_restituzione = 1 then 'Non restituito' ";
|