changed logic and colour update logic based on efficiency in production report.
This commit is contained in:
@@ -241,7 +241,7 @@ class SendProductionReport extends Command
|
||||
}
|
||||
|
||||
if ($totalTargetQuantity > 0) {
|
||||
$efficiency = ($totalTargetQuantity / $productionQuantity) * 100;
|
||||
$efficiency = ($productionQuantity / $totalTargetQuantity) * 100;
|
||||
} else {
|
||||
$efficiency = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user