public function docsall($id)
 {
     $documents = $this->documentRepository->findByField('package_id', $id)->all();
     return view('package.docsall', compact('documents'));
 }
 public function average()
 {
     $documents = $this->documentRepository->findByField('status', 3)->all();
     return view('admin.orders.average', compact('documents'));
 }