scheduler-node-models 1.0.36 → 1.0.37

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.36",
3
+ "version": "1.0.37",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "files": [
@@ -49,7 +49,6 @@ class ChargeStatusReport extends general_1.Report {
49
49
  employees.push(emp);
50
50
  });
51
51
  employees.sort((a, b) => a.compareTo(b));
52
- console.log(employees.length);
53
52
  this.createStyles();
54
53
  // create the statistics sheet first, so the other sheets can feed it data
55
54
  const stats = this.createStatisticsSheet(workbook);
@@ -296,6 +295,7 @@ class ChargeStatusReport extends general_1.Report {
296
295
  // employee has used this labor code, if they have some actual or forecast hours.
297
296
  const actual = emp.getWorkedHours(report.startDate, report.endDate, lCode.chargeNumber, lCode.extension);
298
297
  const forecast = emp.getForecastHours(lCode, report.startDate, report.endDate, compareCodes);
298
+ console.log(`${emp.name.lastname}: ${lCode.extension} - ${actual} - ${forecast}`);
299
299
  if (actual > 0 || forecast > 0) {
300
300
  row++;
301
301
  if (emp.getLastWorkday().getTime() > lastWorked.getTime()) {