Commit 14a6a8fdcb75f87bc1c2c85ab137c6170b1589b8
1 parent
d19c7143
Exists in
master
and in
1 other branch
Consultar versão do agente
Showing
1 changed file
with
14 additions
and
0 deletions
Show diff stats
src/Cacic/CommonBundle/Controller/ComputadorController.php
| ... | ... | @@ -189,6 +189,20 @@ class ComputadorController extends Controller |
| 189 | 189 | |
| 190 | 190 | } |
| 191 | 191 | |
| 192 | + public function versaoagenteAction() | |
| 193 | + { | |
| 194 | + $estatisticas = array( | |
| 195 | + 'totalVersaoAgente' => $this->getDoctrine()->getRepository('CacicCommonBundle:Computador')->countPorVersaoCacic(), | |
| 196 | + 'VersaoAgente30dias' => $this->getDoctrine()->getRepository('CacicCommonBundle:Computador')->countPorVersao30dias()); | |
| 197 | + | |
| 198 | + return $this->render( | |
| 199 | + 'CacicCommonBundle:Computador:versaoagente.html.twig', | |
| 200 | + array( | |
| 201 | + 'estatisticas' => $estatisticas | |
| 202 | + ) | |
| 203 | + ); | |
| 204 | + } | |
| 205 | + | |
| 192 | 206 | /** |
| 193 | 207 | * |
| 194 | 208 | * [AJAX][jqTree] Carrega as subredes, do local informado, com computadores monitorados | ... | ... |