scheduler-node-models 1.0.23 → 1.0.24
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
@@ -257,7 +257,6 @@ class ScheduleReport extends general_1.Report {
|
|
257
257
|
}
|
258
258
|
const lastWorked = emp.getLastWorkday();
|
259
259
|
let style = this.styles.get(styleID);
|
260
|
-
sheet.getRow(row).height = 20;
|
261
260
|
const name = `${emp.name.lastname}, ${emp.name.firstname.substring(0, 1)}`;
|
262
261
|
this.setCell(sheet, this.getCellID(0, row), this.getCellID(0, row), style, name);
|
263
262
|
let current = new Date(start);
|
@@ -265,6 +264,9 @@ class ScheduleReport extends general_1.Report {
|
|
265
264
|
let stID = styleID;
|
266
265
|
let code = '';
|
267
266
|
const wd = emp.getWorkday(current);
|
267
|
+
if (start.getMonth() === 8 && emp.name.lastname.toLowerCase() === 'erne') {
|
268
|
+
console.log(JSON.stringify(wd));
|
269
|
+
}
|
268
270
|
if (wd && wd.code !== '') {
|
269
271
|
code = wd.code.toUpperCase();
|
270
272
|
if (this.styles.has(wd.code)) {
|