@openinc/parse-server-opendash 2.4.66 → 2.4.67

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.
@@ -173,6 +173,7 @@ async function createValueArrayForObject(object, extraValues, fields) {
173
173
  const setup_time = object.get("setup_time");
174
174
  const start = object.get("start");
175
175
  const end = object.get("end");
176
+ const order_quantity = object.get("order_quantity");
176
177
  let duration = 0;
177
178
  if (start && end) {
178
179
  duration = end.getTime() - start.getTime();
@@ -183,6 +184,7 @@ async function createValueArrayForObject(object, extraValues, fields) {
183
184
  values.push(articlenr);
184
185
  values.push(setup_time);
185
186
  values.push(duration);
187
+ values.push(order_quantity);
186
188
  for (const extraValue of extraValues) {
187
189
  let value = object.get(extraValue.name);
188
190
  if (fields[extraValue.name].type === "Date") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openinc/parse-server-opendash",
3
- "version": "2.4.66",
3
+ "version": "2.4.67",
4
4
  "description": "Parse Server Cloud Code for open.DASH",
5
5
  "keywords": [
6
6
  "parse",