Commit 810f93d937355aca7ecdf17d91061b9ab29cd3af
1 parent
abd6028b
Exists in
master
and in
1 other branch
check box marcar/desmarcas todas as sub-redes
Showing
1 changed file
with
8 additions
and
1 deletions
Show diff stats
src/Cacic/RelatorioBundle/Resources/views/Faturamento/inativos.html.twig
... | ... | @@ -28,10 +28,13 @@ |
28 | 28 | </div> |
29 | 29 | |
30 | 30 | <div class="control-group _cad_block_opcao"> |
31 | + <label class="control-label">{{ 'Local'|trans }}</label> | |
31 | 32 | |
32 | 33 | <div class="controls"> |
34 | + <input type="checkbox" class="toggleCheck" name="toggleCheck[]" value="id.Local" id="toggleLocal"> | |
35 | + <label for="toggleLocal"><b>{{ 'Marcar/desmarcar tudo'|trans }}</b></label> | |
36 | + | |
33 | 37 | |
34 | - <label ><b>{{ 'Local:'|trans }}</b></label> | |
35 | 38 | <div style="height: 200px; overflow: auto;"> |
36 | 39 | |
37 | 40 | <div class="modulo-opt-block"> |
... | ... | @@ -118,4 +121,8 @@ |
118 | 121 | |
119 | 122 | </script> |
120 | 123 | {% endif %} |
124 | + | |
125 | + <script type="text/javascript"> | |
126 | + System.Form.toggleCheck(); // Ativa o monitoramento de Clique no checkbox para marcar/desmarcar todos | |
127 | + </script> | |
121 | 128 | {% endblock %} | ... | ... |