Browse Source

fix(s-curve):update cut off date today

pull/1/head
farhantock 6 months ago
parent
commit
00876b126b
  1. 2
      app/Helpers/MasterFunctionsHelper.php

2
app/Helpers/MasterFunctionsHelper.php

@ -567,7 +567,7 @@ class MasterFunctionsHelper
// } // }
$progressPlanKomulatifWeek[] += round($tmpProgressPlanWeek, 2); $progressPlanKomulatifWeek[] += round($tmpProgressPlanWeek, 2);
if (new \DateTime($loopDay . ' Friday') <= new \DateTime($today . ' Friday')) { if ($loopDay <= $today) {
// $tempPercentageReal[] = round($tempTtlPercentActual, 2); // $tempPercentageReal[] = round($tempTtlPercentActual, 2);
$progressActualKomulatifWeek[] += round($tmpProgressActualWeek, 2); $progressActualKomulatifWeek[] += round($tmpProgressActualWeek, 2);
} }

Loading…
Cancel
Save