Add removed all line for production line stop count and production order count

This commit is contained in:
dhanabalan
2025-08-04 18:23:51 +05:30
parent 68ba8fa89d
commit 68d4240ab0

View File

@@ -128,10 +128,17 @@ class ModulePlantLineController extends Controller
], 404);
}
if (strtolower(trim($chartName)) != 'production hourly count') {
$normalizedChartName = strtolower(trim($chartName));
if ($normalizedChartName != 'production order count' && $normalizedChartName != 'production hourly count' && $normalizedChartName != 'production line stop count') {
array_unshift($nonFgLines, 'All Lines');
}
// if (strtolower(trim($chartName)) != 'production hourly count') {
// array_unshift($nonFgLines, 'All Lines');
// }
// Add "All Lines" to beginning and "FG Lines" at the end
// array_unshift($nonFgLines, 'All Lines');
// $nonFgLines[] = 'FG Line';