app/Http/Controllers/VentaPlanController.php
/**
     * Display a listing of the resource.
     *
     * @return Response
     */
Display a listing of the resource.
@return Response
Display a listing of the resource . @return Response
public function index()
    {
        $ventas = VentaPlan::all();
        return view('ventas.index', compact('ventas'));
    }
public function index ( ) { $ ventas = VentaPlan :: all ( ) ; return view ( 'ventas.index' , compact ( 'ventas' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .