/**
  * Show the form for editing the specified resource.
  *
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function edit($id, UserRepository $userRepository)
 {
     $listStatus = ['0' => 'Pendente', '1' => 'Enviado', '2' => 'Entregue'];
     $order = $this->order->find($id);
     $deliveryman = $userRepository->getDeliverymen();
     return view('admin.orders.edit', compact('order', 'listStatus', 'deliveryman'));
 }