Exemplo n.º 1
0
 /**
  * @param CategoryRepositoryInterface $repository
  *
  * @return \Illuminate\View\View
  */
 public function noCategory(CategoryRepositoryInterface $repository)
 {
     $start = Session::get('start', Carbon::now()->startOfMonth());
     $end = Session::get('end', Carbon::now()->startOfMonth());
     $list = $repository->getWithoutCategory($start, $end);
     $subTitle = trans('firefly.without_category_between', ['start' => $start->formatLocalized($this->monthAndDayFormat), 'end' => $end->formatLocalized($this->monthAndDayFormat)]);
     return view('categories.noCategory', compact('list', 'subTitle'));
 }