Merge pull request 'Solved bug in production mail report' (#1208) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 14s
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 14s
Reviewed-on: #1208
This commit was merged in pull request #1208.
This commit is contained in:
@@ -176,9 +176,30 @@
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
$dayEfficiencyColor = $getEfficiencyColor($row['dayShiftEfficiency']);
|
// $dayEfficiencyColor = $getEfficiencyColor($row['dayShiftEfficiency']);
|
||||||
$nightEfficiencyColor = $getEfficiencyColor($row['nightShiftEfficiency']);
|
// $nightEfficiencyColor = $getEfficiencyColor($row['nightShiftEfficiency']);
|
||||||
$efficiencyColor = $getEfficiencyColor($row['efficiency']);
|
// $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
|
@endphp
|
||||||
<tr>
|
<tr>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user