scheduler-node-models 1.0.88 → 1.0.89

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.88",
3
+ "version": "1.0.89",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "files": [
@@ -459,6 +459,7 @@ class ChargeStatusReport extends general_1.Report {
459
459
  style.fill = this.fills.get('ltbrown');
460
460
  lStyle.fill = this.fills.get('ltbrown');
461
461
  }
462
+ sheet.getRow(row).height = 20;
462
463
  // this section sets the various required columns with information about the
463
464
  // employment in the labor code.
464
465
  this.setCell(sheet, this.getCellID(0, row), this.getCellID(0, row), style, (lCode.clin) ? lCode.clin : '');
@@ -472,6 +473,7 @@ class ChargeStatusReport extends general_1.Report {
472
473
  this.setCell(sheet, this.getCellID(8, row), this.getCellID(8, row), style, emp.companyinfo.employeeid);
473
474
  this.setCell(sheet, this.getCellID(9, row), this.getCellID(9, row), style, (emp.companyinfo.alternateid) ? emp.companyinfo.alternateid : '');
474
475
  this.setCell(sheet, this.getCellID(10, row), this.getCellID(10, row), style, (emp.companyinfo.costcenter) ? emp.companyinfo.costcenter : '');
476
+ this.setCell(sheet, this.getCellID(11, row), this.getCellID(11, row), style, "");
475
477
  // This section steps though the forecast report periods to provide the hours worked/
476
478
  // or forecasted to work, in the period. Each period corresponds to an accounting
477
479
  // month and its weekly periods. These are determined by the contract administrator
@@ -497,7 +499,9 @@ class ChargeStatusReport extends general_1.Report {
497
499
  else {
498
500
  formula = `${this.getCellID(column + 1, row)}`;
499
501
  }
500
- this.setCell(sheet, this.getCellID(column, row), this.getCellID(column, row), style, new general_1.Formula(formula));
502
+ let cellID = this.getCellID(column, row);
503
+ this.setCell(sheet, cellID, cellID, style, new general_1.Formula(formula));
504
+ sumlist.push(cellID);
501
505
  // step through the weekly periods to get the employee's work hours.
502
506
  period.periods.forEach(prd => {
503
507
  column++;