public function show($itemId, $stockId)
    {
        $item = $this->inventory->findOrFail($itemId);

        $stock = $item->stocks()->findOrFail($stockId);

        $movements = $this->presenter->tableMovements($item, $stock);

        return view('inventory.stocks.show', compact('item', 'stock', 'movements'));
    }
public function show($itemId, $stockId)
    {
        $item = $this->inventory->findOrFail($itemId);

        $stock = $item->stocks()->findOrFail($stockId);

        $movements = $this->presenter->tableMovements($item, $stock);

        return view('inventory.stocks.show', compact('item', 'stock', 'movements'));
    }
public function show ( $ itemId , $ stockId ) { $ item = $ this -> inventory -> findOrFail ( $ itemId ) ; $ stock = $ item -> stocks ( ) -> findOrFail ( $ stockId ) ; $ movements = $ this -> presenter -> tableMovements ( $ item , $ stock ) ; return view ( 'inventory.stocks.show' , compact ( 'item' , 'stock' , 'movements' ) ) ; }
Displays the specified items stock.

@param int|string $itemId
@param int|string $stockId

@return \Illuminate\View\View
Displays the specified items stock .