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
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:
@@ -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