scheduler-node-models 1.1.27 → 1.1.28
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
|
@@ -130,7 +130,7 @@ class Section {
|
|
|
130
130
|
let hours = 0.0;
|
|
131
131
|
label = `Section${coCount}Row${count}_${current.getDate().toString().padStart(2, '0')}`;
|
|
132
132
|
this.laborcodes.forEach(lc => {
|
|
133
|
-
const thours = emp.getWorkedHours(current,
|
|
133
|
+
const thours = emp.getWorkedHours(current, current, lc.chargeNumber, lc.extension);
|
|
134
134
|
if (thours > 0) {
|
|
135
135
|
if (emp.name.lastname.toLowerCase() === 'erne') {
|
|
136
136
|
console.log(`${current} = ${thours}`);
|