Added actual quantity and plan quantity in production mail report
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 15s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 21s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 14s
Laravel Pint / pint (pull_request) Successful in 2m39s
Laravel Larastan / larastan (pull_request) Failing after 5m13s
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 15s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 21s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 14s
Laravel Pint / pint (pull_request) Successful in 2m39s
Laravel Larastan / larastan (pull_request) Failing after 5m13s
This commit is contained in:
@@ -158,7 +158,13 @@
|
||||
<tbody>
|
||||
@foreach($tableData as $row)
|
||||
@php
|
||||
$getEfficiencyColor = function ($value) {
|
||||
$getEfficiencyColor = function ($value, $planQuantity, $actualQuantity) {
|
||||
|
||||
if ((float) $planQuantity == 0 && (float) $actualQuantity == 0)
|
||||
{
|
||||
return '#4caf50';
|
||||
}
|
||||
|
||||
$efficiency = (float) $value;
|
||||
|
||||
if ($efficiency < 80) {
|
||||
|
||||
Reference in New Issue
Block a user