Browse Source

update fix quick

pull/1/head
ibnu 1 year ago
parent
commit
1b52345f54
  1. 2
      app/Http/Controllers/ProjectController.php

2
app/Http/Controllers/ProjectController.php

@ -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();

Loading…
Cancel
Save