scheduler-node-models 1.0.38 → 1.0.39
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
@@ -805,6 +805,8 @@ class Employee {
|
|
805
805
|
*/
|
806
806
|
getWorkedHours(start, end, chgno, ext) {
|
807
807
|
let answer = 0.0;
|
808
|
+
console.log(`Dates: ${start} - ${end}`);
|
809
|
+
console.log(`Work: ${this.name.lastname} - ${this.work?.length}`);
|
808
810
|
if (this.work) {
|
809
811
|
this.work.forEach(wk => {
|
810
812
|
if (wk.dateWorked.getTime() >= start.getTime()
|