public function edit($workOrderId, $attachmentId)
    {
        $workOrder = $this->workOrder->findOrFail($workOrderId);

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

        $form = $this->presenter->form($workOrder, $attachment);

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

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

        $form = $this->presenter->form($workOrder, $attachment);

        return view('work-orders.attachments.edit', compact('form'));
    }
public function edit ( $ workOrderId , $ attachmentId ) { $ workOrder = $ this -> workOrder -> findOrFail ( $ workOrderId ) ; $ attachment = $ workOrder -> attachments ( ) -> findOrFail ( $ attachmentId ) ; $ form = $ this -> presenter -> form ( $ workOrder , $ attachment ) ; return view ( 'work-orders.attachments.edit' , compact ( 'form' ) ) ; }
Displays the form for editing the specified work order attachment.

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

@return \Illuminate\View\View
Displays the form for editing the specified work order attachment .