|
|
@ -326,8 +326,7 @@ class DashboardBoDController extends Controller |
|
|
|
if(!$alreadyHasReport) |
|
|
|
if(!$alreadyHasReport) |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
|
|
|
|
|
|
|
|
$minDate = Activity::where('version_gantt_id', $keyGantt['last_gantt_id'])->min("start_date"); |
|
|
|
$minDate = Activity::where('version_gantt_id', $keyGantt['last_gantt_id'])->min("planned_start"); |
|
|
|
/* $minDate = Activity::where('version_gantt_id', $keyGantt['last_gantt_id'])->whereNull('parent_id')->pluck('start_date')->first(); */ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$begin = new \DateTime($minDate.' Monday'); |
|
|
|
$begin = new \DateTime($minDate.' Monday'); |
|
|
|
$maxDate = DB::table('assign_material_to_activity as ama') |
|
|
|
$maxDate = DB::table('assign_material_to_activity as ama') |
|
|
|