Solved bug in production mail report
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 13s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 17s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 17s
Laravel Pint / pint (pull_request) Successful in 2m34s
Laravel Larastan / larastan (pull_request) Failing after 6m47s
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 13s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 17s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 17s
Laravel Pint / pint (pull_request) Successful in 2m34s
Laravel Larastan / larastan (pull_request) Failing after 6m47s
This commit is contained in:
@@ -176,9 +176,30 @@
|
||||
}
|
||||
};
|
||||
|
||||
$dayEfficiencyColor = $getEfficiencyColor($row['dayShiftEfficiency']);
|
||||
$nightEfficiencyColor = $getEfficiencyColor($row['nightShiftEfficiency']);
|
||||
$efficiencyColor = $getEfficiencyColor($row['efficiency']);
|
||||
// $dayEfficiencyColor = $getEfficiencyColor($row['dayShiftEfficiency']);
|
||||
// $nightEfficiencyColor = $getEfficiencyColor($row['nightShiftEfficiency']);
|
||||
// $efficiencyColor = $getEfficiencyColor($row['efficiency']);
|
||||
|
||||
// Day shift efficiency color
|
||||
$dayEfficiencyColor = $getEfficiencyColor(
|
||||
$row['dayShiftEfficiency'],
|
||||
$row['dayShiftPlanQuantity'],
|
||||
$row['dayShiftActualQuantity']
|
||||
);
|
||||
|
||||
// Night shift efficiency color
|
||||
$nightEfficiencyColor = $getEfficiencyColor(
|
||||
$row['nightShiftEfficiency'],
|
||||
$row['nightShiftPlanQuantity'],
|
||||
$row['nightShiftActualQuantity']
|
||||
);
|
||||
|
||||
// Overall efficiency color
|
||||
$efficiencyColor = $getEfficiencyColor(
|
||||
$row['efficiency'],
|
||||
$row['targetQuantity'],
|
||||
$row['productionQuantity']
|
||||
);
|
||||
@endphp
|
||||
<tr>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user