scheduler-node-models 1.0.66 → 1.0.68

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.66",
3
+ "version": "1.0.68",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "files": [
@@ -108,7 +108,10 @@ class Employee {
108
108
  if (emp && emp.work && emp.work.length > 0) {
109
109
  this.work = [];
110
110
  emp.work.forEach(w => {
111
- this.work?.push(new work_1.Work(w));
111
+ if (emp.name.lastname.toLowerCase() === 'erne') {
112
+ console.log(JSON.stringify(w));
113
+ }
114
+ this.work.push(new work_1.Work(w));
112
115
  });
113
116
  this.work.sort((a, b) => a.compareTo(b));
114
117
  }
@@ -805,7 +808,6 @@ class Employee {
805
808
  */
806
809
  getWorkedHours(start, end, chgno, ext) {
807
810
  let answer = 0.0;
808
- console.log(`${start} - ${end} = ${chgno}-${ext}`);
809
811
  if (this.work) {
810
812
  this.work.forEach(wk => {
811
813
  if (this.name.lastname.toLowerCase() === 'erne') {