app/Http/Controllers/VendasController.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()
    {
        $vendas = Venda::all();
        return view('vendas.index')->with('vendas', $vendas);
    }
public function index ( ) { $ vendas = Venda :: all ( ) ; return view ( 'vendas.index' ) -> with ( 'vendas' , $ vendas ) ; }
Display a listing of the resource.
Display a listing of the resource .