Commit 38a0829562287666d9487d5bdfde055b7d44d277
1 parent
abf365b7
Exists in
master
and in
1 other branch
Adicionando botão Gerar CSV nos relatórios de faturamento
Showing
1 changed file
with
7 additions
and
2 deletions
Show diff stats
src/Cacic/RelatorioBundle/Resources/views/Faturamento/faturamentoResultado.html.twig
@@ -7,12 +7,17 @@ | @@ -7,12 +7,17 @@ | ||
7 | <div class="box grad_colour_black"> | 7 | <div class="box grad_colour_black"> |
8 | <h2 class="box_head round_top"><i class="icon-list"></i> {{'Resultado do Faturamento' |trans }}</h2> | 8 | <h2 class="box_head round_top"><i class="icon-list"></i> {{'Resultado do Faturamento' |trans }}</h2> |
9 | <div class="block box_content round_bottom padding_10"> | 9 | <div class="block box_content round_bottom padding_10"> |
10 | - | ||
11 | <h2 class="">{{ 'Relatório de Faturamento'|trans }}</h2> | 10 | <h2 class="">{{ 'Relatório de Faturamento'|trans }}</h2> |
12 | <h5 class="">{{ 'Período: '|trans }}{{data['dtAcaoInicio']|date("d/m/Y") }} a {{ data['dtAcaoFim']|date("d/m/Y") }}</h5> | 11 | <h5 class="">{{ 'Período: '|trans }}{{data['dtAcaoInicio']|date("d/m/Y") }} a {{ data['dtAcaoFim']|date("d/m/Y") }}</h5> |
13 | <h5>{{ 'Relatório gerado em'|trans }} {% if idioma == 'pt_BR' %}{{ "now"|date("d/m/Y H\\hi") }}{% else %}{{ "now"|date("m/d/Y H\\hi") }}{% endif %}</h5> | 12 | <h5>{{ 'Relatório gerado em'|trans }} {% if idioma == 'pt_BR' %}{{ "now"|date("d/m/Y H\\hi") }}{% else %}{{ "now"|date("m/d/Y H\\hi") }}{% endif %}</h5> |
13 | + <hr /> | ||
14 | 14 | ||
15 | - <hr /> | 15 | + <form id="csv" action="{{ path('cacic_faturamento_csv') }}" method="post"> |
16 | + <button class="btn btn-primary" type="submit"> | ||
17 | + <i class="icon-bar-chart"></i> | ||
18 | + Gerar CSV | ||
19 | + </button> | ||
20 | + </form> | ||
16 | 21 | ||
17 | <form id="faturamento" class="form-horizontal" method="post" > | 22 | <form id="faturamento" class="form-horizontal" method="post" > |
18 | 23 |