bug#10516
dev:Leo qua:Renato git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@79272 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
dcb409f2fa
commit
c499d54b8c
|
@ -17,7 +17,6 @@ import com.rjconsultores.ventaboletos.relatorios.utilitarios.ArrayDataSource;
|
|||
import com.rjconsultores.ventaboletos.relatorios.utilitarios.IndStatusBoleto;
|
||||
import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio;
|
||||
import com.rjconsultores.ventaboletos.relatorios.utilitarios.RelatorioBilhetesVendidosNovoLayoutBean;
|
||||
import com.rjconsultores.ventaboletos.relatorios.utilitarios.RelatorioVendasPTABean;
|
||||
import com.rjconsultores.ventaboletos.utilerias.DateUtil;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.NamedParameterStatement;
|
||||
|
||||
|
@ -47,26 +46,25 @@ public class RelatorioBilhetesVendidosNovoLayout extends Relatorio {
|
|||
|
||||
StringBuilder sql = new StringBuilder();
|
||||
|
||||
sql.append("SELECT est.cveestado as cveestado, ae.decespecie as especie, ");
|
||||
sql.append(" a.acfiscal as numaidf,");
|
||||
sql.append(" c.fechorventa as datavenda,");
|
||||
sql.append(" a.forminicial as forminicial,");
|
||||
sql.append(" a.formfinal as formfinal,");
|
||||
sql.append("SELECT distinct est.cveestado as cveestado,");
|
||||
sql.append(" ae.decespecie as especie, ");
|
||||
sql.append(" to_char(c.fechorventa, 'dd/mm/yyyy hh24:mi:ss') as datavenda,");
|
||||
sql.append(" (select min(NUMFOLIOSISTEMA) as maximo from boleto e where e.NUMOPERACION = c.NUMOPERACION) as forminicial,");
|
||||
sql.append(" (select max(NUMFOLIOSISTEMA) as maximo from boleto e where e.NUMOPERACION = c.NUMOPERACION) as formfinal,");
|
||||
sql.append(" a.serie AS serie,");
|
||||
sql.append(" a.subserie as subserie,");
|
||||
sql.append(" est.icms AS valoraliquiotaicms,");
|
||||
sql.append(" c.preciopagado as valorcontabil,");
|
||||
sql.append(" c.preciopagado - (c.preciopagado * coalesce(ei.porcredbaseicms / 100,0))AS valorbasecalculo, ");
|
||||
sql.append(" (c.preciopagado - (c.preciopagado * coalesce(ei.porcredbaseicms / 100,0)) * est.icms) / 100 AS valoricms, ");
|
||||
sql.append(" c.INDSTATUSBOLETO statuspassagem ");
|
||||
sql.append("FROM boleto c ");
|
||||
sql.append("LEFT join aidf a ON a.aidf_id = c.aidf_id ");
|
||||
sql.append("LEFT join aidf_especie ae ON (a.aidfesp_id = ae.aidfesp_id) ");
|
||||
sql.append("left join aidf a ON a.aidf_id = c.aidf_id ");
|
||||
sql.append("left join aidf_especie ae ON (a.aidfesp_id = ae.aidfesp_id) ");
|
||||
sql.append("join empresa e ON e.empresa_id = c.empresacorrida_id ");
|
||||
sql.append("join parada po ON po.parada_id = c.origen_id ");
|
||||
sql.append("join ciudad co ON co.ciudad_id = po.ciudad_id ");
|
||||
sql.append("join estado est ON est.estado_id = co.estado_id ");
|
||||
sql.append("INNER join empresa_imposto ei ON ei.empresa_id = e.empresa_id ");
|
||||
sql.append("join empresa_imposto ei ON ei.empresa_id = e.empresa_id ");
|
||||
sql.append("JOIN PUNTO_VENTA pv on c.PUNTOVENTA_ID = pv.PUNTOVENTA_ID ");
|
||||
sql.append("AND ei.estado_id = est.estado_id ");
|
||||
sql.append(" where ");
|
||||
|
@ -84,12 +82,13 @@ public class RelatorioBilhetesVendidosNovoLayout extends Relatorio {
|
|||
if (parametros.get("STATUS").toString().contains("V") && parametros.get("STATUS").toString().contains("C")) {
|
||||
sql.append(" AND ((c.INDSTATUSBOLETO = 'C' AND c.MOTIVOCANCELACION_ID IS NOT NULL) OR (c.INDSTATUSBOLETO = 'V' AND c.MOTIVOCANCELACION_ID IS NULL)) ");
|
||||
} else if (parametros.get("STATUS").toString().contains("C")) {
|
||||
sql.append(" AND c.INDSTATUSBOLETO = 'C' AND c.MOTIVOCANCELACION_ID IS NOT NULL");
|
||||
sql.append(" AND c.INDSTATUSBOLETO = 'C' AND c.MOTIVOCANCELACION_ID IS NOT NULL ");
|
||||
} else if (parametros.get("STATUS").toString().contains("V")) {
|
||||
sql.append(" AND c.INDSTATUSBOLETO = 'V' AND c.MOTIVOCANCELACION_ID IS NULL");
|
||||
sql.append(" AND c.INDSTATUSBOLETO = 'V' AND c.MOTIVOCANCELACION_ID IS NULL ");
|
||||
}
|
||||
}
|
||||
|
||||
sql.append(" ORDER BY cveestado, datavenda ");
|
||||
|
||||
NamedParameterStatement stmt = new NamedParameterStatement(conexao, sql.toString());
|
||||
|
||||
stmt.setInt("EMPRESA_ID", Integer.valueOf(parametros.get("EMPRESA_ID").toString()));
|
||||
|
@ -118,12 +117,10 @@ public class RelatorioBilhetesVendidosNovoLayout extends Relatorio {
|
|||
dataResult.put("statuspassagem", IndStatusBoleto.valueOf(rset.getString("statuspassagem")).getValue());
|
||||
}
|
||||
|
||||
bean.setNumAIDF((String) (rset.getObject("numaidf") == null ? "" : rset.getObject("numaidf")));
|
||||
bean.setDataVenda((Date) (rset.getObject("datavenda") == null ? "" : rset.getObject("datavenda")));
|
||||
bean.setDataVenda(rset.getString("datavenda") == null ? "" : rset.getString("datavenda"));
|
||||
bean.setFormInicial((String) (rset.getObject("formInicial") == null ? "" : rset.getObject("formInicial")));
|
||||
bean.setFormFinal((String) (rset.getObject("formfinal") == null ? "" : rset.getObject("formfinal")));
|
||||
bean.setSerie((String) (rset.getObject("serie") == null ? "" : rset.getObject("serie")));
|
||||
bean.setSubSerie((String) (rset.getObject("subserie") == null ? "" : rset.getObject("subserie")));
|
||||
bean.setValorContabil((BigDecimal) (rset.getObject("valorcontabil") == null ? "" : rset.getObject("valorcontabil")));
|
||||
bean.setValorBaseCalculo((BigDecimal) (rset.getObject("valorbasecalculo") == null ? "" : rset.getObject("valorbasecalculo")));
|
||||
bean.setValorAliquiotaICMS((BigDecimal) (rset.getObject("valoraliquiotaicms") == null ? "" : rset.getObject("valoraliquiotaicms")));
|
||||
|
|
Binary file not shown.
|
@ -1,8 +1,8 @@
|
|||
<?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="RelatorioDocumentosFiscais" pageWidth="898" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="858" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" resourceBundle="RelatorioDocumentosFiscais" whenResourceMissingType="Empty" uuid="94834362-0ecc-46da-b0a2-5cdee355da3e">
|
||||
<property name="ireport.zoom" value="1.996500000000012"/>
|
||||
<property name="ireport.x" value="1139"/>
|
||||
<property name="ireport.y" value="251"/>
|
||||
<property name="ireport.x" value="0"/>
|
||||
<property name="ireport.y" value="161"/>
|
||||
<property name="net.sf.jasperreports.export.xls.exclude.origin.band.2" value="pageHeader"/>
|
||||
<property name="net.sf.jasperreports.export.xls.exclude.origin.keep.first.band.2" value="columnHeader"/>
|
||||
<property name="net.sf.jasperreports.export.xls.remove.empty.space.between.rows" value="true"/>
|
||||
|
@ -37,7 +37,7 @@
|
|||
<field name="valorAliquiotaICMS" class="java.math.BigDecimal"/>
|
||||
<field name="valorICMS" class="java.math.BigDecimal"/>
|
||||
<field name="uf" class="java.lang.String"/>
|
||||
<field name="dataVenda" class="java.util.Date"/>
|
||||
<field name="dataVenda" class="java.lang.String"/>
|
||||
<field name="especie" class="java.lang.String"/>
|
||||
<field name="statusPassagem" class="java.lang.String"/>
|
||||
<field name="codFiscal" class="java.lang.String"/>
|
||||
|
@ -152,42 +152,42 @@
|
|||
<reportElement uuid="ae94e51c-f84c-405c-a9c3-d8fd0c48f03a" mode="Transparent" x="0" y="33" width="857" height="1"/>
|
||||
</line>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="7965e761-2e24-4f17-84eb-9431c98ce72c" positionType="FixRelativeToBottom" stretchType="RelativeToTallestObject" x="241" y="0" width="53" height="33" isPrintWhenDetailOverflows="true"/>
|
||||
<reportElement uuid="7965e761-2e24-4f17-84eb-9431c98ce72c" positionType="FixRelativeToBottom" stretchType="RelativeToTallestObject" x="298" y="0" width="53" height="33" isPrintWhenDetailOverflows="true"/>
|
||||
<textElement textAlignment="Center" verticalAlignment="Bottom" markup="none">
|
||||
<font size="11" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.formInicial}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="bbaa5f53-76e0-491e-9145-e522122709e5" positionType="FixRelativeToBottom" stretchType="RelativeToTallestObject" x="294" y="0" width="53" height="33" isPrintWhenDetailOverflows="true"/>
|
||||
<reportElement uuid="bbaa5f53-76e0-491e-9145-e522122709e5" positionType="FixRelativeToBottom" stretchType="RelativeToTallestObject" x="351" y="0" width="53" height="33" isPrintWhenDetailOverflows="true"/>
|
||||
<textElement textAlignment="Center" verticalAlignment="Bottom" markup="none">
|
||||
<font size="11" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.formFinal}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="2b25ca5a-2c25-4c7d-87d1-5bfd205177a9" positionType="FixRelativeToBottom" stretchType="RelativeToTallestObject" mode="Transparent" x="347" y="0" width="58" height="33" isPrintWhenDetailOverflows="true"/>
|
||||
<reportElement uuid="2b25ca5a-2c25-4c7d-87d1-5bfd205177a9" positionType="FixRelativeToBottom" stretchType="RelativeToTallestObject" mode="Transparent" x="404" y="0" width="58" height="33" isPrintWhenDetailOverflows="true"/>
|
||||
<textElement textAlignment="Center" verticalAlignment="Bottom" markup="none">
|
||||
<font size="11" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.serie}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="e3f4df4e-24a9-45b3-8ac3-f8b66d46a15f" positionType="FixRelativeToBottom" stretchType="RelativeToTallestObject" mode="Transparent" x="503" y="0" width="83" height="33" isPrintWhenDetailOverflows="true"/>
|
||||
<reportElement uuid="e3f4df4e-24a9-45b3-8ac3-f8b66d46a15f" positionType="FixRelativeToBottom" stretchType="RelativeToTallestObject" mode="Transparent" x="560" y="0" width="83" height="33" isPrintWhenDetailOverflows="true"/>
|
||||
<textElement textAlignment="Center" verticalAlignment="Bottom" markup="none">
|
||||
<font size="11" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.valorContabil}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="79775d53-3de4-4c0c-8ec7-3be13738dc14" positionType="FixRelativeToBottom" stretchType="RelativeToTallestObject" mode="Transparent" x="586" y="0" width="79" height="33" isPrintWhenDetailOverflows="true"/>
|
||||
<reportElement uuid="79775d53-3de4-4c0c-8ec7-3be13738dc14" positionType="FixRelativeToBottom" stretchType="RelativeToTallestObject" mode="Transparent" x="643" y="0" width="79" height="33" isPrintWhenDetailOverflows="true"/>
|
||||
<textElement textAlignment="Center" verticalAlignment="Bottom" markup="none">
|
||||
<font size="11" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.valorBaseCalculo}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="746627ad-15b0-4435-93ce-6d370b75e594" positionType="FixRelativeToBottom" stretchType="RelativeToTallestObject" mode="Transparent" x="665" y="0" width="59" height="33" isPrintWhenDetailOverflows="true"/>
|
||||
<reportElement uuid="746627ad-15b0-4435-93ce-6d370b75e594" positionType="FixRelativeToBottom" stretchType="RelativeToTallestObject" mode="Transparent" x="722" y="0" width="59" height="33" isPrintWhenDetailOverflows="true"/>
|
||||
<textElement textAlignment="Center" verticalAlignment="Bottom" markup="none">
|
||||
<font size="11" isBold="true"/>
|
||||
</textElement>
|
||||
|
@ -201,35 +201,35 @@
|
|||
<textFieldExpression><![CDATA[$R{label.UF}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="fc3e1df1-ad7b-45de-ab36-78126000b123" positionType="FixRelativeToBottom" stretchType="RelativeToTallestObject" x="45" y="0" width="97" height="33" isPrintWhenDetailOverflows="true"/>
|
||||
<reportElement uuid="fc3e1df1-ad7b-45de-ab36-78126000b123" positionType="FixRelativeToBottom" stretchType="RelativeToTallestObject" x="45" y="0" width="154" height="33" isPrintWhenDetailOverflows="true"/>
|
||||
<textElement textAlignment="Center" verticalAlignment="Bottom" markup="none">
|
||||
<font size="11" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.dataVenda}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="dc108100-3fd4-4d37-a73b-40f8490b623a" positionType="FixRelativeToBottom" stretchType="RelativeToTallestObject" mode="Transparent" x="724" y="0" width="133" height="33" isPrintWhenDetailOverflows="true"/>
|
||||
<reportElement uuid="dc108100-3fd4-4d37-a73b-40f8490b623a" positionType="FixRelativeToBottom" stretchType="RelativeToTallestObject" mode="Transparent" x="781" y="0" width="76" height="33" isPrintWhenDetailOverflows="true"/>
|
||||
<textElement textAlignment="Center" verticalAlignment="Bottom" markup="none">
|
||||
<font size="11" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.valorICMS}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="97eb7851-4964-4114-acba-015e2bed5ed6" positionType="FixRelativeToBottom" stretchType="RelativeToTallestObject" x="181" y="0" width="59" height="33" isPrintWhenDetailOverflows="true"/>
|
||||
<reportElement uuid="97eb7851-4964-4114-acba-015e2bed5ed6" positionType="FixRelativeToBottom" stretchType="RelativeToTallestObject" x="238" y="0" width="59" height="33" isPrintWhenDetailOverflows="true"/>
|
||||
<textElement textAlignment="Center" verticalAlignment="Bottom" markup="none">
|
||||
<font size="11" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.especie}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="cbe72c43-c7dd-4074-9095-aa85726e634f" positionType="FixRelativeToBottom" stretchType="RelativeToTallestObject" mode="Transparent" x="142" y="0" width="39" height="33" isPrintWhenDetailOverflows="true"/>
|
||||
<reportElement uuid="cbe72c43-c7dd-4074-9095-aa85726e634f" positionType="FixRelativeToBottom" stretchType="RelativeToTallestObject" mode="Transparent" x="199" y="0" width="39" height="33" isPrintWhenDetailOverflows="true"/>
|
||||
<textElement textAlignment="Center" verticalAlignment="Bottom" markup="none">
|
||||
<font size="11" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.status}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="b18ba0f0-ebe6-44bf-9d22-692f77a65d25" positionType="FixRelativeToBottom" stretchType="RelativeToTallestObject" mode="Transparent" x="405" y="0" width="98" height="33" isPrintWhenDetailOverflows="true"/>
|
||||
<reportElement uuid="b18ba0f0-ebe6-44bf-9d22-692f77a65d25" positionType="FixRelativeToBottom" stretchType="RelativeToTallestObject" mode="Transparent" x="462" y="0" width="98" height="33" isPrintWhenDetailOverflows="true"/>
|
||||
<textElement textAlignment="Center" verticalAlignment="Bottom" markup="none">
|
||||
<font size="11" isBold="true"/>
|
||||
</textElement>
|
||||
|
@ -240,49 +240,49 @@
|
|||
<detail>
|
||||
<band height="18" splitType="Stretch">
|
||||
<textField isStretchWithOverflow="true" pattern="###0.00" isBlankWhenNull="false">
|
||||
<reportElement uuid="784343f8-f7aa-4997-82e7-312878bd9a27" stretchType="RelativeToTallestObject" mode="Transparent" x="724" y="1" width="133" height="16" isPrintWhenDetailOverflows="true"/>
|
||||
<reportElement uuid="784343f8-f7aa-4997-82e7-312878bd9a27" stretchType="RelativeToTallestObject" mode="Transparent" x="781" y="1" width="76" height="16" isPrintWhenDetailOverflows="true"/>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top" markup="none">
|
||||
<font size="11" isBold="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{valorICMS}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement uuid="ad46494b-0240-46d1-a775-f91f0035d7f8" stretchType="RelativeToTallestObject" x="240" y="1" width="53" height="16" isPrintWhenDetailOverflows="true"/>
|
||||
<reportElement uuid="ad46494b-0240-46d1-a775-f91f0035d7f8" stretchType="RelativeToTallestObject" x="297" y="1" width="53" height="16" isPrintWhenDetailOverflows="true"/>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top" markup="none">
|
||||
<font size="11" isBold="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{formInicial}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="###0.00" isBlankWhenNull="true">
|
||||
<reportElement uuid="0ed9578b-73d5-4f51-b21c-07d9419bbc08" stretchType="RelativeToTallestObject" mode="Transparent" x="502" y="1" width="84" height="16" isPrintWhenDetailOverflows="true"/>
|
||||
<reportElement uuid="0ed9578b-73d5-4f51-b21c-07d9419bbc08" stretchType="RelativeToTallestObject" mode="Transparent" x="559" y="1" width="84" height="16" isPrintWhenDetailOverflows="true"/>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top" markup="none">
|
||||
<font size="11" isBold="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{valorContabil}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="1ed844e5-7aa4-49ee-8024-765e5ae49f74" stretchType="RelativeToTallestObject" x="293" y="1" width="53" height="16" isPrintWhenDetailOverflows="true"/>
|
||||
<reportElement uuid="1ed844e5-7aa4-49ee-8024-765e5ae49f74" stretchType="RelativeToTallestObject" x="350" y="1" width="53" height="16" isPrintWhenDetailOverflows="true"/>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top" markup="none">
|
||||
<font size="11" isBold="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{formFinal}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="###0.00" isBlankWhenNull="true">
|
||||
<reportElement uuid="92017408-1781-4e17-90b7-5ff86457cf6d" stretchType="RelativeToTallestObject" mode="Transparent" x="586" y="1" width="79" height="16" isPrintWhenDetailOverflows="true"/>
|
||||
<reportElement uuid="92017408-1781-4e17-90b7-5ff86457cf6d" stretchType="RelativeToTallestObject" mode="Transparent" x="643" y="1" width="79" height="16" isPrintWhenDetailOverflows="true"/>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top" markup="none">
|
||||
<font size="11" isBold="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{valorBaseCalculo}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="###0.00" isBlankWhenNull="true">
|
||||
<reportElement uuid="36f5d507-0340-4c7e-b44b-5057c1e8bee6" stretchType="RelativeToTallestObject" mode="Transparent" x="665" y="1" width="59" height="16" isPrintWhenDetailOverflows="true"/>
|
||||
<reportElement uuid="36f5d507-0340-4c7e-b44b-5057c1e8bee6" stretchType="RelativeToTallestObject" mode="Transparent" x="722" y="1" width="59" height="16" isPrintWhenDetailOverflows="true"/>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top" markup="none">
|
||||
<font size="11" isBold="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{valorAliquiotaICMS}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement uuid="16c5bcd4-ac1c-4c49-b065-5794fb9c2e32" stretchType="RelativeToTallestObject" mode="Transparent" x="346" y="1" width="58" height="16" isPrintWhenDetailOverflows="true"/>
|
||||
<reportElement uuid="16c5bcd4-ac1c-4c49-b065-5794fb9c2e32" stretchType="RelativeToTallestObject" mode="Transparent" x="403" y="1" width="58" height="16" isPrintWhenDetailOverflows="true"/>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top" markup="none">
|
||||
<font size="11" isBold="false"/>
|
||||
</textElement>
|
||||
|
@ -295,29 +295,29 @@
|
|||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{uf}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="false">
|
||||
<reportElement uuid="09aeacb1-1c4d-4c40-8b13-b328e3f1afe7" stretchType="RelativeToTallestObject" x="45" y="1" width="97" height="16" isPrintWhenDetailOverflows="true"/>
|
||||
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="false">
|
||||
<reportElement uuid="09aeacb1-1c4d-4c40-8b13-b328e3f1afe7" stretchType="RelativeToTallestObject" x="45" y="1" width="154" height="16" isPrintWhenDetailOverflows="true"/>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top" markup="none">
|
||||
<font size="11" isBold="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{dataVenda}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="false">
|
||||
<reportElement uuid="b0c28690-12bf-478c-90ae-a36ee69948f6" stretchType="RelativeToTallestObject" x="181" y="1" width="59" height="16" isPrintWhenDetailOverflows="true"/>
|
||||
<reportElement uuid="b0c28690-12bf-478c-90ae-a36ee69948f6" stretchType="RelativeToTallestObject" x="238" y="1" width="59" height="16" isPrintWhenDetailOverflows="true"/>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top" markup="none">
|
||||
<font size="11" isBold="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{especie}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="false">
|
||||
<reportElement uuid="5767fd4a-2a72-45d6-9733-89a155b69895" stretchType="RelativeToTallestObject" mode="Transparent" x="142" y="2" width="39" height="16" isPrintWhenDetailOverflows="true"/>
|
||||
<reportElement uuid="5767fd4a-2a72-45d6-9733-89a155b69895" stretchType="RelativeToTallestObject" mode="Transparent" x="199" y="2" width="39" height="16" isPrintWhenDetailOverflows="true"/>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top" markup="none">
|
||||
<font size="11" isBold="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{statusPassagem}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="53bdff45-7508-4ddd-96ef-2eef4cd69207" stretchType="RelativeToTallestObject" mode="Transparent" x="405" y="2" width="97" height="16" isPrintWhenDetailOverflows="true"/>
|
||||
<reportElement uuid="53bdff45-7508-4ddd-96ef-2eef4cd69207" stretchType="RelativeToTallestObject" mode="Transparent" x="462" y="2" width="97" height="16" isPrintWhenDetailOverflows="true"/>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top" markup="none">
|
||||
<font size="11" isBold="false"/>
|
||||
</textElement>
|
||||
|
@ -326,19 +326,19 @@
|
|||
</band>
|
||||
</detail>
|
||||
<columnFooter>
|
||||
<band height="8"/>
|
||||
<band/>
|
||||
</columnFooter>
|
||||
<pageFooter>
|
||||
<band height="8"/>
|
||||
<band/>
|
||||
</pageFooter>
|
||||
<summary>
|
||||
<band height="33"/>
|
||||
<band/>
|
||||
</summary>
|
||||
<noData>
|
||||
<band height="20">
|
||||
<textField>
|
||||
<reportElement uuid="5a6c1b7b-2242-4cf1-b957-723b906ee620" x="0" y="0" width="857" height="20"/>
|
||||
<textElement/>
|
||||
<textElement textAlignment="Center"/>
|
||||
<textFieldExpression><![CDATA[$R{msg.noData}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
|
|
|
@ -19,7 +19,7 @@ public class RelatorioBilhetesVendidosNovoLayoutBean {
|
|||
private Integer estadoId;
|
||||
private String statusPassagem;
|
||||
private String bilhete;
|
||||
private Date dataVenda;
|
||||
private String dataVenda;
|
||||
private String codFiscal;
|
||||
|
||||
public String getCodFiscal() {
|
||||
|
@ -142,11 +142,11 @@ public class RelatorioBilhetesVendidosNovoLayoutBean {
|
|||
this.bilhete = bilhete;
|
||||
}
|
||||
|
||||
public Date getDataVenda() {
|
||||
public String getDataVenda() {
|
||||
return dataVenda;
|
||||
}
|
||||
|
||||
public void setDataVenda(Date dataVenda) {
|
||||
public void setDataVenda(String dataVenda) {
|
||||
this.dataVenda = dataVenda;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue