scheduler-node-models 1.0.131 → 1.0.133

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.0.131",
3
+ "version": "1.0.133",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "files": [
@@ -426,7 +426,7 @@ class ChargeStatusReport extends general_1.Report {
426
426
  + `${this.getCellID(5, row)}, "*${codeText}*", ${sheetLabel}!`
427
427
  + `${this.getCellID(column, 5)}:${this.getCellID(column, row)})`;
428
428
  this.setCell(stats, this.getCellID(4, statsRow), this.getCellID(4, statsRow), style, new general_1.Formula(formula));
429
- formula = `${this.getCellID(3, statsRow)} - ${this.getCellID(4, statsRow)}`;
429
+ formula = `${this.getCellID(4, statsRow)} - ${this.getCellID(3, statsRow)}`;
430
430
  this.setCell(stats, this.getCellID(5, statsRow), this.getCellID(5, statsRow), style, new general_1.Formula(formula));
431
431
  formula = `IFERROR(${this.getCellID(4, statsRow)}/`
432
432
  + `${this.getCellID(3, statsRow)},"N/A")`;
@@ -461,7 +461,7 @@ class ChargeStatusReport extends general_1.Report {
461
461
  + `${this.getCellID(5, row)}, "*${codeText}*", ${sheetLabel}!`
462
462
  + `${this.getCellID(column, 5)}:${this.getCellID(column, row)})`;
463
463
  this.setCell(stats, this.getCellID(8, srow), this.getCellID(8, srow), style, new general_1.Formula(formula));
464
- formula = `${this.getCellID(7, srow)} - ${this.getCellID(8, srow)}`;
464
+ formula = `${this.getCellID(8, srow)} - ${this.getCellID(7, srow)}`;
465
465
  this.setCell(stats, this.getCellID(9, srow), this.getCellID(9, srow), style, new general_1.Formula(formula));
466
466
  style.numFmt = this.numformats.get('pct');
467
467
  const oformula = new general_1.Formula(`IFERROR(${this.getCellID(8, row)}/`
@@ -595,6 +595,9 @@ class ChargeStatusReport extends general_1.Report {
595
595
  formulae: [0],
596
596
  style: {
597
597
  fill: { type: 'pattern', pattern: 'solid', bgColor: { argb: `ffffb5b5` } },
598
+ font: { bold: true, size: 12, color: { argb: `ff000000` } },
599
+ alignment: { horizontal: 'center', vertical: 'middle', wrapText: true },
600
+ numFmt: "##0.0;[Red]##0.0;-;@"
598
601
  }
599
602
  }
600
603
  ]