scheduler-node-models 1.0.106 → 1.0.107
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
@@ -516,7 +516,7 @@ class ChargeStatusReport extends general_1.Report {
|
|
516
516
|
alignment: this.alignments.get('center'),
|
517
517
|
border: this.borders.get('blackthin')
|
518
518
|
};
|
519
|
-
let hours = emp.getWorkedHours(first,
|
519
|
+
let hours = emp.getWorkedHours(first, last, lCode.chargeNumber, lCode.extension);
|
520
520
|
// if the worksheet displays forecast data and the last date is after the
|
521
521
|
// employee's last recorded actual workday, show as a forecast value and get the
|
522
522
|
// forecast hours added to the actual hours.
|
@@ -524,7 +524,7 @@ class ChargeStatusReport extends general_1.Report {
|
|
524
524
|
if (last.getTime() > lastWorked.getTime()) {
|
525
525
|
style.font = this.fonts.get('blue12');
|
526
526
|
}
|
527
|
-
hours += emp.getForecastHours(lCode, first,
|
527
|
+
hours += emp.getForecastHours(lCode, first, last, this.workcodes);
|
528
528
|
}
|
529
529
|
let cellID = this.getCellID(column, row);
|
530
530
|
this.setCell(sheet, cellID, cellID, style, hours);
|