app/Viewers/Inventory/InventoryStockViewer.php
public function btnPutBackSomeForWorkOrder(WorkOrder $workOrder)
    {
        if ($this->entity->item) {
            return view('viewers.inventory.stock.buttons.put-back-some-work-order', [
                'workOrder' => $workOrder,
                'stock'     => $this->entity,
            ]);
        }

        return;
    }
public function btnPutBackSomeForWorkOrder(WorkOrder $workOrder)
    {
        if ($this->entity->item) {
            return view('viewers.inventory.stock.buttons.put-back-some-work-order', [
                'workOrder' => $workOrder,
                'stock'     => $this->entity,
            ]);
        }

        return;
    }
Returns the stocks put back some work order button view.

@param WorkOrder $workOrder

@return \Illuminate\View\View