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