changed logic and colour update logic based on efficiency in production report.
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 13s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 15s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 20s
Laravel Pint / pint (pull_request) Successful in 3m15s
Laravel Larastan / larastan (pull_request) Failing after 16m50s

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;
}