scheduler-node-models 1.0.10 → 1.0.12
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
@@ -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.
|
274
|
+
if (this.styles.has(wd.code)) {
|
275
275
|
stID = wd.code;
|
276
276
|
}
|
277
277
|
}
|
@@ -281,7 +281,7 @@ class ScheduleReport extends general_1.Report {
|
|
281
281
|
}
|
282
282
|
}
|
283
283
|
style = this.styles.get(stID);
|
284
|
-
console.log(
|
284
|
+
console.log(stID);
|
285
285
|
const cellID = this.getCellID(current.getDate(), row);
|
286
286
|
this.setCell(sheet, cellID, cellID, style, code);
|
287
287
|
current = new Date(current.getTime() + (24 * 3600000));
|