Commit 9cd6a09b60aed8a7d42a17e9edcd26b70678b342
1 parent
1415fb67
Exists in
master
and in
1 other branch
filtros csv
Showing
1 changed file
with
11 additions
and
9 deletions
Show diff stats
src/Cacic/RelatorioBundle/Resources/views/Faturamento/faturamentoResultado.html.twig
| ... | ... | @@ -13,15 +13,17 @@ |
| 13 | 13 | |
| 14 | 14 | <hr /> |
| 15 | 15 | |
| 16 | - <form id="csv" action="{{ path('cacic_faturamento_csv', {'dtAcaoInicio': data['dtAcaoInicio'], 'dtAcaoFim': data['dtAcaoFim']}) }}" method="post"> | |
| 17 | - {% for eml, value in filtroLocais %} | |
| 18 | - <input type="hidden" name="{{ eml }}" value="{{ value }}"> | |
| 19 | - {% endfor %} | |
| 20 | - <button class="btn btn-primary" type="submit"> | |
| 21 | - <i class="icon-bar-chart"></i> | |
| 22 | - Gerar CSV | |
| 23 | - </button> | |
| 24 | - </form> | |
| 16 | + <form id="csv" action="{{ path('cacic_faturamento_csv_interno') }}" method="post"> | |
| 17 | + <input type="hidden" name="dtAcaoInicio" value="{{ data['dtAcaoInicio'] }}"> | |
| 18 | + <input type="hidden" name="dtAcaoFim" value="{{ data['dtAcaoFim'] }}"> | |
| 19 | + {% for idLocal, value in filtroLocais %} | |
| 20 | + <input type="hidden" name="idLocal[]" value="{{ value }}"> | |
| 21 | + {% endfor %} | |
| 22 | + <button class="btn btn-primary" type="submit"> | |
| 23 | + <i class="icon-bar-chart"></i> | |
| 24 | + Gerar CSV | |
| 25 | + </button> | |
| 26 | + </form> | |
| 25 | 27 | |
| 26 | 28 | <table class="display datatable" id="datatable"> |
| 27 | 29 | ... | ... |