public function getIndex()
 {
     $breadcrumbs = array(array('Kompetensi' => ""), array('Realiasi' => ""), array('Diklat' => ""));
     $diklat = DiklatEvaluasi::all();
     $page = DiklatEvaluasi::paginate(5);
     set_time_limit(0);
     $user = Auth::user();
     //ambil jabatan
     $riwJabatan = RiwJabStruk::getJabatanOnCompetency($this->competencyData->date_start, $user->nip);
     //return $riwJabatan;
     //ambil detail user
     $masterPegawai = MasterPegawai::getDetailbyDate($this->competencyData->date_start, $user->nip);
     if ($riwJabatan != false) {
         $profileSoft = CompetencyProfile::getProfilebyJabatan($riwJabatan->unit_staf_id, 1)->get();
         $profileBusiness = CompetencyProfile::getProfilebyJabatan($riwJabatan->unit_staf_id, 2)->get();
         $competencyType = CompetencyType::all();
         $data = array();
         foreach ($competencyType as $rowType) {
             $profile = CompetencyProfile::getProfile($riwJabatan->unit_staf_id, $this->competencyData->id, $rowType->id);
             $data[] = array('type' => array('id' => $rowType->id, 'name' => $rowType->name), 'profile' => $profile);
         }
         //return $data;
         $this->layout->breadcrumbs = View::make('layouts.breadcrumb', compact('breadcrumbs'));
         $this->layout->content = View::make('development::userrealisasidiklat.index', compact('data', 'masterPegawai', 'diklat', 'page'));
     }
 }