Commit dc916aa80b59868638e3899232fa970b79874797

Authored by Bruno Menezes
1 parent 7a8c1405
Exists in master and in 1 other branch 3.1

correção relatório de Patrimonio

src/Cacic/RelatorioBundle/Resources/views/Default/patrimonio.html.twig
@@ -21,8 +21,8 @@ @@ -21,8 +21,8 @@
21 var tUorg = $('#transferUorg').bootstrapTransfer({'target_id':'tUorg'}); 21 var tUorg = $('#transferUorg').bootstrapTransfer({'target_id':'tUorg'});
22 22
23 tSW.populate([ // Popula o TRANSFER com Softwares 23 tSW.populate([ // Popula o TRANSFER com Softwares
24 - {% for sw in sw %}  
25 - {value: "{{ sw['idClassProperty'] }}", content:"{{ sw['nmSoftware'] }}"}{% if loop.last != true %},{% endif %} 24 + {% for sw in softwares %}
  25 + {value: "{{ sw['idSoftware'] }}", content:"{{ sw['nmSoftware'] }}"}{% if loop.last != true %},{% endif %}
26 26
27 {% endfor %} 27 {% endfor %}
28 ]); 28 ]);
@@ -30,14 +30,14 @@ @@ -30,14 +30,14 @@
30 tLoc.populate([ // Popula o TRANSFER com Locais 30 tLoc.populate([ // Popula o TRANSFER com Locais
31 {% for l in locais %} 31 {% for l in locais %}
32 {value: "{{ l[0]['idLocal'] }}", content:"{{ l[0]['nmLocal'] ~ '/' ~ l[0]['sgLocal'] }}"}{% if loop.last != true %},{% endif %} 32 {value: "{{ l[0]['idLocal'] }}", content:"{{ l[0]['nmLocal'] ~ '/' ~ l[0]['sgLocal'] }}"}{% if loop.last != true %},{% endif %}
33 - 33 +
34 {% endfor %} 34 {% endfor %}
35 ]); 35 ]);
36 - 36 +
37 tSO.populate([ // Popula o TRANSFER com Sistemas Operacionais 37 tSO.populate([ // Popula o TRANSFER com Sistemas Operacionais
38 {% for _so in so %} 38 {% for _so in so %}
39 {value: "{{ _so['idSo'] }}", content:"{{ _so['teDescSo'] }}"}{% if loop.last != true %},{% endif %} 39 {value: "{{ _so['idSo'] }}", content:"{{ _so['teDescSo'] }}"}{% if loop.last != true %},{% endif %}
40 - 40 +
41 {% endfor %} 41 {% endfor %}
42 ]); 42 ]);
43 43