From dc916aa80b59868638e3899232fa970b79874797 Mon Sep 17 00:00:00 2001 From: Bruno Menezes Date: Wed, 25 Jun 2014 16:49:48 -0300 Subject: [PATCH] correção relatório de Patrimonio --- src/Cacic/RelatorioBundle/Resources/views/Default/patrimonio.html.twig | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Cacic/RelatorioBundle/Resources/views/Default/patrimonio.html.twig b/src/Cacic/RelatorioBundle/Resources/views/Default/patrimonio.html.twig index b0022cf..3929b29 100644 --- a/src/Cacic/RelatorioBundle/Resources/views/Default/patrimonio.html.twig +++ b/src/Cacic/RelatorioBundle/Resources/views/Default/patrimonio.html.twig @@ -21,8 +21,8 @@ var tUorg = $('#transferUorg').bootstrapTransfer({'target_id':'tUorg'}); tSW.populate([ // Popula o TRANSFER com Softwares - {% for sw in sw %} - {value: "{{ sw['idClassProperty'] }}", content:"{{ sw['nmSoftware'] }}"}{% if loop.last != true %},{% endif %} + {% for sw in softwares %} + {value: "{{ sw['idSoftware'] }}", content:"{{ sw['nmSoftware'] }}"}{% if loop.last != true %},{% endif %} {% endfor %} ]); @@ -30,14 +30,14 @@ tLoc.populate([ // Popula o TRANSFER com Locais {% for l in locais %} {value: "{{ l[0]['idLocal'] }}", content:"{{ l[0]['nmLocal'] ~ '/' ~ l[0]['sgLocal'] }}"}{% if loop.last != true %},{% endif %} - + {% endfor %} ]); - + tSO.populate([ // Popula o TRANSFER com Sistemas Operacionais {% for _so in so %} {value: "{{ _so['idSo'] }}", content:"{{ _so['teDescSo'] }}"}{% if loop.last != true %},{% endif %} - + {% endfor %} ]); -- libgit2 0.21.2