|
|
@ -708,6 +708,9 @@ class MasterFunctionsHelper |
|
|
|
$tempTtlPercentPlan += $sumPercentagePlan; |
|
|
|
$tempTtlPercentPlan += $sumPercentagePlan; |
|
|
|
$tempTtlPercentActual += $sumPercentageActual; |
|
|
|
$tempTtlPercentActual += $sumPercentageActual; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ($tempTtlPercentPlan >= 100) |
|
|
|
|
|
|
|
$tempTtlPercentPlan = 100; |
|
|
|
|
|
|
|
|
|
|
|
$currentACWP += $totalACWP; |
|
|
|
$currentACWP += $totalACWP; |
|
|
|
$currentBCWP += $totalBCWP; |
|
|
|
$currentBCWP += $totalBCWP; |
|
|
|
|
|
|
|
|
|
|
@ -715,6 +718,9 @@ class MasterFunctionsHelper |
|
|
|
$tempPercentagePlan[] = round($tempTtlPercentPlan, 2); |
|
|
|
$tempPercentagePlan[] = round($tempTtlPercentPlan, 2); |
|
|
|
$tempPercentagePlanWhr[] = ["weekly period", $tempPercentagePlan]; |
|
|
|
$tempPercentagePlanWhr[] = ["weekly period", $tempPercentagePlan]; |
|
|
|
$tempPercentageReal[] = round($tempTtlPercentActual, 2); |
|
|
|
$tempPercentageReal[] = round($tempTtlPercentActual, 2); |
|
|
|
|
|
|
|
if ($tempTtlPercentPlan >= 100 && $tempTtlPercentActual >= 100) { |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
} |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
$tempPercentage[] = array(round($sumPercentagePlan, 2), round($sumPercentageActual, 2)); |
|
|
|
$tempPercentage[] = array(round($sumPercentagePlan, 2), round($sumPercentageActual, 2)); |
|
|
|
$tempPercentagePlan[] = round($sumPercentagePlan, 2); |
|
|
|
$tempPercentagePlan[] = round($sumPercentagePlan, 2); |
|
|
|