From 89bde4915bf0733825e766a33e122fd548d505b4 Mon Sep 17 00:00:00 2001 From: gabrielamayoli Date: Tue, 15 Jul 2014 11:33:32 -0300 Subject: [PATCH] Correção na apresentação do CSV no 'faturamento' e 'sem coletas'. E adição do botão para a apresentação do CSV onde é mostrado as máquinas de cada subrede. --- src/Cacic/RelatorioBundle/Resources/views/Faturamento/faturamento.html.twig | 4 ++-- src/Cacic/RelatorioBundle/Resources/views/Faturamento/faturamentoResultado.html.twig | 12 ++++++------ src/Cacic/RelatorioBundle/Resources/views/Faturamento/inativos.html.twig | 7 ++++--- src/Cacic/RelatorioBundle/Resources/views/Faturamento/inativosResultado.html.twig | 17 +++++++++-------- src/Cacic/RelatorioBundle/Resources/views/Faturamento/listar.html.twig | 13 +++++++++++-- src/Cacic/RelatorioBundle/Resources/views/Faturamento/listarInativos.html.twig | 12 ++++++++++-- 6 files changed, 42 insertions(+), 23 deletions(-) diff --git a/src/Cacic/RelatorioBundle/Resources/views/Faturamento/faturamento.html.twig b/src/Cacic/RelatorioBundle/Resources/views/Faturamento/faturamento.html.twig index 14269fe..50c1e1a 100644 --- a/src/Cacic/RelatorioBundle/Resources/views/Faturamento/faturamento.html.twig +++ b/src/Cacic/RelatorioBundle/Resources/views/Faturamento/faturamento.html.twig @@ -53,10 +53,10 @@ {{ 'Gerar relatório'|trans }} - + diff --git a/src/Cacic/RelatorioBundle/Resources/views/Faturamento/faturamentoResultado.html.twig b/src/Cacic/RelatorioBundle/Resources/views/Faturamento/faturamentoResultado.html.twig index 33b5032..165a631 100644 --- a/src/Cacic/RelatorioBundle/Resources/views/Faturamento/faturamentoResultado.html.twig +++ b/src/Cacic/RelatorioBundle/Resources/views/Faturamento/faturamentoResultado.html.twig @@ -12,12 +12,12 @@
{{ '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 %}

-
- -
+ + + + Gerar CSV + +
diff --git a/src/Cacic/RelatorioBundle/Resources/views/Faturamento/inativos.html.twig b/src/Cacic/RelatorioBundle/Resources/views/Faturamento/inativos.html.twig index e173afa..9897aa9 100755 --- a/src/Cacic/RelatorioBundle/Resources/views/Faturamento/inativos.html.twig +++ b/src/Cacic/RelatorioBundle/Resources/views/Faturamento/inativos.html.twig @@ -55,10 +55,11 @@ {{ 'Gerar relatório'|trans }} - + + diff --git a/src/Cacic/RelatorioBundle/Resources/views/Faturamento/inativosResultado.html.twig b/src/Cacic/RelatorioBundle/Resources/views/Faturamento/inativosResultado.html.twig index 231b759..df2b855 100755 --- a/src/Cacic/RelatorioBundle/Resources/views/Faturamento/inativosResultado.html.twig +++ b/src/Cacic/RelatorioBundle/Resources/views/Faturamento/inativosResultado.html.twig @@ -8,12 +8,17 @@

{{'Total de estações sem coletas' |trans }}

-

{{ 'Relatório com total de máquinas sem Coletas por subredes'|trans }}

-
{{ '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 %}
+

{{ 'Relatório com total de máquinas sem coletas por subredes'|trans }}

{{ 'Período: '|trans }}{{data['dtAcaoInicio']|date("d/m/Y") }} a {{ data['dtAcaoFim']|date("d/m/Y") }}
+
{{ '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 %}

- + + + + Gerar CSV + + @@ -25,11 +30,7 @@ {{ "Subrede"|trans }} {{ "Endereço IP"|trans }} {{ "Estações"|trans }} - - - - - + diff --git a/src/Cacic/RelatorioBundle/Resources/views/Faturamento/listar.html.twig b/src/Cacic/RelatorioBundle/Resources/views/Faturamento/listar.html.twig index b20950a..5001482 100755 --- a/src/Cacic/RelatorioBundle/Resources/views/Faturamento/listar.html.twig +++ b/src/Cacic/RelatorioBundle/Resources/views/Faturamento/listar.html.twig @@ -3,10 +3,17 @@ {% block body %}

{{ 'Relatório de máquinas da subrede '|trans }} {{ rede }}

-
{{ '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 %}
+
{{ 'Relatório gerado em'|trans }} {% if idioma == 'pt_BR' %}{{ "now"|date("d/m/Y H\\hi") }}{% else %}{{ "now"|date("d/m/Y H\\hi") }}{% endif %}

+ + + + Gerar CSV + + + @@ -22,7 +29,8 @@ - {% for reg in dados %} + + {% for reg in dados %} {% endfor %} +
{{ loop.index }} @@ -40,6 +48,7 @@ {{ "NENHUM REGISTRO ENCONTRADO!"|trans }}
diff --git a/src/Cacic/RelatorioBundle/Resources/views/Faturamento/listarInativos.html.twig b/src/Cacic/RelatorioBundle/Resources/views/Faturamento/listarInativos.html.twig index cb56fdc..cef7dd4 100755 --- a/src/Cacic/RelatorioBundle/Resources/views/Faturamento/listarInativos.html.twig +++ b/src/Cacic/RelatorioBundle/Resources/views/Faturamento/listarInativos.html.twig @@ -2,15 +2,22 @@ {% block body %} -

{{ 'Relatório de máquinas da subrede '|trans }} {{ rede }}

+

{{ 'Relatório de máquinas sem coletas da subrede '|trans }} {{ rede }}

{{ '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 %}

+ + + + Gerar CSV + + + - + @@ -32,6 +39,7 @@ + {% else %} -- libgit2 0.21.2
{{ "Computador"|trans }} {{ "MAC Address"|trans }} {{ "Endereço IP"|trans }}{{ reg.sgSo }} {{ reg.nmLocal }} {{ reg.nmRede }} / {{ reg.teIpRede }}