scheduler-node-models 1.0.45 → 1.0.47
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
@@ -372,7 +372,6 @@ class ChargeStatusReport extends general_1.Report {
|
|
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)})`;
|
375
|
-
console.log(formula);
|
376
375
|
let cell = stats.getCell(statsRow, 5);
|
377
376
|
cell.style = style;
|
378
377
|
cell.value = { formula: formula };
|
@@ -394,11 +393,13 @@ class ChargeStatusReport extends general_1.Report {
|
|
394
393
|
let row = 0;
|
395
394
|
for (let r = 3; r <= statsRow && row === 0; r++) {
|
396
395
|
const cell = stats.getCell(r, 1);
|
396
|
+
console.log(`${cell.text} === ${codeText}`);
|
397
397
|
if (cell.text.toLowerCase() === codeText.toLowerCase()) {
|
398
398
|
row = r;
|
399
399
|
}
|
400
400
|
}
|
401
401
|
// row greater than zero means the labor code was found and
|
402
|
+
console.log(`${codeText} - ${row}`);
|
402
403
|
if (row > 0) {
|
403
404
|
const bLight = (row % 2) === 0;
|
404
405
|
// forecast information next four columns, total hours, total forecasted
|
@@ -685,7 +686,7 @@ class ChargeStatusReport extends general_1.Report {
|
|
685
686
|
fill: this.fills.get('white'),
|
686
687
|
font: this.fonts.get('bold12'),
|
687
688
|
alignment: this.alignments.get('centerslant'),
|
688
|
-
border: this.borders.get("
|
689
|
+
border: this.borders.get("blackthin")
|
689
690
|
};
|
690
691
|
// Set the column headers with column B & C, inclusive dates in white/slanted 45
|
691
692
|
this.setCell(sheet, "B2", "B2", style, "Start");
|