Browse Source

solved conflict

pull/3/head
bnu 2 years ago
parent
commit
f29bb6a8b1
  1. 5
      app/Http/Controllers/ProjectController.php

5
app/Http/Controllers/ProjectController.php

@ -230,10 +230,9 @@ class ProjectController extends Controller
} }
public function dashboard($id) public function dashboard($id)
{ {
// $data = Project::WHERE("id", $id)->first();
$data = DB::table('m_proyek as mp') $data = DB::table('m_proyek as mp')
->select('mp.kode_sortname', 'mp.nama as name_project', 'mp.mulai_proyek as start', 'mp.akhir_proyek as finish', 'mp.rencana_biaya', 'mp.company', 'mu.name as pm') ->select('mp.kode_sortname', 'mp.nama as name_project', 'mp.mulai_proyek as start', 'mp.akhir_proyek as finish', 'mp.rencana_biaya', 'mp.company', 'mp.currency_symbol', 'mu.name as pm')
->join('m_users as mu', 'mu.id', '=', 'mp.pm_id') ->join('m_users as mu', 'mu.id', '=', 'mp.pm_id')
->where('mp.id', $id) ->where('mp.id', $id)
->get(); ->get();

Loading…
Cancel
Save