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.
Files changed (2) hide show
  1. package/lib/modules.js +5 -0
  2. 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;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  ".": "./lib/modules.js",
5
5
  "./dbconn": "./lib/dbconn.js"
6
6
  },
7
- "version": "3.0.156",
7
+ "version": "3.0.157",
8
8
  "description": "Funzioni per ALSManager",
9
9
  "license": "ISC",
10
10
  "author": "Luca Cattani",