alsmanager_lib 3.0.231 → 3.0.233
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 -1
- package/package.json +1 -1
package/lib/modules.js
CHANGED
|
@@ -4438,6 +4438,7 @@ function insertDeviceAnnotation(id_device, date_annot, annot, annot_type) {
|
|
|
4438
4438
|
query += ")";
|
|
4439
4439
|
return query;
|
|
4440
4440
|
}
|
|
4441
|
+
|
|
4441
4442
|
function updateDeviceAnnotation(id_annot, date_annot, annot, annot_type) {
|
|
4442
4443
|
var query = "update device_annotations set ";
|
|
4443
4444
|
var dt_str = convertDateToStringDB(date_annot);
|
|
@@ -17436,7 +17437,7 @@ function insertPrinterCartridge(tipo, marca, modello, color, numero, data_ultimo
|
|
|
17436
17437
|
}
|
|
17437
17438
|
|
|
17438
17439
|
function updatePrinterCartridge(id_cart, tipo, marca, modello, color, numero, data_ultimo_acq, note) {
|
|
17439
|
-
var query = "update printer_cartridges
|
|
17440
|
+
var query = "update printer_cartridges ";
|
|
17440
17441
|
var dt_ultimo_acq_str = convertDateToStringDB(data_ultimo_acq);
|
|
17441
17442
|
query += "set ";
|
|
17442
17443
|
query += "tipo = '" + tipo + "', ";
|