scheduler-node-models 1.0.55 → 1.0.56
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/general/report.js
CHANGED
@@ -46,8 +46,8 @@ class Report {
|
|
46
46
|
sheet.getCell(begin).numFmt = numFmt;
|
47
47
|
}
|
48
48
|
if (value instanceof Formula) {
|
49
|
-
console.log(value.formula);
|
50
49
|
sheet.getCell(begin).value = { formula: value.formula };
|
50
|
+
console.log(sheet.getCell(begin).formula);
|
51
51
|
}
|
52
52
|
else {
|
53
53
|
sheet.getCell(begin).value = value;
|
package/package.json
CHANGED
@@ -368,7 +368,7 @@ class ChargeStatusReport extends general_1.Report {
|
|
368
368
|
style.fill = this.fills.get('ltblue');
|
369
369
|
}
|
370
370
|
style.numFmt = this.numformats.get('sum');
|
371
|
-
this.setCell(stats, this.getCellID(3, statsRow), this.getCellID(3, statsRow), style,
|
371
|
+
this.setCell(stats, this.getCellID(3, statsRow), this.getCellID(3, statsRow), style, codeHours);
|
372
372
|
let formula = `SUMIF(${sheetLabel}!${this.getCellID(5, 5)}:`
|
373
373
|
+ `${this.getCellID(5, row)}, "*${codeText}*", ${sheetLabel}!`
|
374
374
|
+ `${this.getCellID(column, 5)}:${this.getCellID(column, row)})`;
|
@@ -409,7 +409,7 @@ class ChargeStatusReport extends general_1.Report {
|
|
409
409
|
style.fill = this.fills.get('ltgreen');
|
410
410
|
}
|
411
411
|
style.numFmt = this.numformats.get('sum');
|
412
|
-
this.setCell(stats, this.getCellID(7, row), this.getCellID(7, row), style,
|
412
|
+
this.setCell(stats, this.getCellID(7, row), this.getCellID(7, row), style, totalHours);
|
413
413
|
let formula = `SUMIF(${sheetLabel}!${this.getCellID(5, 5)}:`
|
414
414
|
+ `${this.getCellID(5, row)}, "*${codeText}*", ${sheetLabel}!`
|
415
415
|
+ `${this.getCellID(column, 5)}:${this.getCellID(column, row)})`;
|