public function getPut($workOrderId, $itemId, $stockId)
    {
        $workOrder = $this->workOrder->findOrFail($workOrderId);

        $item = $this->inventory->findOrFail($itemId);

        $stock = $workOrder->parts()->findOrFail($stockId);

        $form = $this->presenter->formPut($workOrder, $item, $stock);

        return view('work-orders.parts.stocks.put', compact('workOrder', 'item', 'stock', 'form'));
    }
public function getPut($workOrderId, $itemId, $stockId)
    {
        $workOrder = $this->workOrder->findOrFail($workOrderId);

        $item = $this->inventory->findOrFail($itemId);

        $stock = $workOrder->parts()->findOrFail($stockId);

        $form = $this->presenter->formPut($workOrder, $item, $stock);

        return view('work-orders.parts.stocks.put', compact('workOrder', 'item', 'stock', 'form'));
    }
public function getPut ( $ workOrderId , $ itemId , $ stockId ) { $ workOrder = $ this -> workOrder -> findOrFail ( $ workOrderId ) ; $ item = $ this -> inventory -> findOrFail ( $ itemId ) ; $ stock = $ workOrder -> parts ( ) -> findOrFail ( $ stockId ) ; $ form = $ this -> presenter -> formPut ( $ workOrder , $ item , $ stock ) ; return view ( 'work-orders.parts.stocks.put' , compact ( 'workOrder' , 'item' , 'stock' , 'form' ) ) ; }
Displays the form for putting inventory from the
work order back into the specified stock.

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

@return \Illuminate\View\View
Displays the form for putting inventory from the work order back into the specified stock .