scheduler-node-models 1.2.78 → 1.2.80
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
|
@@ -58,7 +58,7 @@ 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(results.length);
|
|
61
|
+
console.log(`Length: ${results.length}`);
|
|
62
62
|
result.push(...results);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
@@ -106,7 +106,6 @@ class ExcelRowIngest {
|
|
|
106
106
|
const sValue = row.getCell(c).toString().trim();
|
|
107
107
|
if (sValue !== '') {
|
|
108
108
|
if (hourRE.test(sValue)) {
|
|
109
|
-
console.log(`${emp.name.lastname} - ${sValue}`);
|
|
110
109
|
// test for value being an hours, if true find out which labor code
|
|
111
110
|
// to use, then create the excel row and add to the database.
|
|
112
111
|
let laborcode = new labor_1.LaborCode();
|
|
@@ -124,6 +123,7 @@ class ExcelRowIngest {
|
|
|
124
123
|
});
|
|
125
124
|
}
|
|
126
125
|
});
|
|
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);
|