fixes bug#AL_2302

master
aristides@rjconsultores.com.br 2023-05-16 16:12:45 -03:00
commit 7af7bd9153
18 changed files with 2934 additions and 2549 deletions

View File

@ -1,19 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<psf version="2.0">
<provider id="org.eclipse.egit.core.GitProvider">
<project reference="1.0,http://18.235.188.113:3000/utilidades/Auditador.git,master,."/>
<project reference="1.0,http://18.235.188.113:3000/utilidades/Flyway.git,master,."/>
<project reference="1.0,http://18.235.188.113:3000/utilidades/GeneradorBoletosCNAB.git,master,."/>
<project reference="1.0,http://18.235.188.113:3000/adm/IntegracaoReceitaDespesa.git,master,."/>
<project reference="1.0,http://18.235.188.113:3000/adm/ModelWeb.git,master,."/>
<project reference="1.0,http://18.235.188.113:3000/adm/VentaBoletosAdm.git,master,."/>
</provider>
<workingSets editPageId="org.eclipse.ui.resourceWorkingSetPage" id="1665504816611_3" label="Adm" name="Adm">
<item factoryID="org.eclipse.ui.internal.model.ResourceFactory" path="/Auditador" type="4"/>
<item factoryID="org.eclipse.ui.internal.model.ResourceFactory" path="/Flyway" type="4"/>
<item factoryID="org.eclipse.ui.internal.model.ResourceFactory" path="/GeneradorBoletosCNAB" type="4"/>
<item factoryID="org.eclipse.ui.internal.model.ResourceFactory" path="/IntegracaoReceitaDespesa" type="4"/>
<item factoryID="org.eclipse.ui.internal.model.ResourceFactory" path="/ModelWeb" type="4"/>
<item factoryID="org.eclipse.ui.internal.model.ResourceFactory" path="/VentaBoletosAdm" type="4"/>
</workingSets>
</psf>

View File

@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>br.com.rjconsultores</groupId> <groupId>br.com.rjconsultores</groupId>
<artifactId>ventaboletosadm</artifactId> <artifactId>ventaboletosadm</artifactId>
<version>1.4.6</version> <version>1.5.1</version>
<packaging>war</packaging> <packaging>war</packaging>
<properties> <properties>

View File

@ -107,7 +107,7 @@ public class RelatorioAgenciaFechamentoNovo extends Relatorio {
valorSeguro = valorSeguro.add(rset2.getBigDecimal("valorSeguro")); valorSeguro = valorSeguro.add(rset2.getBigDecimal("valorSeguro"));
valorExcesso = valorExcesso.add(rset2.getBigDecimal("valorExcesso")); valorExcesso = valorExcesso.add(rset2.getBigDecimal("valorExcesso"));
difMaior = valorExcesso.add(rset2.getBigDecimal("difMaior")); difMaior = difMaior.add(rset2.getBigDecimal("difMaior"));
} }
@ -122,7 +122,6 @@ public class RelatorioAgenciaFechamentoNovo extends Relatorio {
total = total.add(rset1.getBigDecimal("valorInternet")); total = total.add(rset1.getBigDecimal("valorInternet"));
total = total.add(difMaior); total = total.add(difMaior);
total = total.subtract(rset1.getBigDecimal("valorEstornado")); total = total.subtract(rset1.getBigDecimal("valorEstornado"));
total = total.subtract(rset1.getBigDecimal("valorOCD")); total = total.subtract(rset1.getBigDecimal("valorOCD"));
@ -282,16 +281,16 @@ public class RelatorioAgenciaFechamentoNovo extends Relatorio {
sql.append(" ON m.marca_id = c.marca_id "); sql.append(" ON m.marca_id = c.marca_id ");
sql.append(" INNER JOIN EMPRESA e "); sql.append(" INNER JOIN EMPRESA e ");
sql.append(" ON e.EMPRESA_ID = m.EMPRESA_ID "); sql.append(" ON e.EMPRESA_ID = m.EMPRESA_ID ");
sql.append(" INNER JOIN BOLETO b ON b.BOLETO_ID = c.TRANSACAO_ID "); sql.append(" INNER JOIN BOLETO b ON b.BOLETO_ID = c.TRANSACAO_ID ");
sql.append(" LEFT JOIN OCD o "); sql.append(" LEFT JOIN OCD o ");
sql.append(" ON c.TRANSACAOANTERIOR_ID = o.BOLETO_ID "); sql.append(" ON c.TRANSACAOANTERIOR_ID = o.BOLETO_ID AND O.INDPAGO = 1");
sql.append(" WHERE c.TURNO_ID IS NOT NULL "); sql.append(" WHERE c.TURNO_ID IS NOT NULL ");
sql.append(" AND c.FECCORTE BETWEEN :de AND :ate "); sql.append(" AND c.FECCORTE BETWEEN :de AND :ate ");
if (puntoVenta != null && !puntoVenta.equals("-1")) { if (puntoVenta != null && !puntoVenta.equals("-1")) {
sql.append(" AND c.PUNTOVENTA_ID in (" + puntoVenta + ") "); sql.append(" AND c.PUNTOVENTA_ID in (" + puntoVenta + ") ");
} }
sql.append(" AND c.TIPOVENTA_ID <> 6 "); sql.append(" AND c.TIPOVENTA_ID <> 6 ");
//sql.append(" AND c.INDREIMPRESION = 0 "); sql.append(" AND c.INDREIMPRESION = 0 ");
if (empresa != null && !empresa.equals("") && !empresa.equals("-1")) { if (empresa != null && !empresa.equals("") && !empresa.equals("-1")) {
sql.append(" AND m.empresa_id = "+empresa+" "); sql.append(" AND m.empresa_id = "+empresa+" ");
} }
@ -301,7 +300,7 @@ public class RelatorioAgenciaFechamentoNovo extends Relatorio {
sql.append(" GROUP BY pv.PUNTOVENTA_ID, pv.nombpuntoventa, o.boleto_id "); sql.append(" GROUP BY pv.PUNTOVENTA_ID, pv.nombpuntoventa, o.boleto_id ");
sql.append(" ORDER BY pv.nombpuntoventa "); sql.append(" ORDER BY pv.nombpuntoventa ");
sql.append(") GROUP BY codigo, descricao "); sql.append(") GROUP BY codigo, descricao ");
return sql.toString(); return sql.toString();
} }

View File

@ -1,5 +1,6 @@
#Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/) #Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/)
#geral #geral
msg.noData=No se pudo obtener datos con los par\u00E1metros reportados.
detail.agencia=AG\u00CANCIA detail.agencia=AG\u00CANCIA
detail.qtdbilhete=Cant. Boleto de entrada detail.qtdbilhete=Cant. Boleto de entrada
@ -22,6 +23,7 @@ detail.valorseguro=Entrada de valor de seguro
detail.valorvch=Valor de VCH de entrada detail.valorvch=Valor de VCH de entrada
detail.valorOCD=Dev. OCD detail.valorOCD=Dev. OCD
detail.difMaior=Dif. Maior detail.difMaior=Dif. Maior
detail.totalGeral=Total Geral
detail.total=Total detail.total=Total
header.anulado=Anulados header.anulado=Anulados
@ -40,4 +42,4 @@ header.vendido=Vendido
linhas=Líneas linhas=Líneas
msg.a=a msg.a=a
msg.noData=No se pudo obtener datos con los par\u00E1metros reportados.

View File

@ -1,5 +1,6 @@
#Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/) #Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/)
#geral #geral
msg.noData=Não foi possivel obter dados com os parâmetros informados.
detail.agencia=AG\u00CANCIA detail.agencia=AG\u00CANCIA
detail.qtdbilhete=Qtd. Bilhete Entrada detail.qtdbilhete=Qtd. Bilhete Entrada
@ -22,6 +23,7 @@ detail.valorseguro=Valor Seguro Entrada
detail.valorvch=Valor VCH Entrada detail.valorvch=Valor VCH Entrada
detail.valorOCD=Dev. OCD detail.valorOCD=Dev. OCD
detail.difMaior=Dif. Maior detail.difMaior=Dif. Maior
detail.totalGeral=Total Geral
detail.total=Total detail.total=Total
header.anulado=Anulados header.anulado=Anulados
@ -38,6 +40,3 @@ header.total=Total
header.vendido=Vendido header.vendido=Vendido
linhas=Linhas linhas=Linhas
msg.a=a
msg.noData=No se pudo obtener datos con los par\u00E1metros reportados.

View File

@ -153,7 +153,7 @@
</band> </band>
</pageHeader> </pageHeader>
<columnHeader> <columnHeader>
<band height="20" splitType="Stretch"> <band height="23" splitType="Stretch">
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="7965e761-2e24-4f17-84eb-9431c98ce72c" positionType="FixRelativeToBottom" x="85" y="0" width="45" height="20"/> <reportElement uuid="7965e761-2e24-4f17-84eb-9431c98ce72c" positionType="FixRelativeToBottom" x="85" y="0" width="45" height="20"/>
<textElement textAlignment="Center" verticalAlignment="Bottom" markup="none"> <textElement textAlignment="Center" verticalAlignment="Bottom" markup="none">
@ -162,14 +162,14 @@
<textFieldExpression><![CDATA[$R{detail.valorbilhete}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{detail.valorbilhete}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="ab6b6770-67e8-4224-9304-8de30d3c1384" positionType="FixRelativeToBottom" mode="Transparent" x="220" y="0" width="45" height="20"/> <reportElement uuid="ab6b6770-67e8-4224-9304-8de30d3c1384" positionType="FixRelativeToBottom" mode="Transparent" x="221" y="0" width="43" height="20"/>
<textElement textAlignment="Center" verticalAlignment="Bottom" markup="none"> <textElement textAlignment="Center" verticalAlignment="Bottom" markup="none">
<font size="6" isBold="true"/> <font size="6" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$R{detail.qtdexcesso}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{detail.qtdexcesso}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="e3f4df4e-24a9-45b3-8ac3-f8b66d46a15f" positionType="FixRelativeToBottom" mode="Transparent" x="265" y="0" width="45" height="20"/> <reportElement uuid="e3f4df4e-24a9-45b3-8ac3-f8b66d46a15f" positionType="FixRelativeToBottom" mode="Transparent" x="266" y="0" width="43" height="20"/>
<textElement textAlignment="Center" verticalAlignment="Bottom" markup="none"> <textElement textAlignment="Center" verticalAlignment="Bottom" markup="none">
<font size="6" isBold="true"/> <font size="6" isBold="true"/>
</textElement> </textElement>
@ -183,21 +183,21 @@
<textFieldExpression><![CDATA[$R{detail.qtdseguro}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{detail.qtdseguro}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="746627ad-15b0-4435-93ce-6d370b75e594" positionType="FixRelativeToBottom" mode="Transparent" x="355" y="0" width="45" height="20"/> <reportElement uuid="746627ad-15b0-4435-93ce-6d370b75e594" positionType="FixRelativeToBottom" mode="Transparent" x="356" y="0" width="43" height="20"/>
<textElement textAlignment="Center" verticalAlignment="Bottom" markup="none"> <textElement textAlignment="Center" verticalAlignment="Bottom" markup="none">
<font size="6" isBold="true"/> <font size="6" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$R{detail.valorvch}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{detail.valorvch}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="3647e647-81bb-4098-afce-52d942daa341" positionType="FixRelativeToBottom" mode="Transparent" x="445" y="0" width="45" height="20"/> <reportElement uuid="3647e647-81bb-4098-afce-52d942daa341" positionType="FixRelativeToBottom" mode="Transparent" x="446" y="0" width="44" height="20"/>
<textElement textAlignment="Center" verticalAlignment="Bottom" markup="none"> <textElement textAlignment="Center" verticalAlignment="Bottom" markup="none">
<font size="6" isBold="true"/> <font size="6" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$R{detail.valorinternet}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{detail.valorinternet}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="328a6678-fc02-4845-98e6-a3d3bfaa2c73" positionType="FixRelativeToBottom" mode="Transparent" x="490" y="0" width="45" height="20"/> <reportElement uuid="328a6678-fc02-4845-98e6-a3d3bfaa2c73" positionType="FixRelativeToBottom" mode="Transparent" x="491" y="0" width="44" height="20"/>
<textElement textAlignment="Center" verticalAlignment="Bottom" markup="none"> <textElement textAlignment="Center" verticalAlignment="Bottom" markup="none">
<font size="6" isBold="true"/> <font size="6" isBold="true"/>
</textElement> </textElement>
@ -211,14 +211,14 @@
<textFieldExpression><![CDATA[$R{detail.valorestornados}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{detail.valorestornados}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="a7c28fc6-e4fc-431b-b5ba-b001a36dcb54" positionType="FixRelativeToBottom" mode="Transparent" x="671" y="0" width="45" height="20"/> <reportElement uuid="a7c28fc6-e4fc-431b-b5ba-b001a36dcb54" positionType="FixRelativeToBottom" mode="Transparent" x="672" y="0" width="43" height="20"/>
<textElement textAlignment="Center" verticalAlignment="Bottom" markup="none"> <textElement textAlignment="Center" verticalAlignment="Bottom" markup="none">
<font size="6" isBold="true"/> <font size="6" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$R{detail.qtdestornados}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{detail.qtdestornados}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="bbaa5f53-76e0-491e-9145-e522122709e5" positionType="FixRelativeToBottom" x="130" y="0" width="45" height="20"/> <reportElement uuid="bbaa5f53-76e0-491e-9145-e522122709e5" positionType="FixRelativeToBottom" x="131" y="0" width="44" height="20"/>
<textElement textAlignment="Center" verticalAlignment="Bottom" markup="none"> <textElement textAlignment="Center" verticalAlignment="Bottom" markup="none">
<font size="6" isBold="true"/> <font size="6" isBold="true"/>
</textElement> </textElement>
@ -246,28 +246,28 @@
<textFieldExpression><![CDATA[$R{detail.valorcancelados}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{detail.valorcancelados}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="959d61e9-4311-4fab-8ead-da9c65f00be3" positionType="FixRelativeToBottom" mode="Transparent" x="580" y="0" width="45" height="20"/> <reportElement uuid="959d61e9-4311-4fab-8ead-da9c65f00be3" positionType="FixRelativeToBottom" mode="Transparent" x="581" y="0" width="44" height="20"/>
<textElement textAlignment="Center" verticalAlignment="Bottom" markup="none"> <textElement textAlignment="Center" verticalAlignment="Bottom" markup="none">
<font size="6" isBold="true"/> <font size="6" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$R{detail.qtdcancelados}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{detail.qtdcancelados}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="2cbc8ddc-38e5-4914-8189-5761ddeb2ce9" positionType="FixRelativeToBottom" x="0" y="0" width="85" height="20"/> <reportElement uuid="2cbc8ddc-38e5-4914-8189-5761ddeb2ce9" positionType="FixRelativeToBottom" x="1" y="0" width="83" height="20"/>
<textElement textAlignment="Center" verticalAlignment="Bottom" markup="none"> <textElement textAlignment="Center" verticalAlignment="Bottom" markup="none">
<font size="6" isBold="true"/> <font size="6" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$R{detail.agencia}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{detail.agencia}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="fdd01abd-5110-406e-bf87-7e7f693d0f86" positionType="FixRelativeToBottom" mode="Transparent" x="716" y="0" width="45" height="20"/> <reportElement uuid="fdd01abd-5110-406e-bf87-7e7f693d0f86" positionType="FixRelativeToBottom" mode="Transparent" x="717" y="0" width="43" height="20"/>
<textElement textAlignment="Center" verticalAlignment="Bottom" markup="none"> <textElement textAlignment="Center" verticalAlignment="Bottom" markup="none">
<font size="6" isBold="true"/> <font size="6" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$R{detail.valorOCD}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{detail.valorOCD}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="cf9e9207-6011-4624-85b1-433667905c47" positionType="FixRelativeToBottom" mode="Transparent" x="806" y="0" width="52" height="20"/> <reportElement uuid="cf9e9207-6011-4624-85b1-433667905c47" positionType="FixRelativeToBottom" mode="Transparent" x="807" y="0" width="49" height="20"/>
<textElement textAlignment="Center" verticalAlignment="Bottom" markup="none"> <textElement textAlignment="Center" verticalAlignment="Bottom" markup="none">
<font size="6" isBold="true"/> <font size="6" isBold="true"/>
</textElement> </textElement>
@ -283,128 +283,128 @@
</band> </band>
</columnHeader> </columnHeader>
<detail> <detail>
<band height="15" splitType="Stretch"> <band height="16" splitType="Stretch">
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="617806c3-5059-4e8b-9cb3-5b2bd10e4705" stretchType="RelativeToTallestObject" mode="Transparent" x="581" y="0" width="45" height="14" isPrintWhenDetailOverflows="true"/> <reportElement uuid="617806c3-5059-4e8b-9cb3-5b2bd10e4705" stretchType="RelativeToTallestObject" mode="Transparent" x="581" y="1" width="44" height="14" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Center" verticalAlignment="Top" markup="none"> <textElement textAlignment="Center" verticalAlignment="Top" markup="none">
<font size="6" isBold="false"/> <font size="6" isBold="false"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{qtdCancelado}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{qtdCancelado}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="6562d46b-27f9-4bef-a471-8eff982378c5" stretchType="RelativeToTallestObject" mode="Transparent" x="626" y="0" width="45" height="14" isPrintWhenDetailOverflows="true"/> <reportElement uuid="6562d46b-27f9-4bef-a471-8eff982378c5" stretchType="RelativeToTallestObject" mode="Transparent" x="626" y="1" width="45" height="14" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Center" verticalAlignment="Top" markup="none"> <textElement textAlignment="Center" verticalAlignment="Top" markup="none">
<font size="6" isBold="false"/> <font size="6" isBold="false"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{valorEstornado}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{valorEstornado}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="false"> <textField isStretchWithOverflow="true" isBlankWhenNull="false">
<reportElement uuid="16f536ed-9001-4b34-85f4-a01198390b7d" stretchType="RelativeToTallestObject" x="0" y="0" width="85" height="14" isPrintWhenDetailOverflows="true"/> <reportElement uuid="16f536ed-9001-4b34-85f4-a01198390b7d" stretchType="RelativeToTallestObject" x="1" y="1" width="83" height="14" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Center" verticalAlignment="Top" markup="none"> <textElement textAlignment="Center" verticalAlignment="Top" markup="none">
<font size="6" isBold="false"/> <font size="6" isBold="false"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{descricao}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{descricao}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="33d170a8-cd4c-4148-85b7-48a078e68f7d" stretchType="RelativeToTallestObject" mode="Transparent" x="671" y="0" width="45" height="14" isPrintWhenDetailOverflows="true"/> <reportElement uuid="33d170a8-cd4c-4148-85b7-48a078e68f7d" stretchType="RelativeToTallestObject" mode="Transparent" x="672" y="1" width="43" height="14" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Center" verticalAlignment="Top" markup="none"> <textElement textAlignment="Center" verticalAlignment="Top" markup="none">
<font size="6" isBold="false"/> <font size="6" isBold="false"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{qtdEstornado}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{qtdEstornado}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="784343f8-f7aa-4997-82e7-312878bd9a27" stretchType="RelativeToTallestObject" mode="Transparent" x="400" y="0" width="45" height="14" isPrintWhenDetailOverflows="true"/> <reportElement uuid="784343f8-f7aa-4997-82e7-312878bd9a27" stretchType="RelativeToTallestObject" mode="Transparent" x="400" y="1" width="45" height="14" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Center" verticalAlignment="Top" markup="none"> <textElement textAlignment="Center" verticalAlignment="Top" markup="none">
<font size="6" isBold="false"/> <font size="6" isBold="false"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{qtdVch}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{qtdVch}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="ad46494b-0240-46d1-a775-f91f0035d7f8" stretchType="RelativeToTallestObject" x="85" y="0" width="45" height="14" isPrintWhenDetailOverflows="true"/> <reportElement uuid="ad46494b-0240-46d1-a775-f91f0035d7f8" stretchType="RelativeToTallestObject" x="85" y="1" width="45" height="14" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Center" verticalAlignment="Top" markup="none"> <textElement textAlignment="Center" verticalAlignment="Top" markup="none">
<font size="6" isBold="false"/> <font size="6" isBold="false"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{valorBilhete}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{valorBilhete}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="0ed9578b-73d5-4f51-b21c-07d9419bbc08" stretchType="RelativeToTallestObject" mode="Transparent" x="265" y="0" width="45" height="14" isPrintWhenDetailOverflows="true"/> <reportElement uuid="0ed9578b-73d5-4f51-b21c-07d9419bbc08" stretchType="RelativeToTallestObject" mode="Transparent" x="266" y="1" width="43" height="14" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Center" verticalAlignment="Top" markup="none"> <textElement textAlignment="Center" verticalAlignment="Top" markup="none">
<font size="6" isBold="false"/> <font size="6" isBold="false"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{valorSeguro}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{valorSeguro}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="1ed844e5-7aa4-49ee-8024-765e5ae49f74" stretchType="RelativeToTallestObject" x="130" y="0" width="45" height="14" isPrintWhenDetailOverflows="true"/> <reportElement uuid="1ed844e5-7aa4-49ee-8024-765e5ae49f74" stretchType="RelativeToTallestObject" x="131" y="1" width="44" height="14" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Center" verticalAlignment="Top" markup="none"> <textElement textAlignment="Center" verticalAlignment="Top" markup="none">
<font size="6" isBold="false"/> <font size="6" isBold="false"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{qtdBilhete}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{qtdBilhete}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="92017408-1781-4e17-90b7-5ff86457cf6d" stretchType="RelativeToTallestObject" mode="Transparent" x="310" y="0" width="45" height="14" isPrintWhenDetailOverflows="true"/> <reportElement uuid="92017408-1781-4e17-90b7-5ff86457cf6d" stretchType="RelativeToTallestObject" mode="Transparent" x="310" y="1" width="45" height="14" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Center" verticalAlignment="Top" markup="none"> <textElement textAlignment="Center" verticalAlignment="Top" markup="none">
<font size="6" isBold="false"/> <font size="6" isBold="false"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{qtdSeguro}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{qtdSeguro}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="b7842ed3-aa20-4fe9-996a-c8397aa66c40" stretchType="RelativeToTallestObject" mode="Transparent" x="445" y="0" width="45" height="14" isPrintWhenDetailOverflows="true"/> <reportElement uuid="b7842ed3-aa20-4fe9-996a-c8397aa66c40" stretchType="RelativeToTallestObject" mode="Transparent" x="446" y="1" width="44" height="14" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Center" verticalAlignment="Top" markup="none"> <textElement textAlignment="Center" verticalAlignment="Top" markup="none">
<font size="6" isBold="false"/> <font size="6" isBold="false"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{valorInternet}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{valorInternet}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="36f5d507-0340-4c7e-b44b-5057c1e8bee6" stretchType="RelativeToTallestObject" mode="Transparent" x="355" y="0" width="45" height="14" isPrintWhenDetailOverflows="true"/> <reportElement uuid="36f5d507-0340-4c7e-b44b-5057c1e8bee6" stretchType="RelativeToTallestObject" mode="Transparent" x="356" y="1" width="43" height="14" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Center" verticalAlignment="Top" markup="none"> <textElement textAlignment="Center" verticalAlignment="Top" markup="none">
<font size="6" isBold="false"/> <font size="6" isBold="false"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{valorVch}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{valorVch}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="c24531bc-66b7-459b-9c60-07bea18e98d9" stretchType="RelativeToTallestObject" mode="Transparent" x="490" y="0" width="45" height="14" isPrintWhenDetailOverflows="true"/> <reportElement uuid="c24531bc-66b7-459b-9c60-07bea18e98d9" stretchType="RelativeToTallestObject" mode="Transparent" x="491" y="1" width="44" height="14" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Center" verticalAlignment="Top" markup="none"> <textElement textAlignment="Center" verticalAlignment="Top" markup="none">
<font size="6" isBold="false"/> <font size="6" isBold="false"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{qtdInternet}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{qtdInternet}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="e2ad1400-e2c6-48b0-98c8-812d3c8f008d" stretchType="RelativeToTallestObject" mode="Transparent" x="535" y="0" width="45" height="14" isPrintWhenDetailOverflows="true"/> <reportElement uuid="e2ad1400-e2c6-48b0-98c8-812d3c8f008d" stretchType="RelativeToTallestObject" mode="Transparent" x="535" y="1" width="45" height="14" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Center" verticalAlignment="Top" markup="none"> <textElement textAlignment="Center" verticalAlignment="Top" markup="none">
<font size="6" isBold="false"/> <font size="6" isBold="false"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{valorCancelado}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{valorCancelado}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="7f08e540-2cf9-4da3-b40a-fb7d5275751f" stretchType="RelativeToTallestObject" mode="Transparent" x="220" y="0" width="45" height="14" isPrintWhenDetailOverflows="true"/> <reportElement uuid="7f08e540-2cf9-4da3-b40a-fb7d5275751f" stretchType="RelativeToTallestObject" mode="Transparent" x="221" y="1" width="43" height="14" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Center" verticalAlignment="Top" markup="none"> <textElement textAlignment="Center" verticalAlignment="Top" markup="none">
<font size="6" isBold="false"/> <font size="6" isBold="false"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{qtdExcesso}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{qtdExcesso}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="16c5bcd4-ac1c-4c49-b065-5794fb9c2e32" stretchType="RelativeToTallestObject" mode="Transparent" x="175" y="0" width="45" height="14" isPrintWhenDetailOverflows="true"/> <reportElement uuid="16c5bcd4-ac1c-4c49-b065-5794fb9c2e32" stretchType="RelativeToTallestObject" mode="Transparent" x="175" y="1" width="45" height="14" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Center" verticalAlignment="Top" markup="none"> <textElement textAlignment="Center" verticalAlignment="Top" markup="none">
<font size="6" isBold="false"/> <font size="6" isBold="false"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{valorExcesso}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{valorExcesso}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="1aced1dd-e8d4-423f-91b9-d38720975e40" stretchType="RelativeToTallestObject" x="716" y="0" width="45" height="14" isPrintWhenDetailOverflows="true"/> <reportElement uuid="1aced1dd-e8d4-423f-91b9-d38720975e40" stretchType="RelativeToTallestObject" x="717" y="1" width="43" height="14" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Center"> <textElement textAlignment="Center">
<font size="6"/> <font size="6"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{valorOCD}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{valorOCD}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="e261ef85-8d34-4708-85a5-8bed85b54785" stretchType="RelativeToTallestObject" x="761" y="0" width="45" height="14" isPrintWhenDetailOverflows="true"/> <reportElement uuid="e261ef85-8d34-4708-85a5-8bed85b54785" stretchType="RelativeToTallestObject" x="761" y="1" width="45" height="14" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Center"> <textElement textAlignment="Center">
<font size="6"/> <font size="6"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{difMaior}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{difMaior}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="2171d4cc-9c99-41f1-afb1-56783f6acd83" stretchType="RelativeToTallestObject" x="806" y="0" width="52" height="14" isPrintWhenDetailOverflows="true"/> <reportElement uuid="2171d4cc-9c99-41f1-afb1-56783f6acd83" stretchType="RelativeToTallestObject" x="807" y="1" width="49" height="14" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Center"> <textElement textAlignment="Center">
<font size="6"/> <font size="6"/>
</textElement> </textElement>
@ -412,147 +412,136 @@
</textField> </textField>
</band> </band>
</detail> </detail>
<lastPageFooter> <summary>
<band height="20"> <band height="20">
<line>
<reportElement uuid="1653e342-87ec-40f2-94ad-5d27b1020c3a" mode="Transparent" x="0" y="0" width="857" height="1"/>
</line>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="f0f7fc52-26be-4c51-8c78-3c55375be4aa" stretchType="RelativeToTallestObject" x="0" y="3" width="85" height="14"/> <reportElement uuid="5c65a20a-c9d5-4a90-99bc-a388aeaf3b9a" stretchType="RelativeToTallestObject" x="85" y="1" width="45" height="17" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Right" markup="none">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$R{detail.totalGeral}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="5c65a20a-c9d5-4a90-99bc-a388aeaf3b9a" stretchType="RelativeToTallestObject" x="85" y="0" width="45" height="17" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Center" verticalAlignment="Top" markup="none"> <textElement textAlignment="Center" verticalAlignment="Top" markup="none">
<font size="6" isBold="false"/> <font size="6" isBold="false"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$V{sum.valorBilhete}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{sum.valorBilhete}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="dfae2822-460b-4e81-be01-a176d7a2aac7" stretchType="RelativeToTallestObject" mode="Transparent" x="490" y="2" width="45" height="17" isPrintWhenDetailOverflows="true"/> <reportElement uuid="dfae2822-460b-4e81-be01-a176d7a2aac7" stretchType="RelativeToTallestObject" mode="Transparent" x="491" y="1" width="44" height="17" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Center" verticalAlignment="Top" markup="none"> <textElement textAlignment="Center" verticalAlignment="Top" markup="none">
<font size="6" isBold="false"/> <font size="6" isBold="false"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$V{sum.qtdInternet}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{sum.qtdInternet}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="c96675e1-9572-4ab1-9f83-6ec7a6ce6692" stretchType="RelativeToTallestObject" mode="Transparent" x="265" y="2" width="45" height="17" isPrintWhenDetailOverflows="true"/> <reportElement uuid="c96675e1-9572-4ab1-9f83-6ec7a6ce6692" stretchType="RelativeToTallestObject" mode="Transparent" x="266" y="1" width="43" height="17" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Center" verticalAlignment="Top" markup="none"> <textElement textAlignment="Center" verticalAlignment="Top" markup="none">
<font size="6" isBold="false"/> <font size="6" isBold="false"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$V{sum.valorSeguro}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{sum.valorSeguro}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="31a240a5-8c29-4293-a2e3-844b2ca695ef" stretchType="RelativeToTallestObject" mode="Transparent" x="400" y="2" width="45" height="17" isPrintWhenDetailOverflows="true"/> <reportElement uuid="31a240a5-8c29-4293-a2e3-844b2ca695ef" stretchType="RelativeToTallestObject" mode="Transparent" x="400" y="1" width="45" height="17" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Center" verticalAlignment="Top" markup="none"> <textElement textAlignment="Center" verticalAlignment="Top" markup="none">
<font size="6" isBold="false"/> <font size="6" isBold="false"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$V{sum.qtdVch}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{sum.qtdVch}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="91c51dac-2f23-40a3-beca-81d43577e200" stretchType="RelativeToTallestObject" mode="Transparent" x="626" y="2" width="45" height="17" isPrintWhenDetailOverflows="true"/> <reportElement uuid="91c51dac-2f23-40a3-beca-81d43577e200" stretchType="RelativeToTallestObject" mode="Transparent" x="626" y="1" width="45" height="17" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Center" verticalAlignment="Top" markup="none"> <textElement textAlignment="Center" verticalAlignment="Top" markup="none">
<font size="6" isBold="false"/> <font size="6" isBold="false"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$V{sum.valorEstornado}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{sum.valorEstornado}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="6035409c-38a6-4809-8e25-df5d9fe77cf4" stretchType="RelativeToTallestObject" mode="Transparent" x="355" y="2" width="45" height="17" isPrintWhenDetailOverflows="true"/> <reportElement uuid="6035409c-38a6-4809-8e25-df5d9fe77cf4" stretchType="RelativeToTallestObject" mode="Transparent" x="356" y="1" width="43" height="17" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Center" verticalAlignment="Top" markup="none"> <textElement textAlignment="Center" verticalAlignment="Top" markup="none">
<font size="6" isBold="false"/> <font size="6" isBold="false"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$V{sum.valorVch}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{sum.valorVch}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="a9096947-664a-4340-a0d9-93872e846918" stretchType="RelativeToTallestObject" mode="Transparent" x="445" y="2" width="45" height="17" isPrintWhenDetailOverflows="true"/> <reportElement uuid="a9096947-664a-4340-a0d9-93872e846918" stretchType="RelativeToTallestObject" mode="Transparent" x="446" y="1" width="44" height="17" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Center" verticalAlignment="Top" markup="none"> <textElement textAlignment="Center" verticalAlignment="Top" markup="none">
<font size="6" isBold="false"/> <font size="6" isBold="false"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$V{sum.valorInternet}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{sum.valorInternet}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="1e646b2f-f00a-47aa-84f2-50f886028a22" stretchType="RelativeToTallestObject" mode="Transparent" x="310" y="2" width="45" height="17" isPrintWhenDetailOverflows="true"/> <reportElement uuid="1e646b2f-f00a-47aa-84f2-50f886028a22" stretchType="RelativeToTallestObject" mode="Transparent" x="310" y="1" width="45" height="17" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Center" verticalAlignment="Top" markup="none"> <textElement textAlignment="Center" verticalAlignment="Top" markup="none">
<font size="6" isBold="false"/> <font size="6" isBold="false"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$V{sum.qtdSeguro}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{sum.qtdSeguro}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="3070f702-c0c4-41fc-8afc-79d25df8f645" stretchType="RelativeToTallestObject" mode="Transparent" x="581" y="2" width="45" height="17" isPrintWhenDetailOverflows="true"/> <reportElement uuid="3070f702-c0c4-41fc-8afc-79d25df8f645" stretchType="RelativeToTallestObject" mode="Transparent" x="581" y="1" width="44" height="17" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Center" verticalAlignment="Top" markup="none"> <textElement textAlignment="Center" verticalAlignment="Top" markup="none">
<font size="6" isBold="false"/> <font size="6" isBold="false"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$V{sum.qtdCancelado}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{sum.qtdCancelado}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="c40286db-ba4d-46d5-a377-a3b7982affe5" stretchType="RelativeToTallestObject" mode="Transparent" x="175" y="2" width="45" height="17" isPrintWhenDetailOverflows="true"/> <reportElement uuid="c40286db-ba4d-46d5-a377-a3b7982affe5" stretchType="RelativeToTallestObject" mode="Transparent" x="175" y="1" width="45" height="17" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Center" verticalAlignment="Top" markup="none"> <textElement textAlignment="Center" verticalAlignment="Top" markup="none">
<font size="6" isBold="false"/> <font size="6" isBold="false"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$V{sum.valorExcesso}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{sum.valorExcesso}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="b5f5917f-69e4-4408-8961-d9d50f151ede" stretchType="RelativeToTallestObject" mode="Transparent" x="536" y="2" width="45" height="17" isPrintWhenDetailOverflows="true"/> <reportElement uuid="b5f5917f-69e4-4408-8961-d9d50f151ede" stretchType="RelativeToTallestObject" mode="Transparent" x="535" y="1" width="45" height="17" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Center" verticalAlignment="Top" markup="none"> <textElement textAlignment="Center" verticalAlignment="Top" markup="none">
<font size="6" isBold="false"/> <font size="6" isBold="false"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$V{sum.valorCancelado}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{sum.valorCancelado}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="6f4e820e-a46f-4354-9c67-7535cdf12881" stretchType="RelativeToTallestObject" mode="Transparent" x="220" y="2" width="45" height="17" isPrintWhenDetailOverflows="true"/> <reportElement uuid="6f4e820e-a46f-4354-9c67-7535cdf12881" stretchType="RelativeToTallestObject" mode="Transparent" x="221" y="1" width="43" height="17" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Center" verticalAlignment="Top" markup="none"> <textElement textAlignment="Center" verticalAlignment="Top" markup="none">
<font size="6" isBold="false"/> <font size="6" isBold="false"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$V{sum.qtdExcesso}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{sum.qtdExcesso}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="c19ad692-5d21-4015-94b4-e67390847023" stretchType="RelativeToTallestObject" mode="Transparent" x="671" y="2" width="45" height="17" isPrintWhenDetailOverflows="true"/> <reportElement uuid="c19ad692-5d21-4015-94b4-e67390847023" stretchType="RelativeToTallestObject" mode="Transparent" x="672" y="1" width="43" height="17" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Center" verticalAlignment="Top" markup="none"> <textElement textAlignment="Center" verticalAlignment="Top" markup="none">
<font size="6" isBold="false"/> <font size="6" isBold="false"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$V{sum.qtdEstornado}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{sum.qtdEstornado}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="903b955c-d69f-487a-9ebe-5cfe37b174e5" stretchType="RelativeToTallestObject" x="130" y="2" width="45" height="16" isPrintWhenDetailOverflows="true"/> <reportElement uuid="903b955c-d69f-487a-9ebe-5cfe37b174e5" stretchType="RelativeToTallestObject" x="131" y="1" width="44" height="17" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Center" verticalAlignment="Top" markup="none"> <textElement textAlignment="Center" verticalAlignment="Top" markup="none">
<font size="6" isBold="false"/> <font size="6" isBold="false"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$V{sum.qtdBilhete}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{sum.qtdBilhete}]]></textFieldExpression>
</textField> </textField>
<line>
<reportElement uuid="b7862f5f-e52b-46cf-8a43-ffdddc3d0c53" x="-2" y="1" width="857" height="1"/>
</line>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="f567159f-10d9-4408-823b-4edbb6ebe7d5" stretchType="RelativeToTallestObject" x="716" y="2" width="45" height="17" isPrintWhenDetailOverflows="true"/> <reportElement uuid="f567159f-10d9-4408-823b-4edbb6ebe7d5" stretchType="RelativeToTallestObject" x="717" y="1" width="43" height="17" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Center"> <textElement textAlignment="Center">
<font size="6"/> <font size="6"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$V{sum.valorOCD}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{sum.valorOCD}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="7fab5128-1aa9-46ea-b06c-2dbf951f6a01" stretchType="RelativeToTallestObject" x="761" y="2" width="45" height="17" isPrintWhenDetailOverflows="true"/> <reportElement uuid="7fab5128-1aa9-46ea-b06c-2dbf951f6a01" stretchType="RelativeToTallestObject" x="761" y="1" width="45" height="17" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Center"> <textElement textAlignment="Center">
<font size="6"/> <font size="6"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$V{sum.difMaior}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{sum.difMaior}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true"> <textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="3c5ebc8a-0792-4bf6-aadf-39842a09a8dd" stretchType="RelativeToTallestObject" x="806" y="2" width="52" height="17" isPrintWhenDetailOverflows="true"/> <reportElement uuid="3c5ebc8a-0792-4bf6-aadf-39842a09a8dd" stretchType="RelativeToTallestObject" x="807" y="1" width="49" height="17" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Center"> <textElement textAlignment="Center">
<font size="6"/> <font size="6"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$V{sum.total}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{sum.total}]]></textFieldExpression>
</textField> </textField>
</band> </band>
</lastPageFooter> </summary>
<noData> <noData>
<band height="20"> <band height="20">
<textField> <textField>
<reportElement uuid="5a6c1b7b-2242-4cf1-b957-723b906ee620" x="0" y="0" width="857" height="20"/> <reportElement uuid="5a6c1b7b-2242-4cf1-b957-723b906ee620" x="1" y="0" width="856" height="20"/>
<textElement/> <textElement textAlignment="Center">
<font isBold="true" isItalic="false"/>
</textElement>
<textFieldExpression><![CDATA[$R{msg.noData}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{msg.noData}]]></textFieldExpression>
</textField> </textField>
</band> </band>

View File

@ -75,7 +75,7 @@ public class IndexController extends MyGenericForwardComposer {
String strNombre = lblNombreAplicacion.getLabel(); String strNombre = lblNombreAplicacion.getLabel();
strNombre = strNombre + " - " + constanteService.buscarNombreAmbiente(); strNombre = strNombre + " - " + constanteService.buscarNombreAmbiente();
if (flywayUtilService.existeErroExecucaoScript()){ if (flywayUtilService.existeErroExecucaoScript()){
strNombre += " - FAVOR CHECAR A ATUALIZAÇÃO"; strNombre += " - FAVOR CHECAR A ATUALIZAÇÃO";
} }
lblNombreAplicacion.setLabel(strNombre); lblNombreAplicacion.setLabel(strNombre);

View File

@ -205,6 +205,7 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
private Checkbox chkAutenticacao; private Checkbox chkAutenticacao;
private MyTextbox txtCodContPrevidencia; private MyTextbox txtCodContPrevidencia;
private Textbox txtApiKeyAdyen; private Textbox txtApiKeyAdyen;
private Textbox txtMerchantAccountAdyen;
private Radio indProducaoAdyenSim; private Radio indProducaoAdyenSim;
private MyComboboxEstandar cmbTipoAutorizacao; private MyComboboxEstandar cmbTipoAutorizacao;
@ -570,6 +571,7 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
if (empresaAdyenConfig != null) { if (empresaAdyenConfig != null) {
txtApiKeyAdyen.setText(empresaAdyenConfig.getApiKey()); txtApiKeyAdyen.setText(empresaAdyenConfig.getApiKey());
txtMerchantAccountAdyen.setText(empresaAdyenConfig.getMerchantAccountAdyen());
if (empresaAdyenConfig.getIndProducao() == null) { if (empresaAdyenConfig.getIndProducao() == null) {
indProducaoAdyenSim.setChecked(Boolean.FALSE); indProducaoAdyenSim.setChecked(Boolean.FALSE);
} else if (empresaAdyenConfig.getIndProducao()) { } else if (empresaAdyenConfig.getIndProducao()) {
@ -1172,11 +1174,13 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
empresaAdyenConfig = new EmpresaAdyenConfig(); empresaAdyenConfig = new EmpresaAdyenConfig();
empresaAdyenConfig.setEmpresa(empresa); empresaAdyenConfig.setEmpresa(empresa);
empresaAdyenConfig.setApiKey(txtApiKeyAdyen.getValue()); empresaAdyenConfig.setApiKey(txtApiKeyAdyen.getValue());
empresaAdyenConfig.setMerchantAccountAdyen(txtMerchantAccountAdyen.getValue());
empresaAdyenConfig.setIndProducao(indProducaoAdyenSim.isChecked()); empresaAdyenConfig.setIndProducao(indProducaoAdyenSim.isChecked());
empresaAdyenConfig = empresaAdyenConfigService.suscribir(empresaAdyenConfig); empresaAdyenConfig = empresaAdyenConfigService.suscribir(empresaAdyenConfig);
} else { } else {
empresaAdyenConfig.setEmpresa(empresa); empresaAdyenConfig.setEmpresa(empresa);
empresaAdyenConfig.setApiKey(txtApiKeyAdyen.getValue()); empresaAdyenConfig.setApiKey(txtApiKeyAdyen.getValue());
empresaAdyenConfig.setMerchantAccountAdyen(txtMerchantAccountAdyen.getValue());
empresaAdyenConfig.setIndProducao(indProducaoAdyenSim.isChecked()); empresaAdyenConfig.setIndProducao(indProducaoAdyenSim.isChecked());
empresaAdyenConfigService.actualizacion(empresaAdyenConfig); empresaAdyenConfigService.actualizacion(empresaAdyenConfig);
} }
@ -2759,5 +2763,21 @@ public void onClick$btnTestEmailFlexBus(Event ev) throws InterruptedException {
public void setStoreVO(StoreVO storeVO) { public void setStoreVO(StoreVO storeVO) {
this.storeVO = storeVO; this.storeVO = storeVO;
} }
public EmpresaAdyenConfigService getEmpresaAdyenConfigService() {
return empresaAdyenConfigService;
}
public void setEmpresaAdyenConfigService(EmpresaAdyenConfigService empresaAdyenConfigService) {
this.empresaAdyenConfigService = empresaAdyenConfigService;
}
public EmpresaAdyenConfig getEmpresaAdyenConfig() {
return empresaAdyenConfig;
}
public void setEmpresaAdyenConfig(EmpresaAdyenConfig empresaAdyenConfig) {
this.empresaAdyenConfig = empresaAdyenConfig;
}
} }

View File

@ -1,9 +1,10 @@
package com.rjconsultores.ventaboletos.web.gui.controladores.esquemaoperacional; package com.rjconsultores.ventaboletos.web.gui.controladores.esquemaoperacional;
import java.math.BigDecimal;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date; import java.util.Date;
import java.util.HashSet; import java.util.HashSet;
import java.util.Iterator;
import java.util.List; import java.util.List;
import java.util.Set; import java.util.Set;
@ -17,14 +18,19 @@ import org.zkoss.zk.ui.Executions;
import org.zkoss.zk.ui.event.Event; import org.zkoss.zk.ui.event.Event;
import org.zkoss.zk.ui.event.EventListener; import org.zkoss.zk.ui.event.EventListener;
import org.zkoss.zul.Button; import org.zkoss.zul.Button;
import org.zkoss.zul.Checkbox;
import org.zkoss.zul.Combobox; import org.zkoss.zul.Combobox;
import org.zkoss.zul.Doublebox;
import org.zkoss.zul.Intbox; import org.zkoss.zul.Intbox;
import org.zkoss.zul.ListModelList; import org.zkoss.zul.ListModelList;
import org.zkoss.zul.Messagebox; import org.zkoss.zul.Messagebox;
import org.zkoss.zul.Tab; import org.zkoss.zul.Tab;
import org.zkoss.zul.Textbox; import org.zkoss.zul.Textbox;
import com.rjconsultores.ventaboletos.entidad.ClaseServicio;
import com.rjconsultores.ventaboletos.entidad.Conexion;
import com.rjconsultores.ventaboletos.entidad.ConexionCtrl; import com.rjconsultores.ventaboletos.entidad.ConexionCtrl;
import com.rjconsultores.ventaboletos.entidad.ConexionDescuento;
import com.rjconsultores.ventaboletos.entidad.ConexionRutaConf; import com.rjconsultores.ventaboletos.entidad.ConexionRutaConf;
import com.rjconsultores.ventaboletos.entidad.ConexionRutaExcepcionPtoVta; import com.rjconsultores.ventaboletos.entidad.ConexionRutaExcepcionPtoVta;
import com.rjconsultores.ventaboletos.entidad.ConexionRutaExcepcionTipoPtoVta; import com.rjconsultores.ventaboletos.entidad.ConexionRutaExcepcionTipoPtoVta;
@ -35,12 +41,16 @@ import com.rjconsultores.ventaboletos.entidad.Ruta;
import com.rjconsultores.ventaboletos.entidad.RutaCombinacion; import com.rjconsultores.ventaboletos.entidad.RutaCombinacion;
import com.rjconsultores.ventaboletos.entidad.RutaEmpresa; import com.rjconsultores.ventaboletos.entidad.RutaEmpresa;
import com.rjconsultores.ventaboletos.entidad.TipoPuntoVenta; import com.rjconsultores.ventaboletos.entidad.TipoPuntoVenta;
import com.rjconsultores.ventaboletos.service.ClaseServicioService;
import com.rjconsultores.ventaboletos.service.ConexionCtrlService;
import com.rjconsultores.ventaboletos.service.ConexionDescuentoService;
import com.rjconsultores.ventaboletos.service.ConexionRutaCombinacionService; import com.rjconsultores.ventaboletos.service.ConexionRutaCombinacionService;
import com.rjconsultores.ventaboletos.service.ConexionRutaConfService; import com.rjconsultores.ventaboletos.service.ConexionRutaConfService;
import com.rjconsultores.ventaboletos.service.ConexionRutaExcepcionPtoVtaService; import com.rjconsultores.ventaboletos.service.ConexionRutaExcepcionPtoVtaService;
import com.rjconsultores.ventaboletos.service.ConexionRutaExcepcionTipoPtoVtaService; import com.rjconsultores.ventaboletos.service.ConexionRutaExcepcionTipoPtoVtaService;
import com.rjconsultores.ventaboletos.service.ConexionRutaLocalidadeRemovidaService; import com.rjconsultores.ventaboletos.service.ConexionRutaLocalidadeRemovidaService;
import com.rjconsultores.ventaboletos.service.ConexionRutaTramoCtrlService; import com.rjconsultores.ventaboletos.service.ConexionRutaTramoCtrlService;
import com.rjconsultores.ventaboletos.service.ConexionService;
import com.rjconsultores.ventaboletos.service.RutaEmpresaService; import com.rjconsultores.ventaboletos.service.RutaEmpresaService;
import com.rjconsultores.ventaboletos.service.RutaService; import com.rjconsultores.ventaboletos.service.RutaService;
import com.rjconsultores.ventaboletos.service.TipoPuntoVentaService; import com.rjconsultores.ventaboletos.service.TipoPuntoVentaService;
@ -77,6 +87,15 @@ public class GerarConexionPorRutaController extends MyGenericForwardComposer {
@Autowired @Autowired
ConexionRutaCombinacionService conexionRutaCombinacionService; ConexionRutaCombinacionService conexionRutaCombinacionService;
@Autowired
private ConexionService conexionService;
@Autowired
private ClaseServicioService claseServicioService;
@Autowired
private ConexionDescuentoService conexionDescuentoService;
@Autowired
private ConexionCtrlService conexionCtrlService;
@Autowired @Autowired
ConexionRutaLocalidadeRemovidaService conexionRutaLocalidadeRemovidaService; ConexionRutaLocalidadeRemovidaService conexionRutaLocalidadeRemovidaService;
@Autowired @Autowired
@ -121,6 +140,16 @@ public class GerarConexionPorRutaController extends MyGenericForwardComposer {
private List<Parada> removerLocalidadesComumABList; private List<Parada> removerLocalidadesComumABList;
private List<Parada> adicionarLocalidadesComumABList; private List<Parada> adicionarLocalidadesComumABList;
private Doublebox txtDesconto;
private Combobox cmbOrigemConexao;
private Combobox cmbDestinoConexao;
private Button btnFiltrar;
List<ParadaVOConexionRuta> localidadesGeradasFiltro;
private List<Parada> lsOrigemConexao;
private List<Parada> lsDestinoConexao;
private Checkbox chkUtilizaPricing;
private boolean isConexionGerada; private boolean isConexionGerada;
@Override @Override
@ -150,7 +179,7 @@ public class GerarConexionPorRutaController extends MyGenericForwardComposer {
txtDescricao.setValue(conexionRutaConf.getDescricao()); txtDescricao.setValue(conexionRutaConf.getDescricao());
txtTiempoMin.setValue(conexionRutaConf.getTiempoMin()); txtTiempoMin.setValue(conexionRutaConf.getTiempoMin());
txtTiempoMax.setValue(conexionRutaConf.getTiempoMax()); txtTiempoMax.setValue(conexionRutaConf.getTiempoMax());
txtDesconto.setValue(conexionRutaConf.getDescuento() == null ? null : conexionRutaConf.getDescuento().doubleValue());
configuraExcecaoPorPontoVenda(); configuraExcecaoPorPontoVenda();
@ -168,8 +197,6 @@ public class GerarConexionPorRutaController extends MyGenericForwardComposer {
//Eixo C //Eixo C
configuraLocalidadesEixoC(); configuraLocalidadesEixoC();
gerarCombinacao(true); gerarCombinacao(true);
}else{ }else{
btnSalvar.setDisabled(true); btnSalvar.setDisabled(true);
@ -187,7 +214,7 @@ public class GerarConexionPorRutaController extends MyGenericForwardComposer {
} }
/** /**
* Valida se a epresa da linha está configurada para funcionar com agrupamento de localidade na conexão. * Valida se a epresa da linha esta configurada para funcionar com agrupamento de localidade na conexao
* @param rutaA * @param rutaA
* @return * @return
*/ */
@ -320,7 +347,7 @@ public class GerarConexionPorRutaController extends MyGenericForwardComposer {
* Configura as rutas (linhas) para cada eixo * Configura as rutas (linhas) para cada eixo
*/ */
private void configuraRutasPorEixo() { private void configuraRutasPorEixo() {
//Busca uma lista de linhas (rutas), esta lista contem 3 sub-listas (1 para cada eixo de conexão A, B e C) //Busca uma lista de linhas (rutas), esta lista contem 3 sub-listas (1 para cada eixo de conexao A, B e C)
List<List<Ruta>> rutas = conexionRutaConfService.buscarRutasPorConexionConf(conexionRutaConf.getConexionRutaConfId()); List<List<Ruta>> rutas = conexionRutaConfService.buscarRutasPorConexionConf(conexionRutaConf.getConexionRutaConfId());
List<Ruta> lsRutaA = rutas.get(0); List<Ruta> lsRutaA = rutas.get(0);
List<Ruta> lsRutaB = rutas.get(1); List<Ruta> lsRutaB = rutas.get(1);
@ -331,10 +358,10 @@ public class GerarConexionPorRutaController extends MyGenericForwardComposer {
} }
/** /**
* Configura a lista de exceções por tipo de venda (canal de venda) * Configura a lista de excecoes por tipo de venda (canal de venda)
*/ */
private void configuraExcecaoPorTipoVenda() { private void configuraExcecaoPorTipoVenda() {
//Busca a lista de exceções por tipo de venda (canal de venda) //Busca a lista de excecoes por tipo de venda (canal de venda)
List<ConexionRutaExcepcionTipoPtoVta> conexionRutaExcepcionTipoPtoVtaList = conexionRutaExcepcionTipoPtoVtaService.buscarPorConexionConf(conexionRutaConf); List<ConexionRutaExcepcionTipoPtoVta> conexionRutaExcepcionTipoPtoVtaList = conexionRutaExcepcionTipoPtoVtaService.buscarPorConexionConf(conexionRutaConf);
for (ConexionRutaExcepcionTipoPtoVta conexionRutaExcepcionTipoPtoVta:conexionRutaExcepcionTipoPtoVtaList ) { for (ConexionRutaExcepcionTipoPtoVta conexionRutaExcepcionTipoPtoVta:conexionRutaExcepcionTipoPtoVtaList ) {
listEspCanal.addItemNovo(conexionRutaExcepcionTipoPtoVta.getTipoPtovta()); listEspCanal.addItemNovo(conexionRutaExcepcionTipoPtoVta.getTipoPtovta());
@ -342,10 +369,10 @@ public class GerarConexionPorRutaController extends MyGenericForwardComposer {
} }
/** /**
* Configura a lista de exceções por ponto de venda * Configura a lista de excecoes por ponto de venda
*/ */
private void configuraExcecaoPorPontoVenda() { private void configuraExcecaoPorPontoVenda() {
//Busca a lista de exceções por ponto de venda //Busca a lista de excecoes por ponto de venda
List<ConexionRutaExcepcionPtoVta> conexionRutaExcepcionPtoVtaList = conexionRutaRestricaoPtoVtaService.buscarPorConexionConf(conexionRutaConf); List<ConexionRutaExcepcionPtoVta> conexionRutaExcepcionPtoVtaList = conexionRutaRestricaoPtoVtaService.buscarPorConexionConf(conexionRutaConf);
for (ConexionRutaExcepcionPtoVta conexionRutaExcepcionPtoVta : conexionRutaExcepcionPtoVtaList) { for (ConexionRutaExcepcionPtoVta conexionRutaExcepcionPtoVta : conexionRutaExcepcionPtoVtaList) {
listPuntoVenta.addItemNovo(conexionRutaExcepcionPtoVta.getPuntoVenta()); listPuntoVenta.addItemNovo(conexionRutaExcepcionPtoVta.getPuntoVenta());
@ -375,6 +402,20 @@ public class GerarConexionPorRutaController extends MyGenericForwardComposer {
conexionRutaConf.setTiempoMin(txtTiempoMin.getValue()); conexionRutaConf.setTiempoMin(txtTiempoMin.getValue());
conexionRutaConf.setTiempoMax(txtTiempoMax.getValue()); conexionRutaConf.setTiempoMax(txtTiempoMax.getValue());
Double desconto = txtDesconto.getValue();
Boolean descontoAlterado = false;
BigDecimal descontoAnterior = conexionRutaConf.getDescuento();
//Valida se o desconto ja existia ou se e novo
if(descontoAnterior != null && descontoAnterior.doubleValue() != desconto) {
conexionRutaConf.setDescuento(new BigDecimal(desconto));
descontoAlterado = true;
}
if(descontoAnterior == null) {
conexionRutaConf.setDescuento(new BigDecimal(desconto));
}
List<TipoPuntoVenta> canalVentas = listEspCanal.getListData(); List<TipoPuntoVenta> canalVentas = listEspCanal.getListData();
List<PuntoVenta> puntoVentas = listPuntoVenta.getListData(); List<PuntoVenta> puntoVentas = listPuntoVenta.getListData();
@ -385,6 +426,36 @@ public class GerarConexionPorRutaController extends MyGenericForwardComposer {
removeLocalidadesExcluidas(); removeLocalidadesExcluidas();
//Atualizar o indPricing alterado pela tabela
for(ParadaVOConexionRuta loc : localidadesGeradas ) {
for(ConexionCtrl conCtrl : conexoesCtrl) {
if(isMesmaConexao(loc, conCtrl)) {
conCtrl.setIndPricing(loc.getConexionCtrl().getIndPricing());
}
}
}
conexionCtrlService.suscribirTodos(conexoesCtrl);
List<ConexionDescuento> conexionDescontos = new ArrayList<>();
if(isConexionGerada) {
if(desconto != 0 ) {
criarNovosDescontosPorConexao(conexionDescontos);
}
} else if(descontoAlterado){ //Se nao foi gerado novas conexoes, mas foi alterado o desconto
if( desconto == null || desconto == 0) {
desativarDescontosAnteriores(conexionDescontos);// remover todos os descontos criados
} else {
alterarValorDescontos(conexionDescontos);
}
}
if(!conexionDescontos.isEmpty()) { // Salvar Descontos
conexionDescuentoService.suscribirTodos(conexionDescontos);
}
if(itemNovo) { if(itemNovo) {
conexionRutaConfList.addItemNovo(conexionRutaConf); conexionRutaConfList.addItemNovo(conexionRutaConf);
}else { }else {
@ -397,6 +468,113 @@ public class GerarConexionPorRutaController extends MyGenericForwardComposer {
closeWindow(); closeWindow();
} }
private boolean isMesmaConexao(ParadaVOConexionRuta loc, ConexionCtrl conCtrl) {
if(conCtrl.getConexionctrlId() != null && conCtrl.getConexionctrlId().equals(loc.getConexionCtrl().getConexionctrlId())) {
return true;
}
List<Conexion> conec = conexionService.buscarPorConexionCtrl(conCtrl.getConexionctrlId());
for(Conexion con : conec) {
if (isMesmaConexao(loc, con)){
return true;
}
}
return false;
}
private boolean isMesmaConexao(ParadaVOConexionRuta loc, Conexion con) {
return loc.getRutaId() == con.getRutaId() &&
loc.getGrupo() == con.getNumgrupo() &&
loc.getSecuencia() == con.getNumsecuencia() &&
loc.getParadaOrigemTrecho().getParadaId() == con.getOrigenId() &&
loc.getParadaDestinoTrecho().getParadaId() == con.getDestinoId();
}
private void desativarDescontosAnteriores(List<ConexionDescuento> conexionDescontos) {
List<Conexion> conexoes = buscarTodasConexoes();
for(Conexion con : conexoes) {
List<ConexionDescuento> conDescList = conexionDescuentoService.buscarPorConexion(con);
for(ConexionDescuento conDesc : conDescList) {
conDesc.setActivo(Boolean.FALSE);
}
conexionDescontos.addAll(conDescList);
}
}
private void criarNovosDescontosPorConexao(List<ConexionDescuento> conexionDescontos) {
List<Conexion> conexoes = buscarTodasConexoes();
ClaseServicio classeTodos = claseServicioService.obtenerID(-1);
for(Conexion con : conexoes) {
ConexionDescuento conDesc = criarConexionDesconto(con, classeTodos);
conexionDescontos.add(conDesc);
}
}
private void alterarValorDescontos(List<ConexionDescuento> conexionDescontos) {
List<Conexion> conexoes = buscarTodasConexoes();
for(Conexion con : conexoes) {
List<ConexionDescuento> conDescList = conexionDescuentoService.buscarPorConexion(con);
// Caso tenha sido destivado sem gerar novas combinacoes
if(conDescList == null || conDescList.isEmpty()) {
conDescList = conexionDescuentoService.buscarPorConexionInativos(con);
}
if(conDescList == null || conDescList.isEmpty()) {
//Cria novos descontos, caso seja um registro antigo que foi alterado somente o desconto
criarNovosDescontosPorConexao(conexionDescontos);
} else {
//Altera os descontos encontrados
for(ConexionDescuento conDesc : conDescList) {
conDesc.setActivo(Boolean.TRUE);
conDesc.setDescuento(conexionRutaConf.getDescuento());
}
}
conexionDescontos.addAll(conDescList);
}
}
private List<Conexion> buscarTodasConexoes() {
try {
List<Conexion> conexoes = new ArrayList<>();
for(ConexionCtrl coneCtrl : conexoesCtrl) {
List<Conexion> conec = conexionService.buscarPorConexionCtrl(coneCtrl.getConexionctrlId());
conexoes.addAll(conec);
}
return conexoes;
} catch (Exception e) {
log.error("Erro ao buscar todas as conexoes: ", e);
}
return null;
}
private ConexionDescuento criarConexionDesconto(Conexion con, ClaseServicio classeTodos) {
ConexionDescuento conDesc = new ConexionDescuento();
conDesc.setConexion(con);
conDesc.setFecModif(Calendar.getInstance().getTime());
conDesc.setGrupo(con.getNumgrupo());
conDesc.setDescuento(conexionRutaConf.getDescuento());
conDesc.setDescuentoTasaEmbarque(BigDecimal.ZERO);
conDesc.setSecuencia(con.getNumsecuencia());
conDesc.setActivo(true);
conDesc.setClaseServicio(classeTodos);
return conDesc;
}
private void removeLocalidadesExcluidas() { private void removeLocalidadesExcluidas() {
if(adicionarLocalidadesComumABList !=null && !adicionarLocalidadesComumABList.isEmpty() ) { if(adicionarLocalidadesComumABList !=null && !adicionarLocalidadesComumABList.isEmpty() ) {
@ -667,7 +845,7 @@ public class GerarConexionPorRutaController extends MyGenericForwardComposer {
} }
/** /**
* Valida Localidades excluídas, caso encontre insere na tela botão adicionar, caso não encontre inserena tela o botão remover. * Valida Localidades excluidas, caso encontre insere na tela botao adicionar, caso nao encontre inserena tela o botao remover.
* @param lsParadas * @param lsParadas
* @param paradasDuplicadas * @param paradasDuplicadas
*/ */
@ -717,8 +895,8 @@ public class GerarConexionPorRutaController extends MyGenericForwardComposer {
paradaAux.setDescparada(parada.getAgrupamentoParada().getDescAgrupamentoParada()); paradaAux.setDescparada(parada.getAgrupamentoParada().getDescAgrupamentoParada());
paradaAux.setCveparada(parada.getAgrupamentoParada().getCveAgrupamentoParada()); paradaAux.setCveparada(parada.getAgrupamentoParada().getCveAgrupamentoParada());
//Caso agrupamento já adicionado na lista não aparece na listview para não duplicar //Caso agrupamento ja adicionado na lista nao aparece na listview para nao duplicar
//mas é adicionado de localidades comuns de classe normalmente, apenas na listeview (tela que não irá aparecer). //mas e adicionado de localidades comuns de classe normalmente, apenas na listeview (tela que nao ira aparecer).
Boolean isAdicionaParadaListView = Boolean.TRUE; Boolean isAdicionaParadaListView = Boolean.TRUE;
for (Parada paradaAgrupamento : lsLocalidadesAgrupamento) { for (Parada paradaAgrupamento : lsLocalidadesAgrupamento) {
if( paradaAux.getAgrupamentoParada().equals(paradaAgrupamento.getAgrupamentoParada())) { if( paradaAux.getAgrupamentoParada().equals(paradaAgrupamento.getAgrupamentoParada())) {
@ -782,6 +960,7 @@ public class GerarConexionPorRutaController extends MyGenericForwardComposer {
txtTiempoMax.getValue(); txtTiempoMax.getValue();
txtTiempoMin.getValue(); txtTiempoMin.getValue();
txtDesconto.getValue();
return true; return true;
} }
@ -1120,6 +1299,7 @@ public class GerarConexionPorRutaController extends MyGenericForwardComposer {
localidadesGeradas = new ArrayList<ParadaVOConexionRuta>(); localidadesGeradas = new ArrayList<ParadaVOConexionRuta>();
conexoesCtrl = new ArrayList<ConexionCtrl>(); conexoesCtrl = new ArrayList<ConexionCtrl>();
localidadesGeradasFiltro = new ArrayList<ParadaVOConexionRuta>();
List<Parada> listParada1 = localidadesLinhaASelecionadaList.getListData(); List<Parada> listParada1 = localidadesLinhaASelecionadaList.getListData();
List<Ruta> rutasEixoA = rutasAList.getListData(); List<Ruta> rutasEixoA = rutasAList.getListData();
List<Ruta> rutasEixoB = rutasBList.getListData(); List<Ruta> rutasEixoB = rutasBList.getListData();
@ -1141,12 +1321,20 @@ public class GerarConexionPorRutaController extends MyGenericForwardComposer {
} }
for (ConexionCtrlVO conexionCtrlVO : conexoesCtrlVO) { for (ConexionCtrlVO conexionCtrlVO : conexoesCtrlVO) {
conexoesCtrl.add(new ConexionCtrl(conexionCtrlVO.getOrigenId(), conexionCtrlVO.getDestinoId(), conexionCtrlVO.getGrupo())); ConexionCtrl conexionAux = new ConexionCtrl(conexionCtrlVO.getOrigenId(), conexionCtrlVO.getDestinoId(), conexionCtrlVO.getGrupo());
conexionAux.setIndPricing(conexionCtrlVO.getIndPricing());
conexionAux.setConexionctrlId(conexionCtrlVO.getConexionctrlId());
conexoesCtrl.add(conexionAux);
} }
} }
localidadesGeradasFiltro.addAll(localidadesGeradas);
atualizarFiltrosCombinacao(localidadesGeradas);
localidadesCombinadasList.setData(localidadesGeradasFiltro);
localidadesCombinadasList.setData(localidadesGeradas);
localidadesCombinadasList.setItemRenderer(new RenderGeracaoConexionPorRuta()); localidadesCombinadasList.setItemRenderer(new RenderGeracaoConexionPorRuta());
resultadoCombinacao.setSelected(true); resultadoCombinacao.setSelected(true);
@ -1156,6 +1344,21 @@ public class GerarConexionPorRutaController extends MyGenericForwardComposer {
log.debug(String.format("Fim Geracao Combinacao {%s}", new Date())); log.debug(String.format("Fim Geracao Combinacao {%s}", new Date()));
} }
private void atualizarFiltrosCombinacao(List<ParadaVOConexionRuta> localidadesGeradas2) {
lsOrigemConexao = new ArrayList<>();
lsDestinoConexao = new ArrayList<>();
for(ParadaVOConexionRuta con : localidadesGeradas2) {
if(!lsOrigemConexao.contains(con.getParadaOrigemTrecho())) {
lsOrigemConexao.add(con.getParadaOrigemTrecho());
}
if(!lsDestinoConexao.contains(con.getParadaDestinoTrecho())) {
lsDestinoConexao.add(con.getParadaDestinoTrecho());
}
}
}
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
private boolean validarLinhaJaSelecionada() { private boolean validarLinhaJaSelecionada() {
@ -1224,5 +1427,74 @@ public class GerarConexionPorRutaController extends MyGenericForwardComposer {
} }
return true; return true;
} }
public void onClick$btnFiltrar(Event ev) throws Exception {
Parada origem = cmbOrigemConexao.getSelectedItem() == null ? null : (Parada) cmbOrigemConexao.getSelectedItem().getValue();
Parada destino = cmbDestinoConexao.getSelectedItem() == null ? null : (Parada) cmbDestinoConexao.getSelectedItem().getValue();
localidadesGeradasFiltro.clear();
for(ParadaVOConexionRuta local : localidadesGeradas) {
boolean origemOK = false;
boolean destinoOK = false;
boolean pricingOK = false;
if(origem == null || origem.equals(local.getParadaOrigemTrecho())) {
origemOK = true;
}
if(destino == null || destino.equals(local.getParadaDestinoTrecho())) {
destinoOK = true;
}
if(local.getConexionCtrl().getIndPricing() == chkUtilizaPricing.isChecked()) {
pricingOK = true;
}
if(origemOK && destinoOK && pricingOK) {
localidadesGeradasFiltro.add(local);
}
}
localidadesCombinadasList.clear();
localidadesCombinadasList.setData(localidadesGeradasFiltro);
}
public void onClick$btnLimpraFiltros(Event ev) throws Exception {
cmbOrigemConexao.setSelectedItem(null);
cmbDestinoConexao.setSelectedItem(null);
chkUtilizaPricing.setChecked(false);
localidadesGeradasFiltro.clear();
localidadesGeradasFiltro.addAll(localidadesGeradas);
localidadesCombinadasList.clear();
localidadesCombinadasList.setData(localidadesGeradasFiltro);
}
public Checkbox getChkUtilizaPricing() {
return chkUtilizaPricing;
}
public void setChkUtilizaPricing(Checkbox chkUtilizaPricing) {
this.chkUtilizaPricing = chkUtilizaPricing;
}
public List<Parada> getLsOrigemConexao() {
return lsOrigemConexao;
}
public void setLsOrigemConexao(List<Parada> lsOrigemConexao) {
this.lsOrigemConexao = lsOrigemConexao;
}
public List<Parada> getLsDestinoConexao() {
return lsDestinoConexao;
}
public void setLsDestinoConexao(List<Parada> lsDestinoConexao) {
this.lsDestinoConexao = lsDestinoConexao;
}
} }

View File

@ -38,6 +38,7 @@ import org.zkoss.zul.Messagebox;
@Scope("prototype") @Scope("prototype")
public class RelatorioSapController extends MyGenericForwardComposer { public class RelatorioSapController extends MyGenericForwardComposer {
private static final String TITULO = "relatorioSap.window.title";
private static final long serialVersionUID = -6110350409404675022L; private static final long serialVersionUID = -6110350409404675022L;
private static Logger log = Logger.getLogger(RelatorioSapController.class); private static Logger log = Logger.getLogger(RelatorioSapController.class);
@ -111,7 +112,10 @@ public class RelatorioSapController extends MyGenericForwardComposer {
public void onClick$btnPesquisar(Event ev) throws Exception { public void onClick$btnPesquisar(Event ev) throws Exception {
if(cmbEmpresa.getSelectedItem() == null){ if(cmbEmpresa.getSelectedItem() == null){
Messagebox.show(Labels.getLabel("relatorioSap.MGS.erroSemEmpresa"), Labels.getLabel("relatorioSap.window.title"), Messagebox.CANCEL, Messagebox.ERROR); Messagebox.show(Labels.getLabel("relatorioSapController.MGS.erroSemEmpresa"),
Labels.getLabel(TITULO),
Messagebox.CANCEL,
Messagebox.ERROR);
return; return;
} }
@ -136,7 +140,7 @@ public class RelatorioSapController extends MyGenericForwardComposer {
if(this.lsFechamentoCntcorrente.isEmpty()){ if(this.lsFechamentoCntcorrente.isEmpty()){
Messagebox.show(Labels.getLabel("relatorioSapController.MGS.alertaCNABSemItens"), Messagebox.show(Labels.getLabel("relatorioSapController.MGS.alertaCNABSemItens"),
Labels.getLabel("relatorioSap.window.title"), Messagebox.CANCEL, Messagebox.ERROR); Labels.getLabel(TITULO), Messagebox.CANCEL, Messagebox.ERROR);
} }
} }
@ -150,18 +154,18 @@ public class RelatorioSapController extends MyGenericForwardComposer {
if( integrados == 0 ){ if( integrados == 0 ){
Messagebox.show(Labels.getLabel("Registros não integrados"), Messagebox.show(Labels.getLabel("relatorioSapController.MGS.erroNaoIntegrado"),
Labels.getLabel("relatorioSap.window.title"), Messagebox.OK, Messagebox.ERROR); Labels.getLabel(TITULO), Messagebox.OK, Messagebox.ERROR);
}else if( integrados < qtdEnviar ) { }else if( integrados < qtdEnviar ) {
Messagebox.show("Alguns registros não foram integrados, favor filtrar novamente para verificar", Messagebox.show(Labels.getLabel("relatorioSapController.MGS.erroIntegradoParcial"),
Labels.getLabel("relatorioSap.window.title"), Messagebox.OK, Messagebox.ERROR); Labels.getLabel(TITULO), Messagebox.OK, Messagebox.ERROR);
}else if( integrados == qtdEnviar ) { }else if( integrados == qtdEnviar ) {
Messagebox.show("Todos registros foram integrados com sucesso", Messagebox.show(Labels.getLabel("relatorioSapController.MGS.erroIntegrado"),
Labels.getLabel("relatorioSap.window.title"), Messagebox.OK, Messagebox.ERROR); Labels.getLabel(TITULO), Messagebox.OK, Messagebox.ERROR);
} }
} catch (Exception e) { } catch (Exception e) {
Messagebox.show( e.getMessage(), Messagebox.show( e.getMessage(),
Labels.getLabel("relatorioSap.window.title"), Messagebox.OK, Messagebox.ERROR); Labels.getLabel(TITULO), Messagebox.OK, Messagebox.ERROR);
} }
} }
@ -170,7 +174,7 @@ public class RelatorioSapController extends MyGenericForwardComposer {
try { try {
Scheduler sched = new StdSchedulerFactory().getScheduler(); Scheduler sched = new StdSchedulerFactory().getScheduler();
JobDetail jobDetail = new JobDetail("IntegracaoSap", null, IntegracaoSapJob.class); JobDetail jobDetail = new JobDetail("IntegracaoSap", null, IntegracaoSapJob.class);
log.info("Execução manual de integraçao com SAP "); log.info(Labels.getLabel("relatorioSapController.MGS.erroIntegraManual"));
Trigger trigger = TriggerUtils.makeImmediateTrigger("integracaoSapTrigger", 1, 1000); Trigger trigger = TriggerUtils.makeImmediateTrigger("integracaoSapTrigger", 1, 1000);
trigger.setName("integracaoSapTrigger"); trigger.setName("integracaoSapTrigger");
JobDetail job = sched.getJobDetail(jobDetail.getName(), jobDetail.getGroup()); JobDetail job = sched.getJobDetail(jobDetail.getName(), jobDetail.getGroup());
@ -186,14 +190,14 @@ public class RelatorioSapController extends MyGenericForwardComposer {
sched.start(); sched.start();
Messagebox.show("Rotina de integração automática iniciada", Messagebox.show(Labels.getLabel("relatorioSapController.MGS.rotinaIniciada"),
Labels.getLabel("relatorioSap.window.title"), Messagebox.OK, Messagebox.INFORMATION); Labels.getLabel(TITULO), Messagebox.OK, Messagebox.INFORMATION);
} catch (SchedulerException ex) { } catch (SchedulerException ex) {
log.error(ex); log.error(ex);
} catch (RuntimeException e) { } catch (RuntimeException e) {
Messagebox.show( e.getMessage(), Messagebox.show( e.getMessage(),
Labels.getLabel("relatorioSap.window.title"), Messagebox.OK, Messagebox.ERROR); Labels.getLabel(TITULO), Messagebox.OK, Messagebox.ERROR);
} }
} }
@ -204,4 +208,4 @@ public class RelatorioSapController extends MyGenericForwardComposer {
public void setEmpresa(Empresa empresa) { public void setEmpresa(Empresa empresa) {
this.empresa = empresa; this.empresa = empresa;
} }
} }

View File

@ -5,6 +5,9 @@
package com.rjconsultores.ventaboletos.web.utilerias.render; package com.rjconsultores.ventaboletos.web.utilerias.render;
import org.zkoss.zk.ui.api.HtmlBasedComponent; import org.zkoss.zk.ui.api.HtmlBasedComponent;
import org.zkoss.zk.ui.event.Event;
import org.zkoss.zk.ui.event.EventListener;
import org.zkoss.zul.Checkbox;
import org.zkoss.zul.Listcell; import org.zkoss.zul.Listcell;
import org.zkoss.zul.Listitem; import org.zkoss.zul.Listitem;
import org.zkoss.zul.ListitemRenderer; import org.zkoss.zul.ListitemRenderer;
@ -33,7 +36,9 @@ public class RenderGeracaoConexionPorRuta implements ListitemRenderer {
ParadaVOConexionRuta conexion = (ParadaVOConexionRuta) o; ParadaVOConexionRuta conexion = (ParadaVOConexionRuta) o;
if (grupo != conexion.getGrupo() || (origemConexao != conexion.getParadaOrigemTrecho().getParadaId() || destinoConexao != conexion.getParadaDestinoTrecho().getParadaId())) { Boolean isCtrlDiferente = grupo != conexion.getGrupo() || (origemConexao != conexion.getParadaOrigemTrecho().getParadaId() || destinoConexao != conexion.getParadaDestinoTrecho().getParadaId());
if (isCtrlDiferente) {
grupo = conexion.getGrupo(); grupo = conexion.getGrupo();
origemConexao = conexion.getParadaOrigemTrecho().getParadaId(); origemConexao = conexion.getParadaOrigemTrecho().getParadaId();
destinoConexao = conexion.getParadaDestinoTrecho().getParadaId(); destinoConexao = conexion.getParadaDestinoTrecho().getParadaId();
@ -62,6 +67,25 @@ public class RenderGeracaoConexionPorRuta implements ListitemRenderer {
lc = new Listcell(String.valueOf(conexion.getSecuencia())); lc = new Listcell(String.valueOf(conexion.getSecuencia()));
lc.setParent(lstm); lc.setParent(lstm);
if(isCtrlDiferente) {
Checkbox ckbindPricing = new Checkbox();
ckbindPricing.setChecked(conexion.getConexionCtrl().getIndPricing());
ckbindPricing.addEventListener("onClick", new EventListener() {
@Override
public void onEvent(Event event) throws Exception {
conexion.getConexionCtrl().setIndPricing(ckbindPricing.isChecked());
}
});
lc = new Listcell();
ckbindPricing.setParent(lc);
lc.setParent(lstm);
} else {
lc = new Listcell(" ");
lc.setParent(lstm);
}
lstm.setValue(conexion); lstm.setValue(conexion);
} }
} }

View File

@ -1034,6 +1034,11 @@ relatorioSapController.lbValor.value = Valor
relatorioSapController.lbFechamento.value = Fechamento relatorioSapController.lbFechamento.value = Fechamento
relatorioSapController.lbStatus.value = Situação relatorioSapController.lbStatus.value = Situação
relatorioSapController.MGS.erroSemEmpresa = Escolha uma empresa relatorioSapController.MGS.erroSemEmpresa = Escolha uma empresa
relatorioSapController.MGS.erroNaoIntegrado = Registros não integrados
relatorioSapController.MGS.erroIntegradoParcial = Alguns registros não foram integrados, favor filtrar novamente para verificar
relatorioSapController.MGS.erroIntegrado = Todos registros foram integrados com sucesso
relatorioSapController.MGS.rotinaIniciada = Rotina de integração automática iniciada
relatorioSapController.MGS.erroIntegraManual = Execução manual de integração com SAP
relatorioSapController.MGS.alertaArquivoRemessaNaoGerado = Arquivo de remessa não pôde ser criado, favor entrar em contato com o suporte. relatorioSapController.MGS.alertaArquivoRemessaNaoGerado = Arquivo de remessa não pôde ser criado, favor entrar em contato com o suporte.
relatorioSapController.MGS.alertaCNABSemItens = Não há itens fechamento a enviar para esta empresa relatorioSapController.MGS.alertaCNABSemItens = Não há itens fechamento a enviar para esta empresa
filtroRelatorioSap.window.title=Integração SAP filtroRelatorioSap.window.title=Integração SAP
@ -1736,6 +1741,7 @@ editarEmpresaController.restricaoZ.label= Restringe Venda se Red. Z não emitida
editarEmpresaController.utilizaFidelidade.label= Utiliza projeto fidelidade editarEmpresaController.utilizaFidelidade.label= Utiliza projeto fidelidade
editarEmpresaController.indProducao.label= Venda em Produção editarEmpresaController.indProducao.label= Venda em Produção
editarEmpresaController.apiKey.label= API Key editarEmpresaController.apiKey.label= API Key
editarEmpresaController.merchantAccountAdyen.label= Merchant Account Adyen
editarEmpresaController.antiFraude.label = Antifraude editarEmpresaController.antiFraude.label = Antifraude
editarEmpresaController.antiFraude.chave.label = Chave Antifraude editarEmpresaController.antiFraude.chave.label = Chave Antifraude
editarEmpresaController.restricaoZ.sim=Sim editarEmpresaController.restricaoZ.sim=Sim
@ -2231,6 +2237,8 @@ editarPuntoVentaController.qrcodeCatracaRodEAN13.label = Imprimir na venda o QR
editarPuntoVentaController.checkBloqDevolveReativaOutroPto.label = Bloqueia Devolver e Reativar em outro Ponto de Venda editarPuntoVentaController.checkBloqDevolveReativaOutroPto.label = Bloqueia Devolver e Reativar em outro Ponto de Venda
editarPuntoVentaController.lbQrcodeTaxaEmbarqueRodTTL.label= Imprimir na venda o QR Code Taxa Embarque Rodoviára TTL editarPuntoVentaController.lbQrcodeTaxaEmbarqueRodTTL.label= Imprimir na venda o QR Code Taxa Embarque Rodoviára TTL
editarPuntoVentaController.merchantStoreAdyen.label= Merchant Store Adyen
# Editar comissão ponto de venda # Editar comissão ponto de venda
editarPuntoVentaComissaoController.window.title = Comissão Empresa/Ponto de Venda - {0} editarPuntoVentaComissaoController.window.title = Comissão Empresa/Ponto de Venda - {0}
editarPuntoVentaComissaoController.MSG.suscribirOK = Comissão da Empresa/Ponto de Venda registrada com sucesso. editarPuntoVentaComissaoController.MSG.suscribirOK = Comissão da Empresa/Ponto de Venda registrada com sucesso.
@ -7233,6 +7241,11 @@ busquedaParamConexionController.lhId.label=ID
busquedaParamConexionController.lhDesc.label=Descrição busquedaParamConexionController.lhDesc.label=Descrição
busquedaParamConexionController.lhValor.label=Valor busquedaParamConexionController.lhValor.label=Valor
editarConexionController.labelDesconto.value=Desconto
editarConexionController.labelPricing.value=Pricing
editarConexionController.botaoFiltrar.value=Filtrar
editarConexionController.botaoLimparFiltros.value=Limpar Filtros
#Editar param conexion #Editar param conexion
editarParamConexionController.window.title=Parametro de Conexão editarParamConexionController.window.title=Parametro de Conexão
editarParamConexionController.btnSalvar.tooltiptext=Salvar editarParamConexionController.btnSalvar.tooltiptext=Salvar

View File

@ -905,6 +905,11 @@ relatorioSapController.lbValor.value = Valor
relatorioSapController.lbFechamento.value = Fechamento relatorioSapController.lbFechamento.value = Fechamento
relatorioSapController.lbStatus.value = Situação relatorioSapController.lbStatus.value = Situação
relatorioSapController.MGS.erroSemEmpresa = Escolha uma empresa relatorioSapController.MGS.erroSemEmpresa = Escolha uma empresa
relatorioSapController.MGS.erroNaoIntegrado = Registros não integrados
relatorioSapController.MGS.erroIntegradoParcial = Alguns registros não foram integrados, favor filtrar novamente para verificar
relatorioSapController.MGS.erroIntegrado = Todos registros foram integrados com sucesso
relatorioSapController.MGS.rotinaIniciada = Rotina de integração automática iniciada
relatorioSapController.MGS.erroIntegraManual = Execução manual de integração com SAP
relatorioSapController.MGS.alertaArquivoRemessaNaoGerado = Arquivo de remessa não pôde ser criado, favor entrar em contato com o suporte. relatorioSapController.MGS.alertaArquivoRemessaNaoGerado = Arquivo de remessa não pôde ser criado, favor entrar em contato com o suporte.
relatorioSapController.MGS.alertaCNABSemItens = Não há itens fechamento a enviar para esta empresa relatorioSapController.MGS.alertaCNABSemItens = Não há itens fechamento a enviar para esta empresa
filtroRelatorioSap.window.title=Integração SAP filtroRelatorioSap.window.title=Integração SAP
@ -1534,6 +1539,7 @@ editarEmpresaController.restricaoZ.label= Restringe Venta se Red. Z no emitida
editarEmpresaController.utilizaFidelidade.label= Utiliza projeto fidelidade editarEmpresaController.utilizaFidelidade.label= Utiliza projeto fidelidade
editarEmpresaController.indProducao.label= Venda em Produção editarEmpresaController.indProducao.label= Venda em Produção
editarEmpresaController.apiKey.label= API Key editarEmpresaController.apiKey.label= API Key
editarEmpresaController.merchantAccountAdyen.label= Merchant Account Adyen
editarEmpresaController.restricaoZ.sim=Si editarEmpresaController.restricaoZ.sim=Si
editarEmpresaController.restricaoZ.nao=No editarEmpresaController.restricaoZ.nao=No
editarEmpresaController.generaNumfoliosistemaVtaInternetImp=Genera Folio Sistema Venta Internet e Impresión Posterior editarEmpresaController.generaNumfoliosistemaVtaInternetImp=Genera Folio Sistema Venta Internet e Impresión Posterior
@ -1946,6 +1952,7 @@ editarPuntoVentaController.lbQrcodeTaxaEmbarqueRodTTL.label= Imprimir na venda o
editarPuntoVentaController.checkIndBloqueioDescontoAPI.label = Bloquear descuento a través de api editarPuntoVentaController.checkIndBloqueioDescontoAPI.label = Bloquear descuento a través de api
editarPuntoVentaController.checkIndBloqueioDescontoWEB.label = Bloquear descuento en internet editarPuntoVentaController.checkIndBloqueioDescontoWEB.label = Bloquear descuento en internet
editarPuntoVentaController.merchantStoreAdyen.label= Merchant Store Adyen
# Fechamento Conta Contábil Agencia # Fechamento Conta Contábil Agencia
editarPuntoVentaController.puntoventa.label = Agencia editarPuntoVentaController.puntoventa.label = Agencia
@ -7227,6 +7234,11 @@ busquedaTarjetaCreditoController.tasa.label = Intereses
busquedaTarjetaCreditoController.parcelaMinima.label = Parcela Mínima busquedaTarjetaCreditoController.parcelaMinima.label = Parcela Mínima
busquedaTarjetaCreditoController.indAplicarJuros.label = Aplicar juros venda busquedaTarjetaCreditoController.indAplicarJuros.label = Aplicar juros venda
editarConexionController.labelDesconto.value=Desconto
editarConexionController.labelPricing.value=Pricing
editarConexionController.botaoFiltrar.value=Filtrar
editarConexionController.botaoLimparFiltros.value=Limpar Filtros
#Editar Tarjeta Credito #Editar Tarjeta Credito
editarTarjetaCreditoController.window.title = Tarjeta de crédito editarTarjetaCreditoController.window.title = Tarjeta de crédito
editarTarjetaCreditoController.btnApagar.tooltiptext = Eliminar editarTarjetaCreditoController.btnApagar.tooltiptext = Eliminar

View File

@ -1036,6 +1036,11 @@ relatorioSapController.lbValor.value = Valor
relatorioSapController.lbFechamento.value = Fechamento relatorioSapController.lbFechamento.value = Fechamento
relatorioSapController.lbStatus.value = Situação relatorioSapController.lbStatus.value = Situação
relatorioSapController.MGS.erroSemEmpresa = Escolha uma empresa relatorioSapController.MGS.erroSemEmpresa = Escolha uma empresa
relatorioSapController.MGS.erroNaoIntegrado = Registros não integrados
relatorioSapController.MGS.erroIntegradoParcial = Alguns registros não foram integrados, favor filtrar novamente para verificar
relatorioSapController.MGS.erroIntegrado = Todos registros foram integrados com sucesso
relatorioSapController.MGS.rotinaIniciada = Rotina de integração automática iniciada
relatorioSapController.MGS.erroIntegraManual = Execução manual de integração com SAP
relatorioSapController.MGS.alertaArquivoRemessaNaoGerado = Arquivo de remessa não pôde ser criado, favor entrar em contato com o suporte. relatorioSapController.MGS.alertaArquivoRemessaNaoGerado = Arquivo de remessa não pôde ser criado, favor entrar em contato com o suporte.
relatorioSapController.MGS.alertaCNABSemItens = Não há itens fechamento a enviar para esta empresa relatorioSapController.MGS.alertaCNABSemItens = Não há itens fechamento a enviar para esta empresa
filtroRelatorioSap.window.title=Integração SAP filtroRelatorioSap.window.title=Integração SAP
@ -1745,6 +1750,7 @@ editarEmpresaController.restricaoZ.label= Restringe Venda se Red. Z não emitida
editarEmpresaController.utilizaFidelidade.label= Utiliza projeto fidelidade editarEmpresaController.utilizaFidelidade.label= Utiliza projeto fidelidade
editarEmpresaController.indProducao.label= Venda em Produção editarEmpresaController.indProducao.label= Venda em Produção
editarEmpresaController.apiKey.label= API Key editarEmpresaController.apiKey.label= API Key
editarEmpresaController.merchantAccountAdyen.label= Merchant Account Adyen
editarEmpresaController.antiFraude.label = Antifraude editarEmpresaController.antiFraude.label = Antifraude
editarEmpresaController.antiFraude.chave.label = Chave Antifraude editarEmpresaController.antiFraude.chave.label = Chave Antifraude
editarEmpresaController.restricaoZ.sim=Sim editarEmpresaController.restricaoZ.sim=Sim
@ -2239,6 +2245,7 @@ editarPuntoVentaController.lbQrcodeTaxaEmbarqueRodTTL.label= Imprimir na venda o
editarPuntoVentaController.checkIndBloqueioDescontoAPI.label = Bloquear desconto via API editarPuntoVentaController.checkIndBloqueioDescontoAPI.label = Bloquear desconto via API
editarPuntoVentaController.checkIndBloqueioDescontoWEB.label = Bloquear desconto via Internet editarPuntoVentaController.checkIndBloqueioDescontoWEB.label = Bloquear desconto via Internet
editarPuntoVentaController.merchantStoreAdyen.label= Merchant Store Adyen
# Editar comissão ponto de venda # Editar comissão ponto de venda
editarPuntoVentaComissaoController.window.title = Comissão Empresa/Ponto de Venda - {0} editarPuntoVentaComissaoController.window.title = Comissão Empresa/Ponto de Venda - {0}
@ -7232,6 +7239,11 @@ editarConexionPorRutaController.MSG.ApagarOK = Conexão removida com sucesso.
editarConexionPorRutaController.MSG.PerguntaApagar = Deseja remover essa Conexão ? editarConexionPorRutaController.MSG.PerguntaApagar = Deseja remover essa Conexão ?
editarConexionPorRutaController.MSG.SequenciaEixOK = Inserir as linhas nas sequências dos eixos. 1º Eixo A, 2º Eixo B, 3º Eixo C editarConexionPorRutaController.MSG.SequenciaEixOK = Inserir as linhas nas sequências dos eixos. 1º Eixo A, 2º Eixo B, 3º Eixo C
editarConexionController.labelDesconto.value=Desconto
editarConexionController.labelPricing.value=Pricing
editarConexionController.botaoFiltrar.value=Filtrar
editarConexionController.botaoLimparFiltros.value=Limpar Filtros
#Busqueda param conexion #Busqueda param conexion
busquedaParamConexionController.window.title=Parâmetros de Conexão busquedaParamConexionController.window.title=Parâmetros de Conexão
busquedaParamConexionController.btnRefresh.tooltiptext=Atualizar busquedaParamConexionController.btnRefresh.tooltiptext=Atualizar
@ -9308,7 +9320,7 @@ relatorioRemessaCNAB.MGS.alertaArquivoRemessaNaoGerado = Arquivo de remessa não
relatorioRemessaCNAB.MGS.alertaCNABSemItens = Não há itens boletos a enviar para gerar o Arquivo de Remessa para esta empresa relatorioRemessaCNAB.MGS.alertaCNABSemItens = Não há itens boletos a enviar para gerar o Arquivo de Remessa para esta empresa
# Retorno Bancario # Retorno Bancario
indexController.mniRelatorioRetornoBancario.label = Retorno Bancário indexController.mniRelatorioRetornoBancario.label = Retorno Bancário Itau
relatorioRetornoBancario.window.title = Processamento de Retorno Bancário relatorioRetornoBancario.window.title = Processamento de Retorno Bancário
relatorioRetornoBancario.fileupload.label = Selecionar Arquivo... relatorioRetornoBancario.fileupload.label = Selecionar Arquivo...
relatorioRetornoBancario.lbEmpresa.value = Empresa relatorioRetornoBancario.lbEmpresa.value = Empresa

File diff suppressed because it is too large Load Diff

View File

@ -499,7 +499,16 @@
<label <label
value="${c:l('editarPuntoVentaController.checkIndBloqueioDescontoWEB.label')}" /> value="${c:l('editarPuntoVentaController.checkIndBloqueioDescontoWEB.label')}" />
<checkbox id="checkIndBloqueioDescontoWEB" checked="@{winEditarPuntoVenta$composer.puntoVenta.indBloquearDescontoWEB}" /> <checkbox id="checkIndBloqueioDescontoWEB" checked="@{winEditarPuntoVenta$composer.puntoVenta.indBloquearDescontoWEB}" />
</row> </row>
<row>
<label
value="${c:l('editarPuntoVentaController.merchantStoreAdyen.label')}" />
<textbox id="txtMerchantStoreAdyen"
width="70%" maxlength="200"
value="@{winEditarPuntoVenta$composer.puntoVenta.merchantStoreAdyen}"
/>
</row>
</rows> </rows>
</grid> </grid>
</tabpanel> </tabpanel>

View File

@ -6,7 +6,7 @@
<zk> <zk>
<window id="winEditarConexionPorRuta" border="normal" width="1100px" <window id="winEditarConexionPorRuta" border="normal" width="1100px"
apply="${gerarConexionPorRutaController}" height="600px" apply="${gerarConexionPorRutaController}" height="600px" sizable="true"
title="${c:l('editarConexionPorRutaController.window.title')}"> title="${c:l('editarConexionPorRutaController.window.title')}">
<style dynamic="true"> <style dynamic="true">
@ -34,10 +34,11 @@
<grid fixedLayout="true"> <grid fixedLayout="true">
<columns> <columns>
<column width="10%" /> <column width="10%" />
<column width="90%" /> <column width="40%" />
<column width="50%" />
</columns> </columns>
<rows> <rows>
<row> <row spans="1,2">
<label value="${c:l('editarConexionPorRutaController.labelDescricao.value')}" /> <label value="${c:l('editarConexionPorRutaController.labelDescricao.value')}" />
<textbox id="txtDescricao" width="99%" <textbox id="txtDescricao" width="99%"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" /> use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
@ -46,14 +47,19 @@
<label <label
value="${c:l('editarConexionController.labelTiempoEspera.value')}" /> value="${c:l('editarConexionController.labelTiempoEspera.value')}" />
<hlayout> <hlayout>
<label style="padding-right:35px" <label
value="${c:l('editarConexionController.labelTiempoMin.value')}" /> value="${c:l('editarConexionController.labelTiempoMin.value')}" />
<intbox id="txtTiempoMin" maxlength="7"/> <intbox id="txtTiempoMin" maxlength="7"/>
<label <label
style="padding-left:70px; padding-right:35px"
value="${c:l('editarConexionController.labelTiempoMax.value')}" /> value="${c:l('editarConexionController.labelTiempoMax.value')}" />
<intbox id="txtTiempoMax" maxlength="7"/> <intbox id="txtTiempoMax" maxlength="7"/>
</hlayout> </hlayout>
<hlayout>
<label value="${c:l('editarConexionController.labelDesconto.value')}" />
<doublebox id="txtDesconto" maxlength="7"/>
</hlayout>
</row> </row>
</rows> </rows>
</grid> </grid>
@ -418,7 +424,42 @@
5px 2px #8e8e8e inset; box-shadow: 0 0 5px 2px 5px 2px #8e8e8e inset; box-shadow: 0 0 5px 2px
#8e8e8e inset; cursor: pointer; text-shadow: 0.3px #8e8e8e inset; cursor: pointer; text-shadow: 0.3px
0.3px 0.3px #ffffff; } 0.3px 0.3px #ffffff; }
</style> </style>
<grid fixedLayout="true">
<columns>
<column width="100%" />
</columns>
<rows>
<row>
<hlayout>
<label
value="${c:l('editarConexionController.labelOrigenConexaoPasso1.value')}" />
<combobox id="cmbOrigemConexao"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
mold="rounded" buttonVisible="true" width="250px"
model="@{winEditarConexionPorRuta$composer.lsOrigemConexao}" />
<label
value="${c:l('editarConexionController.labelDestinoConexaoPasso1.value')}" />
<combobox id="cmbDestinoConexao"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
mold="rounded" buttonVisible="true" width="250px"
model="@{winEditarConexionPorRuta$composer.lsDestinoConexao}"/>
<label value="${c:l('editarConexionController.labelPricing.value')}" style="margin-left:30%; margin-right:10%" />
<checkbox id="chkUtilizaPricing" style="margin-left:30%; margin-right:10%" />
<button id="btnFiltrar" width="80px" height="25px" style="margin-left:30% "
label="${c:l('editarConexionController.botaoFiltrar.value')}" />
<button id="btnLimpraFiltros" width="100px" height="25px" style="margin-left:50% "
label="${c:l('editarConexionController.botaoLimparFiltros.value')}" />
</hlayout>
</row>
</rows>
</grid>
<listbox id="localidadesCombinadasList" <listbox id="localidadesCombinadasList"
mold="paging" mold="paging"
@ -438,10 +479,13 @@
width="50%" /> width="50%" />
<listheader align="center" <listheader align="center"
label="${c:l('editarConexionPorRutaController.labelGrupo.value')}" label="${c:l('editarConexionPorRutaController.labelGrupo.value')}"
width="50%" /> width="20%" />
<listheader align="center" <listheader align="center"
label="${c:l('editarConexionPorRutaController.labelSecuencia.value')}" label="${c:l('editarConexionPorRutaController.labelSecuencia.value')}"
width="50%" /> width="20%" />
<listheader align="center"
label="${c:l('editarConexionController.labelPricing.value')}"
width="20%" />
</listhead> </listhead>
</listbox> </listbox>