scheduler-node-models 1.0.69 → 1.0.71
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
@@ -108,9 +108,6 @@ class Employee {
|
|
108
108
|
if (emp && emp.work && emp.work.length > 0) {
|
109
109
|
this.work = [];
|
110
110
|
emp.work.forEach(w => {
|
111
|
-
if (emp.name.lastname.toLowerCase() === 'erne') {
|
112
|
-
console.log(JSON.stringify(w));
|
113
|
-
}
|
114
111
|
this.work.push(new work_1.Work(w));
|
115
112
|
});
|
116
113
|
this.work.sort((a, b) => a.compareTo(b));
|
@@ -810,9 +807,6 @@ class Employee {
|
|
810
807
|
let answer = 0.0;
|
811
808
|
if (this.work) {
|
812
809
|
this.work.forEach(wk => {
|
813
|
-
if (this.name.lastname.toLowerCase() === 'erne') {
|
814
|
-
console.log(`${wk.dateWorked} - ${wk.chargeNumber} - ${wk.extension}`);
|
815
|
-
}
|
816
810
|
if (wk.dateWorked.getTime() >= start.getTime()
|
817
811
|
&& wk.dateWorked.getTime() <= end.getTime()
|
818
812
|
&& !wk.modtime) {
|