scheduler-node-models 1.0.11 → 1.0.13

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.11",
3
+ "version": "1.0.13",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "files": [
@@ -271,7 +271,7 @@ class ScheduleReport extends general_1.Report {
271
271
  const wd = emp.getWorkday(current);
272
272
  if (wd && wd.code !== '') {
273
273
  code = wd.code.toUpperCase();
274
- if (this.workcodes.has(wd.code)) {
274
+ if (this.styles.has(wd.code)) {
275
275
  stID = wd.code;
276
276
  }
277
277
  }
@@ -281,7 +281,6 @@ class ScheduleReport extends general_1.Report {
281
281
  }
282
282
  }
283
283
  style = this.styles.get(stID);
284
- console.log(stID);
285
284
  const cellID = this.getCellID(current.getDate(), row);
286
285
  this.setCell(sheet, cellID, cellID, style, code);
287
286
  current = new Date(current.getTime() + (24 * 3600000));