|
|
|
@ -136,6 +136,9 @@ class DashboardBoDController extends Controller
|
|
|
|
|
foreach ($projects as $index => $project) { |
|
|
|
|
$project->scurve = MasterFunctionsHelper::getSCurve($project->id); |
|
|
|
|
$selisihProgress = 0; |
|
|
|
|
$planningProgress = 0; |
|
|
|
|
$actualProgress = 0; |
|
|
|
|
|
|
|
|
|
if ($project->scurve && $project->scurve[0]) { |
|
|
|
|
$planningArray = $project->scurve[0]['data']['percentagePlan']; |
|
|
|
|
$actualArray = $project->scurve[0]['data']['percentageReal']; |
|
|
|
@ -178,6 +181,9 @@ class DashboardBoDController extends Controller
|
|
|
|
|
foreach ($projects as $project) { |
|
|
|
|
$project->scurve = MasterFunctionsHelper::getSCurve($project->id); |
|
|
|
|
$selisihProgress = 0; |
|
|
|
|
$planningProgress = 0; |
|
|
|
|
$actualProgress = 0; |
|
|
|
|
|
|
|
|
|
if ($project->scurve && $project->scurve[0]) { |
|
|
|
|
$planningArray = $project->scurve[0]['data']['percentagePlan']; |
|
|
|
|
$actualArray = $project->scurve[0]['data']['percentageReal']; |
|
|
|
|