@optifye/dashboard-core 6.10.7 → 6.10.8
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/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -37465,7 +37465,7 @@ var LinePdfGenerator = ({
|
|
|
37465
37465
|
};
|
|
37466
37466
|
const hourlyTimeRanges = lineInfo.metrics.shift_start ? getHourlyTimeRanges(lineInfo.metrics.shift_start, lineInfo.metrics.shift_end) : [];
|
|
37467
37467
|
const shiftDuration = hourlyTimeRanges.length || 11;
|
|
37468
|
-
const targetOutputPerHour = Math.round(lineInfo.metrics.
|
|
37468
|
+
const targetOutputPerHour = Math.round(lineInfo.metrics.threshold_pph ?? 0);
|
|
37469
37469
|
let hourlyActualOutput = [];
|
|
37470
37470
|
if (lineInfo.metrics.output_hourly && Object.keys(lineInfo.metrics.output_hourly).length > 0) {
|
|
37471
37471
|
const [startHourStr, startMinuteStr] = (lineInfo.metrics.shift_start || "6:00").split(":");
|
package/dist/index.mjs
CHANGED
|
@@ -37436,7 +37436,7 @@ var LinePdfGenerator = ({
|
|
|
37436
37436
|
};
|
|
37437
37437
|
const hourlyTimeRanges = lineInfo.metrics.shift_start ? getHourlyTimeRanges(lineInfo.metrics.shift_start, lineInfo.metrics.shift_end) : [];
|
|
37438
37438
|
const shiftDuration = hourlyTimeRanges.length || 11;
|
|
37439
|
-
const targetOutputPerHour = Math.round(lineInfo.metrics.
|
|
37439
|
+
const targetOutputPerHour = Math.round(lineInfo.metrics.threshold_pph ?? 0);
|
|
37440
37440
|
let hourlyActualOutput = [];
|
|
37441
37441
|
if (lineInfo.metrics.output_hourly && Object.keys(lineInfo.metrics.output_hourly).length > 0) {
|
|
37442
37442
|
const [startHourStr, startMinuteStr] = (lineInfo.metrics.shift_start || "6:00").split(":");
|