|
|
|
@ -53,7 +53,8 @@ class ProjectController extends Controller
|
|
|
|
|
'mulai_proyek' => 'required', |
|
|
|
|
'akhir_proyek' => 'required', |
|
|
|
|
'rencana_biaya' => 'required', |
|
|
|
|
'type_proyek_id' => 'required' |
|
|
|
|
'type_proyek_id' => 'required', |
|
|
|
|
'value_proyek' => 'required' |
|
|
|
|
]); |
|
|
|
|
|
|
|
|
|
$data = $request->all(); |
|
|
|
@ -543,7 +544,7 @@ class ProjectController extends Controller
|
|
|
|
|
$maxEndDate = Activity::where('proyek_id', $id)->select('end_date') |
|
|
|
|
->orderBy('end_date', 'desc') |
|
|
|
|
->first(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}else{ |
|
|
|
|
// $actualEndExist = Activity::where('version_gantt_id', $ganttId)->exists(); |
|
|
|
|
$maxEndDate = Activity::where('version_gantt_id', $ganttId)->select('end_date') |
|
|
|
|