app/Processors/WorkOrder/WorkOrderPartStockProcessor.php
public function getTake($workOrderId, $itemId, $stockId)
    {
        $workOrder = $this->workOrder->findOrFail($workOrderId);

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

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

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

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

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

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

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

        return view('work-orders.parts.stocks.take', compact('workOrder', 'item', 'stock', 'form'));
    }
Displays the form for taking inventory for the specified work order.

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

@return \Illuminate\View\View