app/Http/Controllers/StockoutController.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()
    {
        $stockout = Stockout::all();
        return view('admin.stockouts.index',compact('stockout'));
    }
public function index ( ) { $ stockout = Stockout :: all ( ) ; return view ( 'admin.stockouts.index' , compact ( 'stockout' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .