|
|
@ -539,7 +539,7 @@ class ProjectController extends Controller |
|
|
|
if($result['type_proyek_id'] === 9) |
|
|
|
if($result['type_proyek_id'] === 9) |
|
|
|
{ |
|
|
|
{ |
|
|
|
// $actualEndExist = Activity::where('proyek_id', $id)->exists(); |
|
|
|
// $actualEndExist = Activity::where('proyek_id', $id)->exists(); |
|
|
|
// $query = Activity::where('proyek_id', $id); |
|
|
|
$query = Activity::where('proyek_id', $id); |
|
|
|
$maxEndDate = Activity::where('proyek_id', $id)->select('end_date') |
|
|
|
$maxEndDate = Activity::where('proyek_id', $id)->select('end_date') |
|
|
|
->orderBy('end_date', 'desc') |
|
|
|
->orderBy('end_date', 'desc') |
|
|
|
->first(); |
|
|
|
->first(); |
|
|
|