scheduler-node-models 1.0.19 → 1.0.20

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.19",
3
+ "version": "1.0.20",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "files": [
@@ -156,7 +156,6 @@ class ScheduleReport extends general_1.Report {
156
156
  });
157
157
  if (!position) {
158
158
  const wd = emp.getAssignmentForPeriod(startDate, endDate);
159
- console.log(`${emp.name.lastname} = ${JSON.stringify(wd)}`);
160
159
  this.site.workcenters.forEach((wkctr, w) => {
161
160
  if (wkctr.id.toLowerCase() === wd.workcenter.toLowerCase()) {
162
161
  wkctr.shifts?.forEach((shft, s) => {
@@ -208,7 +207,7 @@ class ScheduleReport extends general_1.Report {
208
207
  day: '2-digit',
209
208
  year: 'numeric'
210
209
  });
211
- this.setCell(sheet, this.getCellID(1, 1), this.getCellID(1, 1), style, formatter.format(now));
210
+ this.setCell(sheet, this.getCellID(0, 2), this.getCellID(0, 2), style, formatter.format(now));
212
211
  let current = new Date(startDate);
213
212
  while (current.getTime() < endDate.getTime()) {
214
213
  let styleID = 'evenday';