scheduler-node-models 1.0.25 → 1.0.27

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.25",
3
+ "version": "1.0.27",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "files": [
@@ -81,7 +81,9 @@ class EnterpriseSchedule extends general_1.Report {
81
81
  fitToWidth: 1,
82
82
  blackAndWhite: false,
83
83
  fitToPage: true,
84
- showGridLines: false
84
+ showGridLines: false,
85
+ horizontalCentered: true,
86
+ verticalCentered: true
85
87
  }
86
88
  });
87
89
  // set the widths of the columns: 1 = 17.0 and the rest are 4.0
@@ -264,9 +264,6 @@ class ScheduleReport extends general_1.Report {
264
264
  let stID = styleID;
265
265
  let code = '';
266
266
  const wd = emp.getWorkday(current);
267
- if (start.getMonth() === 8 && emp.name.lastname.toLowerCase() === 'erne') {
268
- console.log(JSON.stringify(wd));
269
- }
270
267
  if (wd && wd.code !== '') {
271
268
  code = wd.code.toUpperCase();
272
269
  if (this.styles.has(wd.code)) {