|
|
@ -201,7 +201,6 @@ class MasterFunctionsHelper |
|
|
|
->max("a.planned_end"); // plan date overlapped with assign_material_to_activity's, it should be m_activity' |
|
|
|
->max("a.planned_end"); // plan date overlapped with assign_material_to_activity's, it should be m_activity' |
|
|
|
$maxDate = max(new \DateTime($plannedMaxDate), new \DateTime($actualMaxDate)); |
|
|
|
$maxDate = max(new \DateTime($plannedMaxDate), new \DateTime($actualMaxDate)); |
|
|
|
$end = $maxDate; |
|
|
|
$end = $maxDate; |
|
|
|
$end->modify('last month'); |
|
|
|
|
|
|
|
$interval = new \DateInterval('P7D'); |
|
|
|
$interval = new \DateInterval('P7D'); |
|
|
|
} |
|
|
|
} |
|
|
|
$period = new \DatePeriod($begin, $interval, $end); |
|
|
|
$period = new \DatePeriod($begin, $interval, $end); |
|
|
|