public function edit($id, UserRepository $userRepository)
 {
     $list_status = [0 => 'Pendente', 1 => 'A caminho', 2 => 'Entregue', 3 => 'Cancelado'];
     $order = $this->repository->find($id);
     $deliveryman = $userRepository->getDeliveryman();
     return view('admin.orders.edit', compact('order', 'list_status', 'deliveryman'));
 }