Пример #1
0
 public function bongoModerator()
 {
     $innovations = $this->innovationRepository->getForModerator();
     $innovations_open = $this->innovationRepository->getAllOPen();
     $innovations_partial = $this->innovationRepository->getAllPartials();
     $innovations_fully = $this->innovationRepository->getAllFullyFunded();
     $investor_requests = $this->investorRequest->getThem();
     $expert_requests = $this->expertRequest->getThem();
     $categories = $this->categoryRepository->getAllCategories();
     return view('admin.moderator', compact('innovations_fully', 'innovations_partial', 'innovations_open', 'expert_requests', 'investor_requests', 'innovations', 'categories'));
 }
Пример #2
0
 /**
  * Gets an investor's ongoing innovations
  * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
  */
 public function getOnProgress()
 {
     $onProgress = $this->repo->getOnProgress();
     $categories = $this->categoryRepository->getAllCategories();
     return view('innovation.progress', compact('categories', 'onProgress'));
 }