public function show($id)
    {
        $item = $this->inventory->find($id);

        $variants = $this->presenter->tableVariants($item);

        $stocks = $this->presenter->tableStocks($item);

        $navbarProfile = $this->presenter->navbarProfile($item);

        $navbarVariants = $this->presenter->navbarVariants($item);

        $navbarStocks = $this->presenter->navbarStocks($item);

        return view('inventory.show', compact(
            'item',
            'stocks',
            'variants',
            'navbarProfile',
            'navbarVariants',
            'navbarStocks'
        ));
    }
public function show($id)
    {
        $item = $this->inventory->find($id);

        $variants = $this->presenter->tableVariants($item);

        $stocks = $this->presenter->tableStocks($item);

        $navbarProfile = $this->presenter->navbarProfile($item);

        $navbarVariants = $this->presenter->navbarVariants($item);

        $navbarStocks = $this->presenter->navbarStocks($item);

        return view('inventory.show', compact(
            'item',
            'stocks',
            'variants',
            'navbarProfile',
            'navbarVariants',
            'navbarStocks'
        ));
    }
public function show ( $ id ) { $ item = $ this -> inventory -> find ( $ id ) ; $ variants = $ this -> presenter -> tableVariants ( $ item ) ; $ stocks = $ this -> presenter -> tableStocks ( $ item ) ; $ navbarProfile = $ this -> presenter -> navbarProfile ( $ item ) ; $ navbarVariants = $ this -> presenter -> navbarVariants ( $ item ) ; $ navbarStocks = $ this -> presenter -> navbarStocks ( $ item ) ; return view ( 'inventory.show' , compact ( 'item' , 'stocks' , 'variants' , 'navbarProfile' , 'navbarVariants' , 'navbarStocks' ) ) ; }
Displays the specified inventory item.

@param int|string $id

@return \Illuminate\View\View
Displays the specified inventory item .