Exemplo n.º 1
0
 public function showMyTechSupportRequests()
 {
     $calls = TechSupportRequest::my()->take($this->getQlimit(30))->skip($this->getQOffset())->orderBy('updated_at', 'desc')->get();
     $recordsCount = TechSupportRequest::my()->count();
     $pages = RenderEngine::makePagination($recordsCount, $this->getQlimit(30), 'route');
     return $this->render("lk/showMyTsCalls", compact("calls", 'pages'));
 }