Ajustes RDA

- Seleção de estados multipla;
 - Novas colunas;
 - Filtro de empresa baseado na corrida.

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@29892 d1611594-4594-4d17-8e1d-87c2c4800839
master
bruno 2013-08-12 21:54:30 +00:00
parent 10747ce60a
commit 4af5a03ffe
7 changed files with 282 additions and 135 deletions

View File

@ -13,6 +13,7 @@ import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import com.rjconsultores.ventaboletos.entidad.Estado;
import com.rjconsultores.ventaboletos.entidad.PuntoVenta;
import com.rjconsultores.ventaboletos.relatorios.negocio.CalculoImposto;
import com.rjconsultores.ventaboletos.relatorios.utilitarios.ArrayDataSource;
@ -48,10 +49,10 @@ public class RelatorioReceitaDiariaAgencia extends Relatorio {
return BigDecimal.ZERO;
}
else if (fieldName.equals("RECEITA_TOTAL")) {
return ((BigDecimal) this.getByName("RECEITA_TARIFA")).add((BigDecimal) this.getByName("RECEITA_SEGURO")).add((BigDecimal) this.getByName("RECEITA_BAGAGEM")).subtract((BigDecimal) this.getByName("TOTAL_DEVOL"));
return ((BigDecimal) this.getByName("RECEITA_TARIFA")).add((BigDecimal) this.getByName("RECEITA_SEGURO")).add((BigDecimal) this.getByName("RECEITA_BAGAGEM")).add((BigDecimal) this.getByName("RECEITA_EMBARQUE")).subtract((BigDecimal) this.getByName("TOTAL_DEVOL"));
}
else if (fieldName.equals("RECEITA_LIQUIDA")) {
return ((BigDecimal) this.getByName("RECEITA_TARIFA")).add((BigDecimal) this.getByName("RECEITA_SEGURO")).add((BigDecimal) this.getByName("RECEITA_BAGAGEM")).subtract((BigDecimal) this.getByName("TOTAL_DEVOL")).subtract((BigDecimal) this.getByName("IMPOSTOS"));
return ((BigDecimal) this.getByName("RECEITA_TARIFA")).add((BigDecimal) this.getByName("RECEITA_SEGURO")).add((BigDecimal) this.getByName("RECEITA_BAGAGEM")).add((BigDecimal) this.getByName("RECEITA_EMBARQUE")).subtract((BigDecimal) this.getByName("TOTAL_DEVOL")).subtract((BigDecimal) this.getByName("IMPOSTOS"));
}
else if (fieldName.equals("DIFERENCA_COMISSAO")) {
return ((BigDecimal) this.getByName("VALOR_COMISSAO")).subtract((BigDecimal) this.getByName("ANTECIPACAO"));
@ -78,10 +79,23 @@ public class RelatorioReceitaDiariaAgencia extends Relatorio {
else
stmt.setString("NUMPUNTOVENTA", null);
if (parametros.get("ESTADO_ID") != null)
stmt.setInt("ESTADO_ID", (Integer) parametros.get("ESTADO_ID"));
else
if (parametros.get("ESTADO_ID") != null){
StringBuilder strEstadoList = new StringBuilder();
for (Estado s : (ArrayList<Estado>) parametros.get("ESTADO_ID")) {
strEstadoList.append("," + s.getEstadoId() + ",");
}
stmt.setString("ESTADO_ID", strEstadoList.toString());
stmt.setString("ISESTADOTODOS", "N");
}
else{
stmt.setNull("ESTADO_ID", java.sql.Types.INTEGER);
stmt.setString("ISESTADOTODOS", "S");
}
if (parametros.get("EMPRESA_ID") != null)
stmt.setInt("EMPRESA_ID", (Integer) parametros.get("EMPRESA_ID"));
else
@ -274,6 +288,9 @@ public class RelatorioReceitaDiariaAgencia extends Relatorio {
row.put("RECEITA_OUTROS_GAP", ((BigDecimal) row.get("RECEITA_OUTROS_GAP")).add((tipoVentaId.equals(18) || tipoVentaId.equals(39)) && this.resultSet.getBigDecimal("IMPORTEOUTROS") != null ? this.resultSet.getBigDecimal("IMPORTEOUTROS") : BigDecimal.ZERO));
row.put("RECEITA_PEDAGIO", ((BigDecimal) row.get("RECEITA_PEDAGIO")).add(!tipoVentaId.equals(18) && !tipoVentaId.equals(39) && this.resultSet.getBigDecimal("IMPORTEPEDAGIO") != null ? this.resultSet.getBigDecimal("IMPORTEPEDAGIO") : BigDecimal.ZERO));
row.put("RECEITA_PEDAGIO_GAP", ((BigDecimal) row.get("RECEITA_PEDAGIO_GAP")).add((tipoVentaId.equals(18) || tipoVentaId.equals(39)) && this.resultSet.getBigDecimal("IMPORTEPEDAGIO") != null ? this.resultSet.getBigDecimal("IMPORTEPEDAGIO") : BigDecimal.ZERO));
row.put("RECEITA_EMBARQUE", ((BigDecimal) row.get("RECEITA_EMBARQUE")).add(!tipoVentaId.equals(18) && !tipoVentaId.equals(39) && this.resultSet.getBigDecimal("IMPORTETAXAEMBARQUE") != null ? this.resultSet.getBigDecimal("IMPORTETAXAEMBARQUE") : BigDecimal.ZERO));
row.put("RECEITA_EMBARQUE_GAP", ((BigDecimal) row.get("RECEITA_EMBARQUE_GAP")).add((tipoVentaId.equals(18) || tipoVentaId.equals(39)) && this.resultSet.getBigDecimal("IMPORTETAXAEMBARQUE") != null ? this.resultSet.getBigDecimal("IMPORTETAXAEMBARQUE") : BigDecimal.ZERO));
row.put("IMPOSTOS", ((BigDecimal) row.get("IMPOSTOS")).add(!tipoVentaId.equals(18) || (tipoVentaId.equals(18) && (Boolean) this.relatorio.getParametros().get("B_CONTEMPLAR_GAP")) ? getValorImposto(puntoVentaId, this.resultSet.getString("INTERESTADUAL"), this.resultSet.getBigDecimal("PRECIOPAGADO"), this.resultSet.getBigDecimal("IMPORTESEGURO"), this.resultSet.getBigDecimal("IMPORTETAXAEMBARQUE"), this.resultSet.getBigDecimal("IMPORTEPEDAGIO")) : BigDecimal.ZERO));
// Realiza os calculos de comissão se o tipo de venda não for "EM ABERTO" e se for venda normal, ou se for GAP e o check estiver marcado
if (!tipoVentaId.equals(9) && ((!tipoVentaId.equals(18) && !tipoVentaId.equals(39)) || ((tipoVentaId.equals(18) || tipoVentaId.equals(39)) && (Boolean) this.relatorio.getParametros().get("B_CONTEMPLAR_GAP"))))
@ -556,10 +573,12 @@ public class RelatorioReceitaDiariaAgencia extends Relatorio {
sql.append(" AND CJ.INDREIMPRESION = 0 ");
sql.append(" AND PV.TIPOPTOVTA_ID = NVL(:TIPOPTOVTA_ID, PV.TIPOPTOVTA_ID) ");
sql.append(" AND TP.TIPOPTOVTA_ID = PV.TIPOPTOVTA_ID ");
sql.append(" AND CJ.EMPRESAPUNTOVENTA_ID = NVL(:EMPRESA_ID, CJ.EMPRESAPUNTOVENTA_ID) ");
sql.append(" AND ES.ESTADO_ID = NVL(:ESTADO_ID, ES.ESTADO_ID) ");
sql.append(" AND CJ.EMPRESACORRIDA_ID = NVL(:EMPRESA_ID, CJ.EMPRESACORRIDA_ID) ");
//sql.append(" AND ES.ESTADO_ID = NVL(:ESTADO_ID, ES.ESTADO_ID) ");
sql.append(" AND ((INSTR(:NUMPUNTOVENTA, ',' || TRIM(PV.NUMPUNTOVENTA) || ',') > 0 AND ");
sql.append(" :ISNUMPUNTOVENTATODOS = 'N') OR (:ISNUMPUNTOVENTATODOS = 'S')) ");
sql.append(" AND ((INSTR(:ESTADO_ID, ',' || TRIM(ES.ESTADO_ID) || ',') > 0 AND ");
sql.append(" :ISESTADOTODOS = 'N') OR (:ISESTADOTODOS = 'S')) ");
return sql.toString();
}

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="RelatorioReceitaDiariaAgencia" pageWidth="842" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="c5fca8ba-9c4b-4e17-9986-a053943688db">
<property name="ireport.zoom" value="3.0"/>
<property name="ireport.x" value="1541"/>
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="RelatorioReceitaDiariaAgencia" pageWidth="842" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="822" leftMargin="10" rightMargin="10" topMargin="20" bottomMargin="20" uuid="c5fca8ba-9c4b-4e17-9986-a053943688db">
<property name="ireport.zoom" value="2.0"/>
<property name="ireport.x" value="223"/>
<property name="ireport.y" value="0"/>
<style name="Title" fontName="Times New Roman" fontSize="50" isBold="true" pdfFontName="Times-Bold"/>
<style name="SubTitle" forecolor="#736343" fontName="SansSerif" fontSize="18"/>
@ -244,6 +244,8 @@
<field name="ANTECIPACAO" class="java.math.BigDecimal"/>
<field name="RECEITA_PEDAGIO" class="java.math.BigDecimal"/>
<field name="RECEITA_PEDAGIO_GAP" class="java.math.BigDecimal"/>
<field name="RECEITA_EMBARQUE" class="java.math.BigDecimal"/>
<field name="RECEITA_EMBARQUE_GAP" class="java.math.BigDecimal"/>
<sortField name="CVEESTADO"/>
<variable name="TOTAL_BILHETES_SUM" class="java.math.BigDecimal" resetType="Group" resetGroup="GRUPO_ESTADO" calculation="Sum">
<variableExpression><![CDATA[$F{TOTAL_BILHETES}]]></variableExpression>
@ -296,24 +298,30 @@
<variable name="RECEITA_PEDAGIO_GAP" class="java.math.BigDecimal" resetType="Group" resetGroup="GRUPO_ESTADO" calculation="Sum">
<variableExpression><![CDATA[$F{RECEITA_PEDAGIO_GAP}]]></variableExpression>
</variable>
<variable name="RECEITA_EMBARQUE_SUM" class="java.math.BigDecimal" resetType="Group" resetGroup="GRUPO_ESTADO" calculation="Sum">
<variableExpression><![CDATA[$F{RECEITA_EMBARQUE}]]></variableExpression>
</variable>
<variable name="RECEITA_EMBARQUE_GAP" class="java.math.BigDecimal" resetType="Group" resetGroup="GRUPO_ESTADO" calculation="Sum">
<variableExpression><![CDATA[$F{RECEITA_EMBARQUE_GAP}]]></variableExpression>
</variable>
<group name="GRUPO_ESTADO">
<groupExpression><![CDATA[$F{CVEESTADO}]]></groupExpression>
<groupFooter>
<band height="15">
<line>
<reportElement uuid="479bbc53-bfef-4007-a5f5-94b6eff14400" positionType="FixRelativeToBottom" x="0" y="0" width="801" height="1"/>
<reportElement uuid="479bbc53-bfef-4007-a5f5-94b6eff14400" positionType="FixRelativeToBottom" x="0" y="0" width="821" height="1"/>
<graphicElement>
<pen lineWidth="0.5" lineColor="#999999"/>
</graphicElement>
</line>
<line>
<reportElement uuid="8e892f70-7671-4f8b-ba54-a1308c2bbf70" positionType="FixRelativeToBottom" x="0" y="14" width="801" height="1"/>
<reportElement uuid="8e892f70-7671-4f8b-ba54-a1308c2bbf70" positionType="FixRelativeToBottom" x="0" y="14" width="821" height="1"/>
<graphicElement>
<pen lineWidth="0.5" lineColor="#999999"/>
</graphicElement>
</line>
<staticText>
<reportElement uuid="62260c71-5c44-400d-8048-b5076630da1b" mode="Transparent" x="0" y="0" width="71" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="62260c71-5c44-400d-8048-b5076630da1b" mode="Transparent" x="0" y="0" width="94" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -321,7 +329,7 @@
<text><![CDATA[Total da UF]]></text>
</staticText>
<textField pattern="" isBlankWhenNull="false">
<reportElement uuid="1822c753-da5f-4143-820b-5eeb890867ab" mode="Transparent" x="71" y="0" width="29" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="1822c753-da5f-4143-820b-5eeb890867ab" mode="Transparent" x="94" y="0" width="29" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -329,7 +337,7 @@
<textFieldExpression><![CDATA[$V{TOTAL_BILHETES_SUM}]]></textFieldExpression>
</textField>
<textField pattern="#,##0.00" isBlankWhenNull="false">
<reportElement uuid="5b9a67a1-30db-4fd6-9636-3871e514dd4a" mode="Transparent" x="100" y="0" width="62" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="5b9a67a1-30db-4fd6-9636-3871e514dd4a" mode="Transparent" x="123" y="0" width="59" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -337,7 +345,7 @@
<textFieldExpression><![CDATA[$V{RECEITA_TARIFA_SUM}]]></textFieldExpression>
</textField>
<textField pattern="#,##0.00" isBlankWhenNull="false">
<reportElement uuid="87542156-d9ea-472e-b425-308a8fa66ca1" mode="Transparent" x="162" y="0" width="42" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="87542156-d9ea-472e-b425-308a8fa66ca1" mode="Transparent" x="182" y="0" width="39" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -345,7 +353,7 @@
<textFieldExpression><![CDATA[$V{RECEITA_SEGURO_SUM}]]></textFieldExpression>
</textField>
<textField pattern="#,##0.00" isBlankWhenNull="false">
<reportElement uuid="5967aa4f-f97a-4647-99fb-37ae2709a068" mode="Transparent" x="246" y="0" width="46" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="5967aa4f-f97a-4647-99fb-37ae2709a068" mode="Transparent" x="260" y="0" width="35" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -353,7 +361,7 @@
<textFieldExpression><![CDATA[$V{RECEITA_BAGAGEM_SUM}]]></textFieldExpression>
</textField>
<textField pattern="#,##0.00" isBlankWhenNull="false">
<reportElement uuid="e509cc8c-a4ea-4928-bbce-1a80ea7524f1" mode="Transparent" x="327" y="0" width="38" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="e509cc8c-a4ea-4928-bbce-1a80ea7524f1" mode="Transparent" x="369" y="0" width="35" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -361,7 +369,7 @@
<textFieldExpression><![CDATA[$V{RECEITA_TARIFA_GAP}]]></textFieldExpression>
</textField>
<textField pattern="#,##0.00" isBlankWhenNull="false">
<reportElement uuid="d1dfd492-5eb5-405f-b92d-da78c30127f7" mode="Transparent" x="292" y="0" width="35" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="d1dfd492-5eb5-405f-b92d-da78c30127f7" mode="Transparent" x="330" y="0" width="35" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -369,7 +377,7 @@
<textFieldExpression><![CDATA[$V{TOTAL_DEVOL_SUM}]]></textFieldExpression>
</textField>
<textField pattern="#,##0.00" isBlankWhenNull="false">
<reportElement uuid="70efadc9-0551-41d1-8a54-512615ddf0db" mode="Transparent" x="447" y="0" width="39" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="70efadc9-0551-41d1-8a54-512615ddf0db" mode="Transparent" x="509" y="0" width="37" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -377,7 +385,7 @@
<textFieldExpression><![CDATA[$V{TOTAL_DEVOL_GAP}]]></textFieldExpression>
</textField>
<textField pattern="#,##0.00" isBlankWhenNull="false">
<reportElement uuid="fdac474f-3490-4639-831f-7168be228ca3" mode="Transparent" x="365" y="0" width="41" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="fdac474f-3490-4639-831f-7168be228ca3" mode="Transparent" x="404" y="0" width="35" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -385,7 +393,7 @@
<textFieldExpression><![CDATA[$V{RECEITA_SEGURO_GAP}]]></textFieldExpression>
</textField>
<textField pattern="#,##0.00" isBlankWhenNull="false">
<reportElement uuid="a359bde7-b7fe-4b71-bf27-4675f9b3f5b2" mode="Transparent" x="486" y="0" width="57" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="a359bde7-b7fe-4b71-bf27-4675f9b3f5b2" mode="Transparent" x="546" y="0" width="57" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -393,7 +401,7 @@
<textFieldExpression><![CDATA[$V{RECEITA_TOTAL_SUM}]]></textFieldExpression>
</textField>
<textField pattern="#,##0.00" isBlankWhenNull="false">
<reportElement uuid="8649a7fe-2b8b-4aaf-9b47-53721663e978" mode="Transparent" x="543" y="0" width="37" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="8649a7fe-2b8b-4aaf-9b47-53721663e978" mode="Transparent" x="603" y="0" width="27" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -401,7 +409,7 @@
<textFieldExpression><![CDATA[$V{IMPOSTOS_SUM}]]></textFieldExpression>
</textField>
<textField pattern="#,##0.00" isBlankWhenNull="false">
<reportElement uuid="fa48c687-c1cb-4166-b96d-24955cb277ee" mode="Transparent" x="580" y="0" width="58" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="fa48c687-c1cb-4166-b96d-24955cb277ee" mode="Transparent" x="630" y="0" width="58" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -409,7 +417,7 @@
<textFieldExpression><![CDATA[$V{RECEITA_LIQUIDA_SUM}]]></textFieldExpression>
</textField>
<textField pattern="#,##0.00" isBlankWhenNull="false">
<reportElement uuid="1c62672c-7ff7-4c84-8048-b776a6d621c6" mode="Transparent" x="638" y="0" width="31" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="1c62672c-7ff7-4c84-8048-b776a6d621c6" mode="Transparent" x="688" y="0" width="31" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -417,7 +425,7 @@
<textFieldExpression><![CDATA[$V{VALOR_COMISSAO_SUM}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="false">
<reportElement uuid="d380f48c-42b4-4b8e-824e-9c38eb71c5c9" mode="Transparent" x="765" y="0" width="36" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="d380f48c-42b4-4b8e-824e-9c38eb71c5c9" mode="Transparent" x="785" y="0" width="36" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -425,7 +433,7 @@
<textFieldExpression><![CDATA[$V{TOTAL_BILHETES_CANC_SUM}]]></textFieldExpression>
</textField>
<textField pattern="#,##0.00" isBlankWhenNull="false">
<reportElement uuid="58bd07c1-a411-453b-896e-3bac89c3dee7" mode="Transparent" x="713" y="0" width="31" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="58bd07c1-a411-453b-896e-3bac89c3dee7" mode="Transparent" x="744" y="0" width="20" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -433,7 +441,7 @@
<textFieldExpression><![CDATA[$V{DIFERENCA_COMISSAO_1}]]></textFieldExpression>
</textField>
<textField pattern="#,##0.00" isBlankWhenNull="false">
<reportElement uuid="16fd71bc-b3db-4b42-9a4a-36645439b82e" mode="Transparent" x="669" y="0" width="44" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="16fd71bc-b3db-4b42-9a4a-36645439b82e" mode="Transparent" x="719" y="0" width="25" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -441,7 +449,7 @@
<textFieldExpression><![CDATA[$V{ANTECIPACAO_1}]]></textFieldExpression>
</textField>
<textField pattern="#,##0.00" isBlankWhenNull="false">
<reportElement uuid="d15f0fbf-dc37-48ca-a772-c16145547df1" mode="Transparent" x="204" y="0" width="42" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="d15f0fbf-dc37-48ca-a772-c16145547df1" mode="Transparent" x="221" y="0" width="39" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -449,13 +457,29 @@
<textFieldExpression><![CDATA[$V{RECEITA_PEDAGIO_SUM}]]></textFieldExpression>
</textField>
<textField pattern="#,##0.00" isBlankWhenNull="false">
<reportElement uuid="239de9e9-a3cb-488b-9ebd-41cbb9327c9f" mode="Transparent" x="406" y="0" width="41" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="239de9e9-a3cb-488b-9ebd-41cbb9327c9f" mode="Transparent" x="439" y="0" width="35" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$V{RECEITA_PEDAGIO_GAP}]]></textFieldExpression>
</textField>
<textField pattern="#,##0.00" isBlankWhenNull="false">
<reportElement uuid="65263782-8402-4e3b-84ce-c6e9035c3a15" mode="Transparent" x="474" y="0" width="35" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$V{RECEITA_EMBARQUE_GAP}]]></textFieldExpression>
</textField>
<textField pattern="#,##0.00" isBlankWhenNull="false">
<reportElement uuid="af8ef052-2dda-442c-8242-51460fc766d7" mode="Transparent" x="295" y="0" width="35" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$V{RECEITA_EMBARQUE_SUM}]]></textFieldExpression>
</textField>
</band>
</groupFooter>
</group>
@ -465,7 +489,7 @@
<pageHeader>
<band height="68" splitType="Stretch">
<textField pattern="" isBlankWhenNull="false">
<reportElement uuid="d21432b0-fce0-450d-9b7b-cdea77833d38" mode="Transparent" x="5" y="22" width="257" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="d21432b0-fce0-450d-9b7b-cdea77833d38" mode="Transparent" x="0" y="22" width="257" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -473,7 +497,7 @@
<textFieldExpression><![CDATA[$P{NOME_RELATORIO}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="false">
<reportElement uuid="02d24cc7-5f1d-47f7-a2e9-2ef879e77e4c" mode="Transparent" x="5" y="37" width="44" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="02d24cc7-5f1d-47f7-a2e9-2ef879e77e4c" mode="Transparent" x="0" y="37" width="44" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -481,7 +505,7 @@
<textFieldExpression><![CDATA[$R{cabecalho.periodo}]]></textFieldExpression>
</textField>
<textField pattern="dd/MM/yyyy" isBlankWhenNull="false">
<reportElement uuid="301c617e-56e5-490d-bd3f-75802c30eca2" mode="Transparent" x="50" y="37" width="51" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="301c617e-56e5-490d-bd3f-75802c30eca2" mode="Transparent" x="45" y="37" width="51" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -489,7 +513,7 @@
<textFieldExpression><![CDATA[$P{DATA_INICIO}]]></textFieldExpression>
</textField>
<textField pattern="dd/MM/yyyy" isBlankWhenNull="false">
<reportElement uuid="a9a25cd6-d853-4d96-a32f-e7add83bc119" mode="Transparent" x="111" y="37" width="51" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="a9a25cd6-d853-4d96-a32f-e7add83bc119" mode="Transparent" x="106" y="37" width="51" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -497,7 +521,7 @@
<textFieldExpression><![CDATA[$P{DATA_FINAL}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="false">
<reportElement uuid="596e008c-0f33-4c36-9ef5-0d20eb9a5329" mode="Transparent" x="101" y="37" width="10" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="596e008c-0f33-4c36-9ef5-0d20eb9a5329" mode="Transparent" x="96" y="37" width="10" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -505,7 +529,7 @@
<textFieldExpression><![CDATA[$R{cabecalho.periodoA}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="false">
<reportElement uuid="a2d42009-b404-4228-9c01-29b30186a756" mode="Transparent" x="5" y="2" width="145" height="20" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="a2d42009-b404-4228-9c01-29b30186a756" mode="Transparent" x="0" y="2" width="145" height="20" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="12" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -513,7 +537,7 @@
<textFieldExpression><![CDATA[$P{EMPRESA_NOME}]]></textFieldExpression>
</textField>
<textField pattern="dd/MM/yyyy HH:mm" isBlankWhenNull="false">
<reportElement uuid="f3e39ff9-c583-4ecc-91c1-b7a567c89a69" mode="Transparent" x="713" y="3" width="89" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="f3e39ff9-c583-4ecc-91c1-b7a567c89a69" mode="Transparent" x="732" y="3" width="89" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -521,17 +545,17 @@
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
</textField>
<line>
<reportElement uuid="784343bf-ecf0-432b-af7c-58287bd3845e" x="0" y="51" width="801" height="1"/>
<reportElement uuid="784343bf-ecf0-432b-af7c-58287bd3845e" x="0" y="51" width="821" height="1"/>
</line>
<textField>
<reportElement uuid="b68ae40a-dbf1-4aca-8df9-48eb18c8589d" x="631" y="3" width="80" height="15"/>
<reportElement uuid="b68ae40a-dbf1-4aca-8df9-48eb18c8589d" x="650" y="3" width="80" height="15"/>
<textElement textAlignment="Right">
<font size="9" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$R{cabecalho.dataHora}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="false">
<reportElement uuid="c34699cb-6a28-4ba6-83e1-d455d2a7c1d8" mode="Transparent" x="702" y="35" width="100" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="c34699cb-6a28-4ba6-83e1-d455d2a7c1d8" mode="Transparent" x="721" y="35" width="100" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -539,7 +563,7 @@
<textFieldExpression><![CDATA[$R{cabecalho.impressorPor}+" "+$P{USUARIO}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="false">
<reportElement uuid="3def105e-361f-4161-a44e-717cfcd1c464" mode="Transparent" x="5" y="53" width="45" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="3def105e-361f-4161-a44e-717cfcd1c464" mode="Transparent" x="0" y="53" width="45" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -547,14 +571,14 @@
<textFieldExpression><![CDATA[$R{cabecalho.filtros}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="75824227-df57-48bc-950f-788e1bf6e304" x="51" y="53" width="717" height="14"/>
<reportElement uuid="75824227-df57-48bc-950f-788e1bf6e304" x="46" y="53" width="770" height="14"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$P{FILTROS}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="false">
<reportElement uuid="5708d196-eaa0-4e83-a7f7-a3449fed130c" mode="Transparent" x="685" y="19" width="105" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="5708d196-eaa0-4e83-a7f7-a3449fed130c" mode="Transparent" x="704" y="19" width="105" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -562,7 +586,7 @@
<textFieldExpression><![CDATA[$R{cabecalho.pagina}+" "+$V{PAGE_NUMBER}+" "+$R{cabecalho.de}]]></textFieldExpression>
</textField>
<textField evaluationTime="Report" pattern="" isBlankWhenNull="false">
<reportElement uuid="73324e34-ebb9-4015-bda0-d525119556c7" mode="Transparent" x="792" y="19" width="10" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="73324e34-ebb9-4015-bda0-d525119556c7" mode="Transparent" x="811" y="19" width="10" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -572,141 +596,141 @@
</band>
</pageHeader>
<columnHeader>
<band height="16" splitType="Stretch">
<band height="26" splitType="Stretch">
<line>
<reportElement uuid="f72cb4df-3356-4874-b805-90039927d88a" positionType="FixRelativeToBottom" x="0" y="15" width="801" height="1"/>
<reportElement uuid="f72cb4df-3356-4874-b805-90039927d88a" positionType="FixRelativeToBottom" x="0" y="25" width="821" height="1"/>
<graphicElement>
<pen lineWidth="0.5" lineColor="#999999"/>
</graphicElement>
</line>
<staticText>
<reportElement uuid="b82388b4-1e64-4f98-950d-a6b07d87c1e0" style="Column header" x="0" y="1" width="18" height="14" forecolor="#000000"/>
<reportElement uuid="b82388b4-1e64-4f98-950d-a6b07d87c1e0" style="Column header" x="0" y="11" width="12" height="14" forecolor="#000000"/>
<textElement>
<font size="6" isBold="false"/>
</textElement>
<text><![CDATA[UF]]></text>
</staticText>
<staticText>
<reportElement uuid="761cd577-3c83-4e18-b17b-d327b62aa772" style="Column header" x="18" y="1" width="20" height="14" forecolor="#000000"/>
<reportElement uuid="761cd577-3c83-4e18-b17b-d327b62aa772" style="Column header" x="12" y="11" width="44" height="14" forecolor="#000000"/>
<textElement>
<font size="6" isBold="false"/>
</textElement>
<text><![CDATA[Código]]></text>
</staticText>
<staticText>
<reportElement uuid="d1726122-2865-4484-b5f0-0f44c5a0d04b" style="Column header" x="71" y="1" width="29" height="14" forecolor="#000000"/>
<reportElement uuid="d1726122-2865-4484-b5f0-0f44c5a0d04b" style="Column header" x="94" y="11" width="29" height="14" forecolor="#000000"/>
<textElement textAlignment="Center">
<font size="6" isBold="false"/>
</textElement>
<text><![CDATA[Qtd. Bil.]]></text>
</staticText>
<staticText>
<reportElement uuid="5a346661-5bf1-4cef-b4c7-78953ab826d4" style="Column header" x="100" y="1" width="62" height="14" forecolor="#000000"/>
<reportElement uuid="5a346661-5bf1-4cef-b4c7-78953ab826d4" style="Column header" x="123" y="11" width="59" height="14" forecolor="#000000"/>
<textElement textAlignment="Right">
<font size="6" isBold="false"/>
</textElement>
<text><![CDATA[Rec. Tarifa]]></text>
<text><![CDATA[Tarifa]]></text>
</staticText>
<staticText>
<reportElement uuid="b705c904-485e-4039-90da-c565711ee526" style="Column header" x="162" y="1" width="42" height="14" forecolor="#000000"/>
<reportElement uuid="b705c904-485e-4039-90da-c565711ee526" style="Column header" x="182" y="11" width="39" height="14" forecolor="#000000"/>
<textElement textAlignment="Right">
<font size="6" isBold="false"/>
</textElement>
<text><![CDATA[Rec. Seguro]]></text>
<text><![CDATA[Seguro]]></text>
</staticText>
<staticText>
<reportElement uuid="09b51c92-9289-4be6-a015-6de7a2c50838" style="Column header" x="246" y="1" width="46" height="14" forecolor="#000000"/>
<reportElement uuid="09b51c92-9289-4be6-a015-6de7a2c50838" style="Column header" x="260" y="11" width="35" height="14" forecolor="#000000"/>
<textElement textAlignment="Right">
<font size="6" isBold="false"/>
</textElement>
<text><![CDATA[R. Bagagem]]></text>
<text><![CDATA[Bagagem]]></text>
</staticText>
<staticText>
<reportElement uuid="e1ed74d5-645d-4d2b-9c44-42a663ee6e19" style="Column header" x="292" y="1" width="35" height="14" forecolor="#000000"/>
<reportElement uuid="e1ed74d5-645d-4d2b-9c44-42a663ee6e19" style="Column header" x="330" y="11" width="35" height="14" forecolor="#000000"/>
<textElement textAlignment="Right">
<font size="6" isBold="false"/>
</textElement>
<text><![CDATA[Vr. Devol.]]></text>
<text><![CDATA[Devolução]]></text>
</staticText>
<staticText>
<reportElement uuid="1f5fb691-2caf-4210-833d-b1bad215ba9a" style="Column header" x="327" y="1" width="38" height="14" forecolor="#000000"/>
<reportElement uuid="1f5fb691-2caf-4210-833d-b1bad215ba9a" style="Column header" x="369" y="11" width="35" height="14" forecolor="#000000"/>
<textElement textAlignment="Right">
<font size="6" isBold="false"/>
</textElement>
<text><![CDATA[GAP Tarifa]]></text>
<text><![CDATA[Tarifa]]></text>
</staticText>
<staticText>
<reportElement uuid="16c9f923-0257-4c6a-99b3-e0cf1c64a1ae" style="Column header" x="365" y="1" width="41" height="14" forecolor="#000000"/>
<reportElement uuid="16c9f923-0257-4c6a-99b3-e0cf1c64a1ae" style="Column header" x="404" y="11" width="35" height="14" forecolor="#000000"/>
<textElement textAlignment="Right">
<font size="6" isBold="false"/>
</textElement>
<text><![CDATA[GAP Seguro]]></text>
<text><![CDATA[Seguro]]></text>
</staticText>
<staticText>
<reportElement uuid="048b4213-b856-4aa9-9551-31d31c52a0f9" style="Column header" x="447" y="1" width="39" height="14" forecolor="#000000"/>
<reportElement uuid="048b4213-b856-4aa9-9551-31d31c52a0f9" style="Column header" x="509" y="11" width="37" height="14" forecolor="#000000"/>
<textElement textAlignment="Right">
<font size="6" isBold="false"/>
</textElement>
<text><![CDATA[GAP Devol.]]></text>
<text><![CDATA[Devololução]]></text>
</staticText>
<staticText>
<reportElement uuid="f1d10a1d-13fb-4ca0-914a-734f48754946" style="Column header" x="486" y="1" width="57" height="14" forecolor="#000000"/>
<reportElement uuid="f1d10a1d-13fb-4ca0-914a-734f48754946" style="Column header" x="546" y="11" width="57" height="14" forecolor="#000000"/>
<textElement textAlignment="Right">
<font size="6" isBold="false"/>
</textElement>
<text><![CDATA[Rec. Total]]></text>
</staticText>
<staticText>
<reportElement uuid="84454d72-309f-415d-a7b3-90dac892c3da" style="Column header" x="543" y="1" width="37" height="14" forecolor="#000000"/>
<reportElement uuid="84454d72-309f-415d-a7b3-90dac892c3da" style="Column header" x="603" y="11" width="27" height="14" forecolor="#000000"/>
<textElement textAlignment="Right">
<font size="6" isBold="false"/>
</textElement>
<text><![CDATA[Impostos]]></text>
</staticText>
<staticText>
<reportElement uuid="f7ff14b9-9667-4efe-9472-ba79158b9828" style="Column header" x="580" y="1" width="58" height="14" forecolor="#000000"/>
<reportElement uuid="f7ff14b9-9667-4efe-9472-ba79158b9828" style="Column header" x="630" y="11" width="58" height="14" forecolor="#000000"/>
<textElement textAlignment="Right">
<font size="6" isBold="false"/>
</textElement>
<text><![CDATA[Rec. Liquida]]></text>
</staticText>
<staticText>
<reportElement uuid="f3d84a95-2573-4611-a296-48e1787869cf" style="Column header" x="638" y="1" width="31" height="14" forecolor="#000000"/>
<reportElement uuid="f3d84a95-2573-4611-a296-48e1787869cf" style="Column header" x="688" y="11" width="31" height="14" forecolor="#000000"/>
<textElement textAlignment="Right">
<font size="6" isBold="false"/>
</textElement>
<text><![CDATA[Comissão]]></text>
</staticText>
<staticText>
<reportElement uuid="cb3693c3-17f0-4449-bd01-c940885474a4" style="Column header" x="669" y="1" width="44" height="14" forecolor="#000000"/>
<reportElement uuid="cb3693c3-17f0-4449-bd01-c940885474a4" style="Column header" x="719" y="11" width="25" height="14" forecolor="#000000"/>
<textElement textAlignment="Right">
<font size="6" isBold="false"/>
</textElement>
<text><![CDATA[Adiantamento]]></text>
<text><![CDATA[Adiant.]]></text>
</staticText>
<staticText>
<reportElement uuid="6176aeab-ecf8-4cfb-a197-e9a04dda31d9" style="Column header" x="713" y="1" width="31" height="14" forecolor="#000000"/>
<reportElement uuid="6176aeab-ecf8-4cfb-a197-e9a04dda31d9" style="Column header" x="744" y="11" width="20" height="14" forecolor="#000000"/>
<textElement textAlignment="Right">
<font size="6" isBold="false"/>
</textElement>
<text><![CDATA[Diferença]]></text>
<text><![CDATA[Dif.]]></text>
</staticText>
<staticText>
<reportElement uuid="81c1c4f5-fe2b-4603-9209-0ebd22967e31" style="Column header" x="744" y="1" width="21" height="14" forecolor="#000000"/>
<reportElement uuid="81c1c4f5-fe2b-4603-9209-0ebd22967e31" style="Column header" x="764" y="11" width="21" height="14" forecolor="#000000"/>
<textElement textAlignment="Center">
<font size="6" isBold="false"/>
</textElement>
<text><![CDATA[Tipo]]></text>
</staticText>
<staticText>
<reportElement uuid="c3f916bc-f810-448d-abe2-ac7257c4eee2" style="Column header" x="765" y="1" width="36" height="14" forecolor="#000000"/>
<reportElement uuid="c3f916bc-f810-448d-abe2-ac7257c4eee2" style="Column header" x="785" y="11" width="36" height="14" forecolor="#000000"/>
<textElement textAlignment="Center">
<font size="6" isBold="false"/>
</textElement>
<text><![CDATA[Qtd. Canc.]]></text>
</staticText>
<staticText>
<reportElement uuid="04cfc0a4-4f6d-4ad6-b9ce-0f4953e454cd" style="Column header" mode="Transparent" x="38" y="1" width="33" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="04cfc0a4-4f6d-4ad6-b9ce-0f4953e454cd" style="Column header" mode="Transparent" x="56" y="11" width="38" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -714,164 +738,205 @@
<text><![CDATA[Agência]]></text>
</staticText>
<line>
<reportElement uuid="7955897b-dd86-4c44-8086-ca3c7d756d6b" positionType="FixRelativeToBottom" x="0" y="0" width="801" height="1"/>
<reportElement uuid="7955897b-dd86-4c44-8086-ca3c7d756d6b" positionType="FixRelativeToBottom" x="0" y="10" width="821" height="1"/>
<graphicElement>
<pen lineWidth="0.5" lineColor="#999999"/>
</graphicElement>
</line>
<staticText>
<reportElement uuid="9ecd2df4-5902-4d91-8f84-cb901add1bb4" style="Column header" x="406" y="1" width="41" height="14" forecolor="#000000"/>
<reportElement uuid="9ecd2df4-5902-4d91-8f84-cb901add1bb4" style="Column header" x="439" y="11" width="35" height="14" forecolor="#000000"/>
<textElement textAlignment="Right">
<font size="6" isBold="false"/>
</textElement>
<text><![CDATA[GAP Pedagio]]></text>
<text><![CDATA[Pedagio]]></text>
</staticText>
<staticText>
<reportElement uuid="bbffa1b0-238f-47b6-962f-d75464fa580d" style="Column header" x="204" y="1" width="42" height="14" forecolor="#000000"/>
<reportElement uuid="bbffa1b0-238f-47b6-962f-d75464fa580d" style="Column header" x="221" y="11" width="39" height="14" forecolor="#000000"/>
<textElement textAlignment="Right">
<font size="6" isBold="false"/>
</textElement>
<text><![CDATA[Rec. Pedagio]]></text>
<text><![CDATA[Pedagio]]></text>
</staticText>
<line>
<reportElement uuid="95feafb1-ebf8-4fee-af80-1a00af5e9202" x="124" y="8" width="241" height="1"/>
</line>
<line>
<reportElement uuid="5e333abf-bb36-46b1-b2a2-654875f64ccc" x="369" y="8" width="176" height="1"/>
</line>
<staticText>
<reportElement uuid="ce639dff-1b7a-4fb2-ae24-5190275996e9" x="209" y="1" width="44" height="9"/>
<textElement>
<font size="6" isBold="true"/>
</textElement>
<text><![CDATA[Venda Normal]]></text>
</staticText>
<staticText>
<reportElement uuid="bf05a2bb-f7c3-49d8-915a-1ad8ba132cb8" x="432" y="1" width="44" height="9"/>
<textElement>
<font size="6" isBold="true"/>
</textElement>
<text><![CDATA[Pré-venda GAP]]></text>
</staticText>
<staticText>
<reportElement uuid="0000b493-0bc4-41ad-a7dd-059436373656" style="Column header" x="474" y="11" width="35" height="14" forecolor="#000000"/>
<textElement textAlignment="Right">
<font size="6" isBold="false"/>
</textElement>
<text><![CDATA[Embarque]]></text>
</staticText>
<staticText>
<reportElement uuid="a48eb312-7c2f-4795-91ae-03d9930faf8c" style="Column header" x="295" y="11" width="35" height="14" forecolor="#000000"/>
<textElement textAlignment="Right">
<font size="6" isBold="false"/>
</textElement>
<text><![CDATA[Embarque]]></text>
</staticText>
</band>
</columnHeader>
<detail>
<band height="17" splitType="Stretch">
<textField isStretchWithOverflow="true">
<reportElement uuid="27124f1a-ca93-43bd-9a8e-448ed64b4241" style="Detail" x="0" y="0" width="18" height="17"/>
<band height="12" splitType="Stretch">
<textField>
<reportElement uuid="27124f1a-ca93-43bd-9a8e-448ed64b4241" style="Detail" x="0" y="0" width="12" height="12"/>
<textElement>
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$F{CVEESTADO}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement uuid="973aff15-d389-4027-b370-6dc8a38ae793" style="Detail" x="18" y="0" width="20" height="17"/>
<textField>
<reportElement uuid="973aff15-d389-4027-b370-6dc8a38ae793" style="Detail" x="12" y="0" width="44" height="12"/>
<textElement>
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$F{NUMPUNTOVENTA}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement uuid="186064f7-7476-4ff7-b159-0e96361a94f0" style="Detail" x="38" y="0" width="33" height="17"/>
<textField>
<reportElement uuid="186064f7-7476-4ff7-b159-0e96361a94f0" style="Detail" x="56" y="0" width="38" height="12"/>
<textElement>
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$F{NOMBPUNTOVENTA}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement uuid="b435d52f-a973-4e4f-81cc-86721ad26065" style="Detail" x="71" y="0" width="29" height="17"/>
<textField>
<reportElement uuid="b435d52f-a973-4e4f-81cc-86721ad26065" style="Detail" x="94" y="0" width="29" height="12"/>
<textElement textAlignment="Center">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$F{TOTAL_BILHETES}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00">
<reportElement uuid="8a842131-2b16-4d73-af3d-add23f0f4669" style="Detail" x="100" y="0" width="62" height="17"/>
<textField pattern="#,##0.00">
<reportElement uuid="8a842131-2b16-4d73-af3d-add23f0f4669" style="Detail" x="123" y="0" width="59" height="12"/>
<textElement textAlignment="Right">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$F{RECEITA_TARIFA}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00">
<reportElement uuid="7968d320-7f6a-433e-ac7a-7593d1ca2e52" style="Detail" x="162" y="0" width="42" height="17"/>
<textField pattern="#,##0.00">
<reportElement uuid="7968d320-7f6a-433e-ac7a-7593d1ca2e52" style="Detail" x="182" y="0" width="39" height="12"/>
<textElement textAlignment="Right">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$F{RECEITA_SEGURO}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00">
<reportElement uuid="15e58feb-7f79-4a61-b111-fe7561e4d939" style="Detail" x="246" y="0" width="46" height="17"/>
<textField pattern="#,##0.00">
<reportElement uuid="15e58feb-7f79-4a61-b111-fe7561e4d939" style="Detail" x="260" y="0" width="35" height="12"/>
<textElement textAlignment="Right">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$F{RECEITA_BAGAGEM}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00">
<reportElement uuid="7680fb2a-85e4-4bdd-82b0-cf49ac8d0052" style="Detail" x="292" y="0" width="35" height="17"/>
<textField pattern="#,##0.00">
<reportElement uuid="7680fb2a-85e4-4bdd-82b0-cf49ac8d0052" style="Detail" x="330" y="0" width="35" height="12"/>
<textElement textAlignment="Right">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$F{TOTAL_DEVOL}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00">
<reportElement uuid="482fc126-8d41-41d0-8140-b5c7b3b7ebb7" style="Detail" x="406" y="0" width="41" height="17"/>
<textField pattern="#,##0.00">
<reportElement uuid="482fc126-8d41-41d0-8140-b5c7b3b7ebb7" style="Detail" x="439" y="0" width="35" height="12"/>
<textElement textAlignment="Right">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$F{RECEITA_PEDAGIO_GAP}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00">
<reportElement uuid="b225f72a-e727-4ce4-a1e3-40a3a4b48a35" style="Detail" x="447" y="0" width="39" height="17"/>
<textField pattern="#,##0.00">
<reportElement uuid="b225f72a-e727-4ce4-a1e3-40a3a4b48a35" style="Detail" x="509" y="0" width="37" height="12"/>
<textElement textAlignment="Right">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$F{TOTAL_DEVOL_GAP}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00">
<reportElement uuid="22aa78a8-8324-46e4-8f82-296d7798b6d7" style="Detail" x="365" y="0" width="41" height="17"/>
<textField pattern="#,##0.00">
<reportElement uuid="c7adf349-2710-4998-9675-4ed1e2bb3bb7" style="Detail" x="474" y="0" width="35" height="12"/>
<textElement textAlignment="Right">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$F{RECEITA_EMBARQUE_GAP}]]></textFieldExpression>
</textField>
<textField pattern="#,##0.00">
<reportElement uuid="22aa78a8-8324-46e4-8f82-296d7798b6d7" style="Detail" x="404" y="0" width="35" height="12"/>
<textElement textAlignment="Right">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$F{RECEITA_SEGURO_GAP}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00">
<reportElement uuid="d1ea5b17-efef-48aa-9464-38f800297476" style="Detail" x="486" y="0" width="57" height="17"/>
<textField pattern="#,##0.00">
<reportElement uuid="d1ea5b17-efef-48aa-9464-38f800297476" style="Detail" x="546" y="0" width="57" height="12"/>
<textElement textAlignment="Right">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$F{RECEITA_TOTAL}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00">
<reportElement uuid="b9dbe642-525c-463e-9e91-c9de2c9e7f18" style="Detail" x="543" y="0" width="37" height="17"/>
<textField pattern="#,##0.00">
<reportElement uuid="b9dbe642-525c-463e-9e91-c9de2c9e7f18" style="Detail" x="603" y="0" width="27" height="12"/>
<textElement textAlignment="Right">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$F{IMPOSTOS}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00">
<reportElement uuid="31e7809b-4d70-4afb-a89f-9bb4190f15cd" style="Detail" x="327" y="0" width="38" height="17"/>
<reportElement uuid="31e7809b-4d70-4afb-a89f-9bb4190f15cd" style="Detail" x="369" y="0" width="35" height="12"/>
<textElement textAlignment="Right">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$F{RECEITA_TARIFA_GAP}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00">
<reportElement uuid="ad32ef2c-9328-413c-9ee7-c18c4dcd3ae1" style="Detail" x="580" y="0" width="58" height="17"/>
<reportElement uuid="ad32ef2c-9328-413c-9ee7-c18c4dcd3ae1" style="Detail" x="630" y="0" width="58" height="12"/>
<textElement textAlignment="Right">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$F{RECEITA_LIQUIDA}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00">
<reportElement uuid="f74e30d5-1737-4a51-b516-cf1cbaa1a1a1" style="Detail" x="638" y="0" width="31" height="17"/>
<reportElement uuid="f74e30d5-1737-4a51-b516-cf1cbaa1a1a1" style="Detail" x="688" y="0" width="31" height="12"/>
<textElement textAlignment="Right">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$F{VALOR_COMISSAO}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00">
<reportElement uuid="82a6de6e-b2b6-4f2d-b1f3-01eeca119640" style="Detail" x="713" y="0" width="31" height="17"/>
<reportElement uuid="82a6de6e-b2b6-4f2d-b1f3-01eeca119640" style="Detail" x="744" y="0" width="20" height="12"/>
<textElement textAlignment="Right">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$F{DIFERENCA_COMISSAO}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="b8a07c84-cbe2-42aa-8b89-6ae548390e82" style="Detail" x="744" y="0" width="21" height="17"/>
<reportElement uuid="b8a07c84-cbe2-42aa-8b89-6ae548390e82" style="Detail" x="764" y="0" width="21" height="12"/>
<textElement textAlignment="Center">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$F{TIPO_AGENCIA}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement uuid="4bfa82cd-4346-47b6-916a-c500cac81bb3" style="Detail" x="765" y="0" width="36" height="17"/>
<reportElement uuid="4bfa82cd-4346-47b6-916a-c500cac81bb3" style="Detail" x="785" y="0" width="36" height="12"/>
<textElement textAlignment="Center">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$F{TOTAL_BILHETES_CANC}]]></textFieldExpression>
</textField>
<textField pattern="#,##0.00" isBlankWhenNull="false">
<reportElement uuid="1de75b11-c03e-4e01-a85e-2a941ae5905a" mode="Transparent" x="669" y="0" width="44" height="17" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="1de75b11-c03e-4e01-a85e-2a941ae5905a" mode="Transparent" x="719" y="0" width="25" height="12" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -879,18 +944,25 @@
<textFieldExpression><![CDATA[$F{ANTECIPACAO}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00">
<reportElement uuid="c8b5696e-e04d-4ce6-91cf-91882681d711" style="Detail" x="204" y="0" width="42" height="17"/>
<reportElement uuid="c8b5696e-e04d-4ce6-91cf-91882681d711" style="Detail" x="221" y="0" width="39" height="12"/>
<textElement textAlignment="Right">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$F{RECEITA_PEDAGIO}]]></textFieldExpression>
</textField>
<textField pattern="#,##0.00">
<reportElement uuid="d2b33b1a-e069-4650-bd79-9ae1d15f2a0c" style="Detail" x="295" y="0" width="35" height="12"/>
<textElement textAlignment="Right">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$F{RECEITA_EMBARQUE}]]></textFieldExpression>
</textField>
</band>
</detail>
<columnFooter>
<band height="8" splitType="Stretch">
<line>
<reportElement uuid="550e9fbd-9d42-430f-ad4a-4df61bf47764" positionType="FixRelativeToBottom" x="0" y="0" width="802" height="1"/>
<reportElement uuid="550e9fbd-9d42-430f-ad4a-4df61bf47764" positionType="FixRelativeToBottom" x="0" y="0" width="821" height="1"/>
<graphicElement>
<pen lineWidth="0.5" lineColor="#999999"/>
</graphicElement>

View File

@ -9,7 +9,9 @@ import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.sql.DataSource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;
@ -17,18 +19,15 @@ import org.zkoss.util.resource.Labels;
import org.zkoss.zhtml.Messagebox;
import org.zkoss.zk.ui.Component;
import org.zkoss.zk.ui.event.Event;
import org.zkoss.zk.ui.event.EventListener;
import org.zkoss.zul.Bandbox;
import org.zkoss.zul.Button;
import org.zkoss.zul.Checkbox;
import org.zkoss.zul.Combobox;
import org.zkoss.zul.Comboitem;
import org.zkoss.zul.Datebox;
import org.zkoss.zul.Listcell;
import org.zkoss.zul.Listitem;
import org.zkoss.zul.Paging;
import org.zkoss.zul.Radio;
import org.zkoss.zul.Textbox;
import com.rjconsultores.ventaboletos.entidad.Empresa;
import com.rjconsultores.ventaboletos.entidad.Estado;
import com.rjconsultores.ventaboletos.entidad.PuntoVenta;
@ -44,6 +43,7 @@ import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.HibernateSearchObject;
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.PagedListWrapper;
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderEstadoSimple;
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderPuntoVentaSimple;
import com.trg.search.Filter;
@ -74,7 +74,9 @@ public class RelatorioReceitaDiariaAgenciaController extends MyGenericForwardCom
@Autowired
private transient PagedListWrapper<PuntoVenta> plwPuntoVenta;
private MyListbox puntoVentaList;
private MyListbox estadoList;
private MyListbox puntoVentaSelList;
private Paging pagingPuntoVenta;
@ -196,6 +198,8 @@ public class RelatorioReceitaDiariaAgenciaController extends MyGenericForwardCom
this.lsTipoPuntoVenta = lsTipoPuntoVenta;
}
public void onClick$btnExecutarRelatorio(Event ev) throws Exception {
executarRelatorio();
}
@ -293,15 +297,18 @@ public class RelatorioReceitaDiariaAgenciaController extends MyGenericForwardCom
filtro.append("Todas ;");
}
filtro.append(" Estado: ");
Comboitem itemEstado = cmbEstado.getSelectedItem();
if (itemEstado != null) {
Estado estado = (Estado) itemEstado.getValue();
parametros.put("ESTADO_ID", estado.getEstadoId());
filtro.append(estado.getCveestado()+";");
filtro.append("Estados(s): ");
if (estadoList.getSelectedsItens().size() > 0) {
parametros.put("ESTADO_ID", estadoList.getSelectedsItens());
filtro.append(estadoList.getSelectedsItens().size()+" selecionado(s);");
}
else
else{
filtro.append("Todos ;");
}
Comboitem itemEmpresa = cmbEmpresa.getSelectedItem();
@ -360,9 +367,19 @@ public class RelatorioReceitaDiariaAgenciaController extends MyGenericForwardCom
setLsTipoPuntoVenta(tipoPuntoVentaService.obtenerTodos());
super.doAfterCompose(comp);
estadoList.setItemRenderer(new RenderEstadoSimple());
puntoVentaList.setItemRenderer(new RenderPuntoVentaSimple());
puntoVentaSelList.setItemRenderer(new RenderPuntoVentaSimple());
estadoList.setData(lsEstado);
/*HibernateSearchObject<Estado> estadoBusca =
new HibernateSearchObject<Estado>(Estado.class,
pagingEstado.getPageSize());
plwEstado.init(estadoBusca, estadoList);*/
}

View File

@ -0,0 +1,33 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rjconsultores.ventaboletos.web.utilerias.render;
import java.math.BigDecimal;
import org.zkoss.zul.Listcell;
import org.zkoss.zul.Listitem;
import org.zkoss.zul.ListitemRenderer;
import com.rjconsultores.ventaboletos.entidad.Estado;
import com.rjconsultores.ventaboletos.utilerias.ApplicationProperties;
/**
*
* @author MCosso
*/
public class RenderEstadoSimple implements ListitemRenderer {
public void render(Listitem lstm, Object o) throws Exception {
Estado estado = (Estado) o;
Listcell lc = new Listcell();
lc = new Listcell(estado.getNombestado());
lc.setParent(lstm);
lstm.setAttribute("data", estado);
}
}

View File

@ -7,7 +7,7 @@
# <controler>. <id>. <propiedade> = XXX
#Versao do VentaBoleto:
versao = ADM_20130808_1RC196
versao = ADM_20130812_1RC197
# MSG Defaut:
MSG.CONSTRAINT.PORCENTAGEM = Os valores devem estar entre 0 e 100

View File

@ -33,11 +33,15 @@
<row>
<label
value="${c:l('relatorioReceitaDiariaAgenciaController.lbEstado.value')}" />
<combobox id="cmbEstado" width="90%" mold="rounded"
buttonVisible="true"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
model="@{winFiltroRelatorioReceitaDiariaAgencia$composer.lsEstado}" />
<listbox id="estadoList" mold="select" rows="3"
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
vflex="true" multiple="true" width="90%">
<listhead>
<listheader
label="${c:l('relatorioReceitaDiariaAgenciaController.lbEstado.value')}" />
</listhead>
</listbox>
<label
value="${c:l('relatorioReceitaDiariaAgenciaController.lbTipoPuntoVenta.value')}" />
<combobox id="cmbTipoPuntoVenta" width="90%"
@ -97,9 +101,11 @@
value="${c:l('relatorioReceitaDiariaAgenciaController.lbDevolucao.value')}" />
<cell>
<radiogroup id="rdIndAgenciaDevol" />
<radio id="rd1" checked="true" label="${c:l('relatorioReceitaDiariaAgenciaController.rdIndAgenciaDevol.rd1.label')}"
<radio id="rd1" checked="true"
label="${c:l('relatorioReceitaDiariaAgenciaController.rdIndAgenciaDevol.rd1.label')}"
radiogroup="rdIndAgenciaDevol" />
<radio id="rd2" label="${c:l('relatorioReceitaDiariaAgenciaController.rdIndAgenciaDevol.rd2.label')}"
<radio id="rd2"
label="${c:l('relatorioReceitaDiariaAgenciaController.rdIndAgenciaDevol.rd2.label')}"
radiogroup="rdIndAgenciaDevol" />
</cell>