scheduler-node-models 1.2.80 → 1.2.81

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scheduler-node-models",
3
- "version": "1.2.80",
3
+ "version": "1.2.81",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "files": [
@@ -58,8 +58,9 @@ class ExcelRowIngest {
58
58
  if (emp) {
59
59
  for (let c = 3; c < 34; c++) {
60
60
  const results = await this.readExcelRow(row, c, emp);
61
- console.log(`Length: ${results.length}`);
62
- result.push(...results);
61
+ results.forEach(r => {
62
+ result.push(new excelRow_1.ExcelRow(r));
63
+ });
63
64
  }
64
65
  }
65
66
  }
@@ -123,7 +124,6 @@ class ExcelRowIngest {
123
124
  });
124
125
  }
125
126
  });
126
- console.log(JSON.stringify(laborcode));
127
127
  if (laborcode.chargeNumber !== '') {
128
128
  const eRow = new excelRow_1.ExcelRow();
129
129
  eRow.date = new Date(colDate);
@@ -132,6 +132,7 @@ class ExcelRowIngest {
132
132
  eRow.extension = laborcode.extension;
133
133
  eRow.premium = '1';
134
134
  eRow.hours = Number(sValue);
135
+ console.log(JSON.stringify(eRow));
135
136
  result.push(eRow);
136
137
  }
137
138
  }