예제 #1
0
 public static function showLaporan()
 {
     return Laporan::all();
 }
 /**
  * Display a listing of the resource.
  *
  * @return \Illuminate\Http\Response
  */
 public function getIndex()
 {
     $data['penugasan'] = Penugasan::paginate(10);
     $data['laporan'] = Laporan::all();
     return view('app.master.penugasan', $data);
 }