/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $perbaikan = Perbaikan::all(); $peralatan = Peralatan::all(); return view('perbaikan.index2', compact('perbaikan', 'peralatan')); }