Commit 7a8c1405592354170b0988832bf33ba7fd8d5b91

Authored by Bruno Menezes
1 parent 5cd7fa53
Exists in master and in 1 other branch 3.1

correção relatório de Patrimonio

src/Cacic/RelatorioBundle/Controller/DefaultController.php
... ... @@ -32,6 +32,8 @@ class DefaultController extends Controller
32 32 $so = $this->getDoctrine()->getRepository('CacicCommonBundle:So')->listar();
33 33 $uorg = $this->getDoctrine()->getRepository('CacicCommonBundle:Uorg')->listar();
34 34 $conf = $this->getDoctrine()->getRepository('CacicCommonBundle:ComputadorColeta')->listarPropriedades('Patrimonio');
  35 + $sw = $this->getDoctrine()->getRepository('CacicCommonBundle:Software')->listarSoftware();
  36 +
35 37  
36 38  
37 39 return $this->render(
... ... @@ -40,6 +42,7 @@ class DefaultController extends Controller
40 42 'locais' => $locais,
41 43 'so' => $so,
42 44 'conf' => $conf,
  45 + 'softwares' => $sw,
43 46 'uorg' => $uorg
44 47 )
45 48 );
... ...