1
0
forked from poc/pds

changed logic and colour update logic based on efficiency in production report.

This commit is contained in:
dhanabalan
2026-09-25 11:03:06 +05:30
parent 24c9077f30
commit 911446a944
2 changed files with 18 additions and 2 deletions

View File

@@ -241,7 +241,7 @@ class SendProductionReport extends Command
}
if ($totalTargetQuantity > 0) {
$efficiency = ($totalTargetQuantity / $productionQuantity) * 100;
$efficiency = ($productionQuantity / $totalTargetQuantity) * 100;
} else {
$efficiency = 0;
}