scheduler-node-models 1.0.94 → 1.0.96

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.94",
3
+ "version": "1.0.96",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "files": [
@@ -730,6 +730,9 @@ class Employee {
730
730
  end = new Date(Date.UTC(end.getFullYear(), end.getMonth(), end.getDate()));
731
731
  // Check for assignment during period
732
732
  let found = false;
733
+ if (this.name.lastname.toLowerCase() === 'erne') {
734
+ console.log(`${start} - ${end} - ${JSON.stringify(labor)}`);
735
+ }
733
736
  this.assignments.forEach(asgmt => {
734
737
  if (asgmt.useAssignment(start, end, labor)) {
735
738
  found = true;