示例#1
0
 /**
  * Retorna os servicos que o usuario nao atende na unidade atual
  * @return Locatacao
  */
 public function getServicosIndisponiveis()
 {
     if (!$this->servicosIndisponiveis && $this->getUnidade()) {
         $service = new ServicoService($this->em);
         $this->servicosIndisponiveis = $service->servicosIndisponiveis($this->getUnidade(), $this->getId());
     }
     return $this->servicosIndisponiveis;
 }