|
|
@ -852,6 +852,7 @@ class MasterFunctionsHelper |
|
|
|
|
|
|
|
|
|
|
|
$arr_ActualM = []; |
|
|
|
$arr_ActualM = []; |
|
|
|
$tempDate = []; |
|
|
|
$tempDate = []; |
|
|
|
|
|
|
|
$tempPercentage = []; |
|
|
|
$tempPercentagePlan = []; |
|
|
|
$tempPercentagePlan = []; |
|
|
|
$tempPercentagePlanWhr = []; |
|
|
|
$tempPercentagePlanWhr = []; |
|
|
|
$tempPercentageReal = []; |
|
|
|
$tempPercentageReal = []; |
|
|
@ -860,7 +861,8 @@ class MasterFunctionsHelper |
|
|
|
|
|
|
|
|
|
|
|
$currentACWP = 0; |
|
|
|
$currentACWP = 0; |
|
|
|
$currentBCWP = 0; |
|
|
|
$currentBCWP = 0; |
|
|
|
|
|
|
|
$totalACWP = 0; |
|
|
|
|
|
|
|
$totalBCWP = 0; |
|
|
|
foreach ($period as $dt) { |
|
|
|
foreach ($period as $dt) { |
|
|
|
$minSevenDays = new \Datetime($dt->format("Y-m-d")); |
|
|
|
$minSevenDays = new \Datetime($dt->format("Y-m-d")); |
|
|
|
$minSevenDays = $minSevenDays->modify('-7 day')->format("Y-m-d"); |
|
|
|
$minSevenDays = $minSevenDays->modify('-7 day')->format("Y-m-d"); |
|
|
|