public function disposisiYear()
 {
     $year = Input::get('year');
     $dis = FormKA6DisposisiHelper::getDisposisiForm($year);
     $data = ['panel_title' => 'Table View', 'location' => 'disposisi', 'table' => $dis, 'selectedYear' => $year, 'disposisiCount' => count(FormKA6DisposisiHelper::getDisposisiForm($year))];
     $data = array_merge($data, $this->basic);
     return View::make('formka6.view', $data);
 }
Exemple #2
0
 public function test()
 {
     $year = date('Y');
     $c = FormKA6DisposisiHelper::count($year);
     $get = FormKA6DisposisiHelper::getDisposisiForm($year);
     echo $c;
     var_dump($get);
 }