app/Processors/WorkOrder/WorkOrderAttachmentProcessor.php
public function show($workOrderId, $attachmentId)
    {
        $workOrder = $this->workOrder->findOrFail($workOrderId);

        $attachment = $workOrder->attachments()->findOrFail($attachmentId);

        return view('work-orders.attachments.show', compact('workOrder', 'attachment'));
    }
public function show($workOrderId, $attachmentId)
    {
        $workOrder = $this->workOrder->findOrFail($workOrderId);

        $attachment = $workOrder->attachments()->findOrFail($attachmentId);

        return view('work-orders.attachments.show', compact('workOrder', 'attachment'));
    }
Displays the work order attachments.

@param int|string $workOrderId
@param int|string $attachmentId

@return \Illuminate\View\View