diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioCalculoComissaoReceitas_es.properties b/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioCalculoComissaoReceitas_es.properties index 50d3fc71e..ddb7a0255 100644 --- a/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioCalculoComissaoReceitas_es.properties +++ b/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioCalculoComissaoReceitas_es.properties @@ -1,13 +1,13 @@ label.receitas=Receitas label.dia=Dia label.bpr=BPR(+) -label.gap=GAP(+) -label.impGap=Imp. Gap +label.gap=Imp. Pos.(+) +label.impGap=Impr. Imp. Pos. label.internet=Internet (+) label.cancelados=Cancelados(-) -label.cancelGap=Cancel. GAP(-) +label.cancelGap=Cancel. Imp. Pos.(-) label.devolvidos=Devolvidos(-) -label.devGap=Dev. GAP(-) +label.devGap=Dev. Imp. Pos.(-) label.excBagagem=Exc. Bagagem label.segOpcional=Seg. Opcional label.outros=Outros diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioCalculoComissaoReceitas_pt_BR.properties b/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioCalculoComissaoReceitas_pt_BR.properties index 50d3fc71e..ddb7a0255 100644 --- a/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioCalculoComissaoReceitas_pt_BR.properties +++ b/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioCalculoComissaoReceitas_pt_BR.properties @@ -1,13 +1,13 @@ label.receitas=Receitas label.dia=Dia label.bpr=BPR(+) -label.gap=GAP(+) -label.impGap=Imp. Gap +label.gap=Imp. Pos.(+) +label.impGap=Impr. Imp. Pos. label.internet=Internet (+) label.cancelados=Cancelados(-) -label.cancelGap=Cancel. GAP(-) +label.cancelGap=Cancel. Imp. Pos.(-) label.devolvidos=Devolvidos(-) -label.devGap=Dev. GAP(-) +label.devGap=Dev. Imp. Pos.(-) label.excBagagem=Exc. Bagagem label.segOpcional=Seg. Opcional label.outros=Outros diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioReciboComissao_es.properties b/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioReciboComissao_es.properties index bc589ebff..6261b5703 100644 --- a/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioReciboComissao_es.properties +++ b/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioReciboComissao_es.properties @@ -23,4 +23,5 @@ label.receitaBpr=Receita BPR label.devolucoes=Devoluções label.receitaBaseComissao=Receita Base Comissão label.receitaSeguros=Receita Seguros -label.receitaExcBagagens=Receita Exc. Bagagens \ No newline at end of file +label.receitaExcBagagens=Receita Exc. Bagagens +label.receitaImpressaoPosterior=Receita Impressão Posterior \ No newline at end of file diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioReciboComissao_pt_BR.properties b/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioReciboComissao_pt_BR.properties index bc589ebff..6261b5703 100644 --- a/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioReciboComissao_pt_BR.properties +++ b/src/java/com/rjconsultores/ventaboletos/relatorios/internacionalizacao/RelatorioReciboComissao_pt_BR.properties @@ -23,4 +23,5 @@ label.receitaBpr=Receita BPR label.devolucoes=Devoluções label.receitaBaseComissao=Receita Base Comissão label.receitaSeguros=Receita Seguros -label.receitaExcBagagens=Receita Exc. Bagagens \ No newline at end of file +label.receitaExcBagagens=Receita Exc. Bagagens +label.receitaImpressaoPosterior=Receita Impressão Posterior \ No newline at end of file diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioCalculoComissao.jasper b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioCalculoComissao.jasper index c107eb122..044d3ea40 100644 Binary files a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioCalculoComissao.jasper and b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioCalculoComissao.jasper differ diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioCalculoComissao.jrxml b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioCalculoComissao.jrxml index 0a8891bb7..e754473ad 100644 --- a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioCalculoComissao.jrxml +++ b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioCalculoComissao.jrxml @@ -2,7 +2,7 @@ - + @@ -57,61 +57,61 @@ <band height="89" splitType="Stretch"> <textField> - <reportElement x="0" y="0" width="428" height="20" uuid="18c6b84c-7ac6-4dd9-a0c8-8c51ad01fd1d"/> + <reportElement uuid="18c6b84c-7ac6-4dd9-a0c8-8c51ad01fd1d" x="0" y="0" width="428" height="20"/> <textElement verticalAlignment="Middle" markup="none"> <font size="14" isBold="true"/> </textElement> <textFieldExpression><![CDATA[$R{label.calculoComissao}]]></textFieldExpression> </textField> <textField pattern="dd/MM/yyyy HH:mm"> - <reportElement x="824" y="0" width="374" height="20" uuid="08997b69-e04b-4909-bc46-5b12622d7d7a"/> + <reportElement uuid="08997b69-e04b-4909-bc46-5b12622d7d7a" x="824" y="0" width="374" height="20"/> <textElement textAlignment="Right" verticalAlignment="Middle"> <font isBold="true"/> </textElement> <textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression> </textField> <textField> - <reportElement x="74" y="40" width="728" height="23" isPrintWhenDetailOverflows="true" uuid="e367d6ec-e940-4ee5-afe8-2d2a252dfc87"/> + <reportElement uuid="e367d6ec-e940-4ee5-afe8-2d2a252dfc87" x="74" y="40" width="728" height="23" isPrintWhenDetailOverflows="true"/> <textElement verticalAlignment="Middle"> <font size="11"/> </textElement> <textFieldExpression><![CDATA[$P{empresa}]]></textFieldExpression> </textField> <textField> - <reportElement x="0" y="40" width="74" height="23" uuid="0716e36e-256a-4c37-822a-e15643c392ca"/> + <reportElement uuid="0716e36e-256a-4c37-822a-e15643c392ca" x="0" y="40" width="74" height="23"/> <textElement verticalAlignment="Middle" markup="none"> <font size="11" isBold="true"/> </textElement> <textFieldExpression><![CDATA[$R{label.empresa}]]></textFieldExpression> </textField> <textField> - <reportElement x="0" y="63" width="74" height="23" uuid="cd6e34a7-3223-4c54-91ac-d5b30b9aa6a7"/> + <reportElement uuid="cd6e34a7-3223-4c54-91ac-d5b30b9aa6a7" x="0" y="63" width="74" height="23"/> <textElement verticalAlignment="Middle" markup="none"> <font size="11" isBold="true"/> </textElement> <textFieldExpression><![CDATA[$R{label.agencia}]]></textFieldExpression> </textField> <textField> - <reportElement x="74" y="63" width="728" height="23" isPrintWhenDetailOverflows="true" uuid="3564990b-f006-4bcf-8f24-9af8311ef8b2"/> + <reportElement uuid="3564990b-f006-4bcf-8f24-9af8311ef8b2" x="74" y="63" width="728" height="23" isPrintWhenDetailOverflows="true"/> <textElement verticalAlignment="Middle"/> <textFieldExpression><![CDATA[$P{puntoventa}]]></textFieldExpression> </textField> <textField pattern=""> - <reportElement x="74" y="20" width="728" height="20" isPrintWhenDetailOverflows="true" uuid="8a00eb79-8246-4e24-b142-a28c56786b13"/> + <reportElement uuid="8a00eb79-8246-4e24-b142-a28c56786b13" x="74" y="20" width="728" height="20" isPrintWhenDetailOverflows="true"/> <textElement verticalAlignment="Middle"> <font size="11"/> </textElement> <textFieldExpression><![CDATA[$P{competencia} != null ? $P{competencia} : $P{dataInicialEDataFinal}]]></textFieldExpression> </textField> <textField> - <reportElement x="0" y="20" width="74" height="20" uuid="7252e248-1124-4165-bcab-9e91a8ba8e6b"/> + <reportElement uuid="7252e248-1124-4165-bcab-9e91a8ba8e6b" x="0" y="20" width="74" height="20"/> <textElement verticalAlignment="Middle" markup="none"> <font size="11" isBold="true"/> </textElement> <textFieldExpression><![CDATA[$R{label.periodo}]]></textFieldExpression> </textField> <line> - <reportElement x="0" y="86" width="1200" height="1" uuid="4b8a95e1-acc2-4f35-b2a6-835e2a171a4f"/> + <reportElement uuid="4b8a95e1-acc2-4f35-b2a6-835e2a171a4f" x="0" y="86" width="1200" height="1"/> </line> </band> @@ -124,143 +124,143 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -268,42 +268,42 @@ - + - + - + - + - + - + @@ -312,56 +312,56 @@ - + - + - + - + - + - + - + - + - + @@ -371,17 +371,17 @@ - + - + - + diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioCalculoComissaoReceitas.jasper b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioCalculoComissaoReceitas.jasper index fd0485543..661b724e6 100644 Binary files a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioCalculoComissaoReceitas.jasper and b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioCalculoComissaoReceitas.jasper differ diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioCalculoComissaoReceitas.jrxml b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioCalculoComissaoReceitas.jrxml index 248d94c12..c425850f5 100644 --- a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioCalculoComissaoReceitas.jrxml +++ b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioCalculoComissaoReceitas.jrxml @@ -1,7 +1,7 @@ - - + + @@ -91,170 +91,170 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -262,274 +262,274 @@ - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioReciboComissao.jasper b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioReciboComissao.jasper index 10dd1affd..7fb6226e8 100644 Binary files a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioReciboComissao.jasper and b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioReciboComissao.jasper differ diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioReciboComissao.jrxml b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioReciboComissao.jrxml index 6772085ea..abac3bf4c 100644 --- a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioReciboComissao.jrxml +++ b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioReciboComissao.jrxml @@ -1,8 +1,8 @@ - - + + @@ -35,6 +35,7 @@ + @@ -50,38 +51,38 @@ - + - + - + - + - + - + @@ -94,7 +95,7 @@ - + @@ -107,7 +108,7 @@ - + @@ -120,7 +121,7 @@ - + @@ -133,7 +134,7 @@ - + @@ -146,7 +147,7 @@ - + @@ -159,7 +160,7 @@ - + @@ -172,7 +173,7 @@ - + @@ -185,7 +186,7 @@ - + @@ -198,7 +199,7 @@ - + @@ -211,7 +212,7 @@ - + @@ -224,7 +225,7 @@ - + @@ -237,7 +238,7 @@ - + @@ -250,7 +251,7 @@ - + @@ -263,7 +264,7 @@ - + @@ -276,7 +277,7 @@ - + @@ -289,7 +290,7 @@ - + @@ -302,7 +303,7 @@ - + @@ -315,7 +316,7 @@ - + @@ -328,7 +329,7 @@ - + @@ -341,7 +342,7 @@ - + @@ -354,7 +355,7 @@ - + @@ -367,206 +368,206 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -579,7 +580,7 @@ - + @@ -592,7 +593,7 @@ - + @@ -605,7 +606,7 @@ - + @@ -618,7 +619,7 @@ - + @@ -631,7 +632,7 @@ - + @@ -644,7 +645,7 @@ - + @@ -657,7 +658,7 @@ - + @@ -670,7 +671,7 @@ - + @@ -683,7 +684,7 @@ - + @@ -696,7 +697,7 @@ - + @@ -709,7 +710,7 @@ - + @@ -722,7 +723,7 @@ - + @@ -735,7 +736,7 @@ - + @@ -748,7 +749,7 @@ - + @@ -761,7 +762,7 @@ - + @@ -774,7 +775,7 @@ - + @@ -787,7 +788,7 @@ - + @@ -800,7 +801,7 @@ - + @@ -813,7 +814,7 @@ - + @@ -826,7 +827,7 @@ - + @@ -839,7 +840,7 @@ - + @@ -852,14 +853,14 @@ - + - + @@ -872,7 +873,7 @@ - + @@ -885,7 +886,7 @@ - + @@ -898,7 +899,7 @@ - + @@ -911,21 +912,21 @@ - + - + - + @@ -938,7 +939,7 @@ - + @@ -951,7 +952,7 @@ - + @@ -964,7 +965,7 @@ - + @@ -977,7 +978,7 @@ - + @@ -990,7 +991,7 @@ - + @@ -1003,7 +1004,7 @@ - + @@ -1016,7 +1017,7 @@ - + @@ -1029,7 +1030,7 @@ - + @@ -1042,7 +1043,7 @@ - + @@ -1055,7 +1056,7 @@ - + @@ -1068,7 +1069,7 @@ - + @@ -1081,7 +1082,7 @@ - + @@ -1094,7 +1095,7 @@ - + @@ -1107,7 +1108,7 @@ - + @@ -1120,7 +1121,7 @@ - + @@ -1133,7 +1134,7 @@ - + @@ -1146,7 +1147,7 @@ - + @@ -1159,7 +1160,7 @@ - + @@ -1172,7 +1173,7 @@ - + @@ -1185,7 +1186,7 @@ - + @@ -1198,7 +1199,7 @@ - + @@ -1210,6 +1211,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/java/com/rjconsultores/ventaboletos/web/utilerias/menu/item/seguridad/ItemMenuLimparCacheLocalidadesAPI.java b/src/java/com/rjconsultores/ventaboletos/web/utilerias/menu/item/seguridad/ItemMenuLimparCacheLocalidadesAPI.java index 754703531..9691086a6 100644 --- a/src/java/com/rjconsultores/ventaboletos/web/utilerias/menu/item/seguridad/ItemMenuLimparCacheLocalidadesAPI.java +++ b/src/java/com/rjconsultores/ventaboletos/web/utilerias/menu/item/seguridad/ItemMenuLimparCacheLocalidadesAPI.java @@ -6,6 +6,7 @@ import java.util.Date; import javax.xml.bind.DatatypeConverter; import org.apache.commons.lang.StringUtils; +import org.apache.http.HttpResponse; import org.apache.http.auth.UsernamePasswordCredentials; import org.apache.http.client.HttpClient; import org.apache.http.client.methods.HttpGet; @@ -92,7 +93,10 @@ public class ItemMenuLimparCacheLocalidadesAPI extends DefaultItemMenuSistema { try { creds = new UsernamePasswordCredentials("internal", getToken()); request.addHeader(new BasicScheme().authenticate(creds, request)); - client.execute(request); + HttpResponse response = client.execute(request); + if(response != null && response.getStatusLine() != null) { + log.info(String.format(":: Response Status Code %d ::", response.getStatusLine().getStatusCode())); + } } catch (Exception e) { log.error("Ocorreu um erro ao executar a requisição de limpar cache de localidade da API"); }