@ -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')