Commit dc916aa80b59868638e3899232fa970b79874797
1 parent
7a8c1405
Exists in
master
and in
1 other branch
correção relatório de Patrimonio
Showing
1 changed file
with
5 additions
and
5 deletions
Show diff stats
src/Cacic/RelatorioBundle/Resources/views/Default/patrimonio.html.twig
... | ... | @@ -21,8 +21,8 @@ |
21 | 21 | var tUorg = $('#transferUorg').bootstrapTransfer({'target_id':'tUorg'}); |
22 | 22 | |
23 | 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 | 27 | {% endfor %} |
28 | 28 | ]); |
... | ... | @@ -30,14 +30,14 @@ |
30 | 30 | tLoc.populate([ // Popula o TRANSFER com Locais |
31 | 31 | {% for l in locais %} |
32 | 32 | {value: "{{ l[0]['idLocal'] }}", content:"{{ l[0]['nmLocal'] ~ '/' ~ l[0]['sgLocal'] }}"}{% if loop.last != true %},{% endif %} |
33 | - | |
33 | + | |
34 | 34 | {% endfor %} |
35 | 35 | ]); |
36 | - | |
36 | + | |
37 | 37 | tSO.populate([ // Popula o TRANSFER com Sistemas Operacionais |
38 | 38 | {% for _so in so %} |
39 | 39 | {value: "{{ _so['idSo'] }}", content:"{{ _so['teDescSo'] }}"}{% if loop.last != true %},{% endif %} |
40 | - | |
40 | + | |
41 | 41 | {% endfor %} |
42 | 42 | ]); |
43 | 43 | ... | ... |