alsmanager_lib 3.0.156 → 3.0.157
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 +5 -0
- package/package.json +1 -1
package/lib/modules.js
CHANGED
|
@@ -4676,6 +4676,7 @@ function getDeviceMySQLPayload(dev) {
|
|
|
4676
4676
|
retValue.modello = "";
|
|
4677
4677
|
retValue.serial_no = "";
|
|
4678
4678
|
retValue.note = "";
|
|
4679
|
+
retValue.part_of = "";
|
|
4679
4680
|
|
|
4680
4681
|
if (dev.inventario)
|
|
4681
4682
|
retValue.inventario = dev.inventario;
|
|
@@ -4699,6 +4700,10 @@ function getDeviceMySQLPayload(dev) {
|
|
|
4699
4700
|
if (dev.peso_g) {
|
|
4700
4701
|
retValue.peso_g = dev.peso_g;
|
|
4701
4702
|
}
|
|
4703
|
+
if (dev.part_of) {
|
|
4704
|
+
retValue.part_of = dev.part_of;
|
|
4705
|
+
}
|
|
4706
|
+
|
|
4702
4707
|
|
|
4703
4708
|
retValue.num_objects = dev.num_objects;
|
|
4704
4709
|
retValue.no_inv = dev.no_inv;
|