app/Http/Controllers/RekapController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
        $data = Rekap::latest()->get();
        return view('backend.rekap.index', compact('data'));
    }
public function index ( ) { $ data = Rekap :: latest ( ) -> get ( ) ; return view ( 'backend.rekap.index' , compact ( 'data' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .