Browse Source

update logic progress gantt

pull/3/head
ibnu 2 years ago
parent
commit
23252645c1
  1. 2
      app/Http/Controllers/VersionGanttController.php

2
app/Http/Controllers/VersionGanttController.php

@ -94,7 +94,7 @@ class VersionGanttController extends Controller
$progress = VersionGantt::select('m_version_gantt.id','m_activity.persentase_progress')
->join('m_activity', 'm_version_gantt.id', '=', 'm_activity.version_gantt_id')
->where("m_version_gantt.".$column, $value)
->where('m_activity.type_activity', "project")
// ->where('m_activity.type_activity', "project")
->where('m_activity.parent_id', null)
->get();
foreach($progress as $item) {

Loading…
Cancel
Save