fixes bug #7623
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@57530 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
272001c6ef
commit
9e5bf7436b
|
@ -11,10 +11,12 @@ import java.util.Map;
|
|||
|
||||
import org.apache.log4j.Logger;
|
||||
|
||||
import com.rjconsultores.ventaboletos.enums.SituacaoVendaPacote;
|
||||
import com.rjconsultores.ventaboletos.relatorios.utilitarios.DataSource;
|
||||
import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio;
|
||||
import com.rjconsultores.ventaboletos.relatorios.utilitarios.RelatorioVendasPacotesBoletosBean;
|
||||
import com.rjconsultores.ventaboletos.relatorios.utilitarios.RelatorioVendasPacotesBoletosBean.RelatorioVendasPacotesBoletosItemBean;
|
||||
import com.rjconsultores.ventaboletos.utilerias.DateUtil;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.NamedParameterStatement;
|
||||
|
||||
import net.sf.jasperreports.engine.data.JRBeanCollectionDataSource;
|
||||
|
@ -27,8 +29,10 @@ public class RelatorioVendasPacotesBoletos extends Relatorio {
|
|||
|
||||
private List<RelatorioVendasPacotesBoletosBean> lsDadosRelatorio;
|
||||
|
||||
private Timestamp fecInicio;
|
||||
private Timestamp fecFinal;
|
||||
private Timestamp fecVendaInicio;
|
||||
private Timestamp fecVendaFinal;
|
||||
private Timestamp fecPacoteInicio;
|
||||
private Timestamp fecPacoteFinal;
|
||||
private Integer empresaId;
|
||||
private Integer origenId;
|
||||
private Integer destinoId;
|
||||
|
@ -44,8 +48,10 @@ public class RelatorioVendasPacotesBoletos extends Relatorio {
|
|||
@Override
|
||||
public void initDados() throws Exception {
|
||||
Map<String, Object> parametros = this.relatorio.getParametros();
|
||||
fecInicio = new java.sql.Timestamp(sdf.parse(parametros.get("fecInicio").toString()).getTime());
|
||||
fecFinal = new java.sql.Timestamp(sdf.parse(parametros.get("fecFinal").toString()).getTime());
|
||||
fecVendaInicio = parametros.get("fecVendaInicio") != null ? new java.sql.Timestamp(DateUtil.inicioFecha(sdf.parse(parametros.get("fecVendaInicio").toString())).getTime()) : null;
|
||||
fecVendaFinal = parametros.get("fecVendaFinal") != null ? new java.sql.Timestamp(DateUtil.fimFecha(sdf.parse(parametros.get("fecVendaFinal").toString())).getTime()) : null;
|
||||
fecPacoteInicio = parametros.get("fecPacoteInicio") != null ? new java.sql.Timestamp(DateUtil.inicioFecha(sdf.parse(parametros.get("fecPacoteInicio").toString())).getTime()) : null;
|
||||
fecPacoteFinal = parametros.get("fecPacoteFinal") != null ? new java.sql.Timestamp(DateUtil.fimFecha(sdf.parse(parametros.get("fecPacoteFinal").toString())).getTime()) : null;
|
||||
empresaId = parametros.get("empresaId") != null && !parametros.get("empresaId").equals("null") ? Integer.valueOf(parametros.get("empresaId").toString()) : null;
|
||||
origenId = parametros.get("origenId") != null && !parametros.get("origenId").equals("null") ? Integer.valueOf(parametros.get("origenId").toString()) : null;
|
||||
destinoId = parametros.get("destinoId") != null && !parametros.get("destinoId").equals("null") ? Integer.valueOf(parametros.get("destinoId").toString()) : null;
|
||||
|
@ -54,7 +60,6 @@ public class RelatorioVendasPacotesBoletos extends Relatorio {
|
|||
|
||||
Connection conexao = this.relatorio.getConexao();
|
||||
processarVendasPacote(conexao);
|
||||
processarVendasPacoteCancelados(conexao);
|
||||
processarVendasPacoteTotais();
|
||||
|
||||
setNomeSubReporte(nomeSubReporte);
|
||||
|
@ -112,6 +117,8 @@ public class RelatorioVendasPacotesBoletos extends Relatorio {
|
|||
|
||||
private List<RelatorioVendasPacotesBoletosBean.RelatorioVendasPacotesBoletosItemBean> carregarItens(ResultSet rset, RelatorioVendasPacotesBoletosBean relatorioVendasPacotesBoletosBean, List<RelatorioVendasPacotesBoletosBean.RelatorioVendasPacotesBoletosItemBean> itens) throws SQLException {
|
||||
RelatorioVendasPacotesBoletosBean.RelatorioVendasPacotesBoletosItemBean relatorioVendasPacotesBoletosItemBean = relatorioVendasPacotesBoletosBean.new RelatorioVendasPacotesBoletosItemBean();
|
||||
relatorioVendasPacotesBoletosItemBean.setNumruta(rset.getString("numruta"));
|
||||
relatorioVendasPacotesBoletosItemBean.setDescruta(rset.getString("descruta"));
|
||||
relatorioVendasPacotesBoletosItemBean.setNomconvenio(rset.getString("nomconvenio"));
|
||||
relatorioVendasPacotesBoletosItemBean.setDesctipotarifa(rset.getString("desctipotarifa"));
|
||||
relatorioVendasPacotesBoletosItemBean.setQtde(rset.getLong("qtde"));
|
||||
|
@ -121,6 +128,8 @@ public class RelatorioVendasPacotesBoletos extends Relatorio {
|
|||
relatorioVendasPacotesBoletosItemBean.setSimporteseguro(rset.getBigDecimal("simporteseguro"));
|
||||
relatorioVendasPacotesBoletosItemBean.setSpreciobase(rset.getBigDecimal("spreciobase"));
|
||||
relatorioVendasPacotesBoletosItemBean.setDesconto(rset.getBigDecimal("desconto"));
|
||||
relatorioVendasPacotesBoletosItemBean.setSituacao(SituacaoVendaPacote.getSituacaoVendaPacote(rset.getInt("situacao")));
|
||||
relatorioVendasPacotesBoletosItemBean.setQtdeImpresso(rset.getInt("qtdeimpresso"));
|
||||
|
||||
if(itens == null) {
|
||||
itens = new ArrayList<RelatorioVendasPacotesBoletosBean.RelatorioVendasPacotesBoletosItemBean>();
|
||||
|
@ -149,63 +158,23 @@ public class RelatorioVendasPacotesBoletos extends Relatorio {
|
|||
return relatorioVendasPacotesBoletosBean;
|
||||
}
|
||||
|
||||
private void processarVendasPacoteCancelados(Connection conexao) {
|
||||
ResultSet rset = null;
|
||||
NamedParameterStatement stmt = null;
|
||||
|
||||
try {
|
||||
stmt = carregarNamedParameterStatement(conexao, true);
|
||||
rset = stmt.executeQuery();
|
||||
|
||||
if(lsDadosRelatorio == null) {
|
||||
lsDadosRelatorio = new ArrayList<RelatorioVendasPacotesBoletosBean>();
|
||||
}
|
||||
|
||||
while (rset.next()) {
|
||||
RelatorioVendasPacotesBoletosBean relatorioVendasBoletosBean = carregarRelatorioVendasBoletosBean(rset);
|
||||
Integer idx = carregarIndice(relatorioVendasBoletosBean);
|
||||
|
||||
if(idx != null) {
|
||||
relatorioVendasBoletosBean = lsDadosRelatorio.get(idx);
|
||||
}
|
||||
|
||||
relatorioVendasBoletosBean.setRelatorioVendasPacotesBoletosItemBeansCancelados(carregarItens(rset, relatorioVendasBoletosBean, relatorioVendasBoletosBean.getRelatorioVendasPacotesBoletosItemBeansCancelados()));
|
||||
|
||||
if(idx != null) {
|
||||
lsDadosRelatorio.set(idx, relatorioVendasBoletosBean);
|
||||
} else {
|
||||
lsDadosRelatorio.add(relatorioVendasBoletosBean);
|
||||
}
|
||||
}
|
||||
|
||||
} catch (Exception e) {
|
||||
log.error(e.getMessage(), e);
|
||||
} finally {
|
||||
try {
|
||||
if(rset != null) {
|
||||
rset.close();
|
||||
}
|
||||
if(stmt != null) {
|
||||
stmt.close();
|
||||
}
|
||||
} catch (SQLException e) {
|
||||
log.error(e.getMessage(), e);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private NamedParameterStatement carregarNamedParameterStatement(Connection conexao, boolean cancelados) throws SQLException {
|
||||
String sql = getSqlPacotes(cancelados);
|
||||
log.info(sql);
|
||||
|
||||
NamedParameterStatement stmt = new NamedParameterStatement(conexao, sql);
|
||||
|
||||
if(fecInicio != null) {
|
||||
stmt.setTimestamp("fecInicio", fecInicio);
|
||||
if(fecVendaInicio != null) {
|
||||
stmt.setTimestamp("fecVendaInicio", fecVendaInicio);
|
||||
}
|
||||
if(fecFinal != null) {
|
||||
stmt.setTimestamp("fecFinal", fecFinal);
|
||||
if(fecVendaFinal != null) {
|
||||
stmt.setTimestamp("fecVendaFinal", fecVendaFinal);
|
||||
}
|
||||
if(fecPacoteInicio != null) {
|
||||
stmt.setTimestamp("fecPacoteInicio", fecPacoteInicio);
|
||||
}
|
||||
if(fecPacoteFinal != null) {
|
||||
stmt.setTimestamp("fecPacoteFinal", fecPacoteFinal);
|
||||
}
|
||||
if (empresaId != null && empresaId > 0){
|
||||
stmt.setInt("empresaId", empresaId);
|
||||
|
@ -229,25 +198,36 @@ public class RelatorioVendasPacotesBoletos extends Relatorio {
|
|||
protected String getSqlPacotes(boolean cancelado) {
|
||||
StringBuilder sQuery = new StringBuilder();
|
||||
|
||||
sQuery.append("SELECT DES.CVEPARADA AS CVEDESTINO, ORI.CVEPARADA AS CVEORIGEM, ORI.DESCPARADA AS ORIGEM, DES.DESCPARADA AS DESTINO, TVP.NOMCONVENIO, TTP.DESCTIPOTARIFA, ")
|
||||
sQuery.append("SELECT DES.CVEPARADA AS CVEDESTINO, ORI.CVEPARADA AS CVEORIGEM, ORI.DESCPARADA AS ORIGEM, DES.DESCPARADA AS DESTINO, R.NUMRUTA, R.DESCRUTA, PC.NOMCONVENIO, TTP.DESCTIPOTARIFA, VP.SITUACAO, ")
|
||||
.append("SUM(CASE WHEN B.MOTIVOCANCELACION_ID = 16 THEN 1 ELSE 0 END) AS QTDEIMPRESSO, ")
|
||||
.append("COUNT(TVP.TARIFAVENDAPACOTE_ID) AS QTDE, SUM(B.IMPORTETAXAEMBARQUE) AS SIMPORTETAXAEMBARQUE, SUM(B.IMPORTEPEDAGIO) AS SIMPORTEPEDAGIO, ")
|
||||
.append("SUM(B.IMPORTEOUTROS) AS SIMPORTEOUTROS, SUM(B.IMPORTESEGURO) AS SIMPORTESEGURO, SUM(B.PRECIOBASE) AS SPRECIOBASE, SUM(B.PRECIOBASE - B.PRECIOPAGADO) AS DESCONTO ")
|
||||
.append("FROM VENDA_PACOTE VP ")
|
||||
.append("LEFT JOIN PACOTE P ON P.PACOTE_ID = VP.PACOTE_ID ")
|
||||
.append("INNER JOIN PACOTE P ON P.PACOTE_ID = VP.PACOTE_ID AND P.ACTIVO = 1 ")
|
||||
.append("LEFT JOIN TARIFA_VENDA_PACOTE TVP ON TVP.VENDAPACOTE_ID = VP.VENDAPACOTE_ID ")
|
||||
.append("LEFT JOIN BOLETO B ON B.BOLETO_ID = TVP.BOLETO_ID ")
|
||||
.append("LEFT JOIN PACOTE_TARIFA PT ON PT.PACOTETARIFA_ID = TVP.PACOTETARIFA_ID ")
|
||||
.append("LEFT JOIN TIPO_TARIFA_PACOTE TTP ON TTP.TIPOTARIFAPACOTE_ID = PT.TIPOTARIFAPACOTE_ID ")
|
||||
.append("INNER JOIN BOLETO B ON B.BOLETO_ID = TVP.BOLETO_ID ")
|
||||
.append("LEFT JOIN RUTA R ON R.RUTA_ID = B.RUTA_ID ")
|
||||
.append("LEFT JOIN PARADA ORI ON ORI.PARADA_ID = B.ORIGEN_ID ")
|
||||
.append("LEFT JOIN PARADA DES ON DES.PARADA_ID = B.DESTINO_ID ")
|
||||
.append("WHERE P.ACTIVO = 1 ")
|
||||
.append("AND B.ACTIVO = 1 ");
|
||||
.append("LEFT JOIN PACOTE_TARIFA PT ON PT.PACOTETARIFA_ID = TVP.PACOTETARIFA_ID ")
|
||||
.append("LEFT JOIN TIPO_TARIFA_PACOTE TTP ON TTP.TIPOTARIFAPACOTE_ID = PT.TIPOTARIFAPACOTE_ID ")
|
||||
.append("LEFT JOIN PACOTE_CONVENIO PC ON PC.PACOTECONVENIO_ID = TVP.PACOTECONVENIO_ID AND PC.ACTIVO = 1 ")
|
||||
.append("WHERE 1=1 ");
|
||||
|
||||
if(!cancelado) {
|
||||
sQuery.append("AND B.INDSTATUSBOLETO = 'V' ")
|
||||
.append("AND B.MOTIVOCANCELACION_ID IS NULL ");
|
||||
} else {
|
||||
sQuery.append("AND B.MOTIVOCANCELACION_ID IS NOT NULL ");
|
||||
if(fecVendaInicio != null) {
|
||||
sQuery.append("AND VP.DATAVENDA >= :fecVendaInicio ");
|
||||
}
|
||||
|
||||
if(fecVendaFinal != null) {
|
||||
sQuery.append("AND VP.DATAVENDA <= :fecVendaFinal ");
|
||||
}
|
||||
|
||||
if(fecPacoteInicio != null) {
|
||||
sQuery.append("AND VP.DATAPACOTE >= :fecPacoteInicio ");
|
||||
}
|
||||
|
||||
if(fecPacoteFinal != null) {
|
||||
sQuery.append("AND VP.DATAPACOTE <= :fecPacoteFinal ");
|
||||
}
|
||||
|
||||
if(empresaId != null && empresaId > 0){
|
||||
|
@ -270,16 +250,8 @@ public class RelatorioVendasPacotesBoletos extends Relatorio {
|
|||
sQuery.append("AND TTP.TIPOTARIFAPACOTE_ID = :tipoTarifaPacoteId ");
|
||||
}
|
||||
|
||||
if(fecInicio != null) {
|
||||
sQuery.append("AND VP.DATAVENDA >= :fecInicio ");
|
||||
}
|
||||
|
||||
if(fecFinal != null) {
|
||||
sQuery.append("AND VP.DATAVENDA <= :fecFinal ");
|
||||
}
|
||||
|
||||
sQuery.append("GROUP BY DES.CVEPARADA,ORI.CVEPARADA,ORI.DESCPARADA,DES.DESCPARADA,TVP.NOMCONVENIO,TTP.DESCTIPOTARIFA ")
|
||||
.append("ORDER BY DES.CVEPARADA,ORI.CVEPARADA,ORI.DESCPARADA,DES.DESCPARADA,TVP.NOMCONVENIO,TTP.DESCTIPOTARIFA ");
|
||||
sQuery.append("GROUP BY DES.CVEPARADA, ORI.CVEPARADA, ORI.DESCPARADA, DES.DESCPARADA, R.NUMRUTA, R.DESCRUTA, PC.NOMCONVENIO, TTP.DESCTIPOTARIFA, VP.SITUACAO ")
|
||||
.append("ORDER BY DES.CVEPARADA, ORI.CVEPARADA, ORI.DESCPARADA, DES.DESCPARADA, R.NUMRUTA, R.DESCRUTA, PC.NOMCONVENIO, TTP.DESCTIPOTARIFA, VP.SITUACAO ");
|
||||
|
||||
return sQuery.toString();
|
||||
}
|
||||
|
|
|
@ -8,4 +8,9 @@ label.simportetaxaembarque=Taxa Embarque
|
|||
label.simporteoutros=Valor Serviço
|
||||
label.spreciopagado=Total c/ Desconto
|
||||
label.desconto=Desconto
|
||||
label.spreciototal=Valor Total
|
||||
label.spreciototal=Valor Total
|
||||
label.cancelado=Cancelado
|
||||
label.sim=Si
|
||||
label.nao=No
|
||||
label.ruta=Ruta
|
||||
label.impresso=Impresso
|
|
@ -8,4 +8,9 @@ label.simportetaxaembarque=Taxa Embarque
|
|||
label.simporteoutros=Valor Serviço
|
||||
label.spreciopagado=Total c/ Desconto
|
||||
label.desconto=Desconto
|
||||
label.spreciototal=Valor Total
|
||||
label.spreciototal=Valor Total
|
||||
label.cancelado=Cancelado
|
||||
label.sim=Sim
|
||||
label.nao=Não
|
||||
label.ruta=Rota
|
||||
label.impresso=Impresso
|
|
@ -4,7 +4,8 @@ msg.noData=N
|
|||
#Labels cabeçalho
|
||||
cabecalho.nome=Relatório Vendas de Pacotes - Boletos
|
||||
cabecalho.relatorio=Relatório:
|
||||
cabecalho.periodo=Período:
|
||||
cabecalho.periodoVenda=Data Venda:
|
||||
cabecalho.periodoPacote=Data Pacote:
|
||||
cabecalho.periodoA=à
|
||||
cabecalho.dataHora=Data/Hora:
|
||||
cabecalho.impressorPor=Impressor por:
|
||||
|
|
|
@ -4,7 +4,8 @@ msg.noData=N
|
|||
#Labels cabeçalho
|
||||
cabecalho.nome=Relatório Vendas de Pacotes - Boletos
|
||||
cabecalho.relatorio=Relatório:
|
||||
cabecalho.periodo=Período:
|
||||
cabecalho.periodoVenda=Data Venda:
|
||||
cabecalho.periodoPacote=Data Pacote:
|
||||
cabecalho.periodoA=à
|
||||
cabecalho.dataHora=Data/Hora:
|
||||
cabecalho.impressorPor=Impressor por:
|
||||
|
|
Binary file not shown.
|
@ -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="RelatorioVendasBoletosItem" pageWidth="802" pageHeight="555" orientation="Landscape" columnWidth="802" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="f17327a0-45d8-4ec1-8350-688df66785dc">
|
||||
<property name="ireport.zoom" value="3.0"/>
|
||||
<property name="ireport.x" value="526"/>
|
||||
<property name="ireport.zoom" value="2.0"/>
|
||||
<property name="ireport.x" value="841"/>
|
||||
<property name="ireport.y" value="0"/>
|
||||
<field name="desccategoria" class="java.lang.String"/>
|
||||
<field name="simportetaxaembarque" class="java.math.BigDecimal"/>
|
||||
|
@ -13,6 +13,7 @@
|
|||
<field name="spreciobase" class="java.math.BigDecimal"/>
|
||||
<field name="spreciototal" class="java.math.BigDecimal"/>
|
||||
<field name="qtde" class="java.lang.Long"/>
|
||||
<field name="cancelado" class="java.lang.Boolean"/>
|
||||
<variable name="vSimportetaxaembarque" class="java.math.BigDecimal" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{simportetaxaembarque}]]></variableExpression>
|
||||
</variable>
|
||||
|
@ -50,56 +51,56 @@
|
|||
<columnHeader>
|
||||
<band height="24" splitType="Stretch">
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="1" y="2" width="177" height="20" isPrintWhenDetailOverflows="true" uuid="ca0cfce0-945a-41b6-a2b6-07b599432260"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="1" y="2" width="165" height="20" isPrintWhenDetailOverflows="true" uuid="ca0cfce0-945a-41b6-a2b6-07b599432260"/>
|
||||
<textElement verticalAlignment="Top" markup="none">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.categoria}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="241" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="74894a72-7acf-43bc-abc7-a3ca0931f1c0"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="229" y="2" width="67" height="20" isPrintWhenDetailOverflows="true" uuid="74894a72-7acf-43bc-abc7-a3ca0931f1c0"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" markup="none">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.spreciobase}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="321" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="60d565a0-f9c1-4648-87a5-0acd7bcc95cb"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="297" y="2" width="64" height="20" isPrintWhenDetailOverflows="true" uuid="60d565a0-f9c1-4648-87a5-0acd7bcc95cb"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" markup="none">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.simporteseguro}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="401" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="7351b458-41bf-4cf3-839a-9b17860cd029"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="362" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="7351b458-41bf-4cf3-839a-9b17860cd029"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" markup="none">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.simportetaxaembarque}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="481" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="b40f5fec-8d0e-47c6-9a02-c6b9f4f4cf40"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="442" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="b40f5fec-8d0e-47c6-9a02-c6b9f4f4cf40"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" markup="none">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.simporteoutros}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="721" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="7f2d56a0-8755-4192-be26-3c082bcde27f"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="672" y="2" width="64" height="20" isPrintWhenDetailOverflows="true" uuid="7f2d56a0-8755-4192-be26-3c082bcde27f"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" markup="none">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.spreciopagado}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="641" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="637d297c-7275-4094-9f67-e6d36eff60a2"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="602" y="2" width="69" height="20" isPrintWhenDetailOverflows="true" uuid="637d297c-7275-4094-9f67-e6d36eff60a2"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" markup="none">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.desconto}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="561" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="0d9ab795-d305-44a6-b12a-e0445e36613a"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="522" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="0d9ab795-d305-44a6-b12a-e0445e36613a"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" markup="none">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
|
@ -109,28 +110,28 @@
|
|||
<reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="4d4396e4-a34f-438e-a514-662f3dad27d3"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="240" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="693e1442-9a9b-4237-b8ce-a7368319bb8c"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="228" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="693e1442-9a9b-4237-b8ce-a7368319bb8c"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="320" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="b9353306-7d23-4428-bde1-136a92c129d0"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="296" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="b9353306-7d23-4428-bde1-136a92c129d0"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="400" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="c236d4ae-a2fe-4fce-80f1-aceabf3d47ad"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="361" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="c236d4ae-a2fe-4fce-80f1-aceabf3d47ad"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="480" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="a7a71b94-542f-4ebc-9812-982fe947379b"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="441" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="a7a71b94-542f-4ebc-9812-982fe947379b"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="560" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="ad00d26a-75cd-4fe1-bd28-a8346dcb1e82"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="521" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="ad00d26a-75cd-4fe1-bd28-a8346dcb1e82"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="640" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="0960adca-3ca3-4f52-88af-70278652e9a6"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="601" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="0960adca-3ca3-4f52-88af-70278652e9a6"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="720" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="a5133d51-f908-4ffe-9df8-d25f0b312ab9"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="671" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="a5133d51-f908-4ffe-9df8-d25f0b312ab9"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="801" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="2cdb1883-2ec8-4373-90d1-35eaf7502cbc"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="736" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="2cdb1883-2ec8-4373-90d1-35eaf7502cbc"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement positionType="Float" x="0" y="0" width="802" height="1" forecolor="#CCCCCC" uuid="0da94d15-8bfb-4954-84fb-9e277c593308"/>
|
||||
|
@ -139,70 +140,80 @@
|
|||
<reportElement positionType="Float" x="0" y="23" width="802" height="1" forecolor="#CCCCCC" uuid="64883292-c3bb-4786-a914-44d64bfc53c9"/>
|
||||
</line>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="179" y="2" width="61" height="20" isPrintWhenDetailOverflows="true" uuid="409f4726-a294-419c-944e-3d1efa2450ff"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="167" y="2" width="61" height="20" isPrintWhenDetailOverflows="true" uuid="409f4726-a294-419c-944e-3d1efa2450ff"/>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top" markup="none">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.qtde}]]></textFieldExpression>
|
||||
</textField>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="178" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="034c9dbc-f4cf-49b1-910a-168ea7f41c1d"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="166" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="034c9dbc-f4cf-49b1-910a-168ea7f41c1d"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="801" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="7263bedb-8383-48d2-a1c5-6b54531b2169"/>
|
||||
</line>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="737" y="2" width="64" height="20" isPrintWhenDetailOverflows="true" uuid="55b6c98e-32a7-40ee-892b-72f625347340"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" markup="none">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.cancelado}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</columnHeader>
|
||||
<detail>
|
||||
<band height="24" splitType="Stretch">
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="1" y="2" width="177" height="20" isPrintWhenDetailOverflows="true" uuid="ebc048fd-2106-47f2-88f5-ff3710ec047e"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="1" y="2" width="165" height="20" isPrintWhenDetailOverflows="true" uuid="ebc048fd-2106-47f2-88f5-ff3710ec047e"/>
|
||||
<textElement verticalAlignment="Top">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{desccategoria}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="241" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="5e343619-3254-4481-a3d3-00a33e144145"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="229" y="2" width="67" height="20" isPrintWhenDetailOverflows="true" uuid="5e343619-3254-4481-a3d3-00a33e144145"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{spreciobase}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="321" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="43d5475f-18ce-4427-b971-8f374a01e9b1"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="297" y="2" width="64" height="20" isPrintWhenDetailOverflows="true" uuid="43d5475f-18ce-4427-b971-8f374a01e9b1"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{simporteseguro}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="401" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="e47fb86e-b5b3-4f8f-9200-3fc950e6631d"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="362" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="e47fb86e-b5b3-4f8f-9200-3fc950e6631d"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{simportetaxaembarque}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="481" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="3f5483a5-9c57-4510-b040-24b0267396d8"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="442" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="3f5483a5-9c57-4510-b040-24b0267396d8"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{simporteoutros}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="721" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="3348c997-2b2d-401f-a5d6-2a9e1e7abd51"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="672" y="2" width="64" height="20" isPrintWhenDetailOverflows="true" uuid="3348c997-2b2d-401f-a5d6-2a9e1e7abd51"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{spreciopagado}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="641" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="d81fe2cf-b81c-4f65-939c-6c7d54559360"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="602" y="2" width="69" height="20" isPrintWhenDetailOverflows="true" uuid="d81fe2cf-b81c-4f65-939c-6c7d54559360"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{desconto}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="561" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="010f06dc-7915-4d18-ace5-b0262e54c9e3"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="522" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="010f06dc-7915-4d18-ace5-b0262e54c9e3"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
|
@ -212,28 +223,28 @@
|
|||
<reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="d00cf6c5-52f9-47b2-bd01-4f46ddd8bd11"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="240" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="63d8ba46-8dd5-446b-9358-17fafe3f2637"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="228" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="63d8ba46-8dd5-446b-9358-17fafe3f2637"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="320" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="a91fb857-041e-4bd6-8bd2-43ada54add97"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="296" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="a91fb857-041e-4bd6-8bd2-43ada54add97"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="400" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="ceaa0870-2736-4794-abb5-53add3d11c5d"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="361" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="ceaa0870-2736-4794-abb5-53add3d11c5d"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="480" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="bbc1b544-2ed6-4c95-ab0f-63697c6430cd"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="441" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="bbc1b544-2ed6-4c95-ab0f-63697c6430cd"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="560" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="eb4f1c10-935f-456d-8cb4-15c565db2464"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="521" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="eb4f1c10-935f-456d-8cb4-15c565db2464"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="640" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="928b086b-43cd-4ddc-b653-ecc0c22dfe69"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="601" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="928b086b-43cd-4ddc-b653-ecc0c22dfe69"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="720" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="59bd1af6-ea28-464d-b287-4fd0dee3ddcf"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="671" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="59bd1af6-ea28-464d-b287-4fd0dee3ddcf"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="801" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="cbbf8c84-fad3-4653-8aaa-6c9ad47872ab"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="736" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="cbbf8c84-fad3-4653-8aaa-6c9ad47872ab"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement positionType="Float" x="0" y="23" width="802" height="1" forecolor="#CCCCCC" uuid="bc3a32cd-6bbd-464e-8a5a-6a742dff6cfc"/>
|
||||
|
@ -242,15 +253,25 @@
|
|||
<reportElement positionType="Float" x="0" y="0" width="802" height="1" forecolor="#CCCCCC" uuid="b561162c-d45a-48a9-b374-110b84f36fa3"/>
|
||||
</line>
|
||||
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="179" y="2" width="61" height="20" isPrintWhenDetailOverflows="true" uuid="1639ee09-fc74-47ae-a5dd-a8cd64e67586"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="167" y="2" width="61" height="20" isPrintWhenDetailOverflows="true" uuid="1639ee09-fc74-47ae-a5dd-a8cd64e67586"/>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{qtde}]]></textFieldExpression>
|
||||
</textField>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="178" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="4e7e7dec-3003-4f60-a441-d67cf0337033"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="166" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="4e7e7dec-3003-4f60-a441-d67cf0337033"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="801" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="12112464-0457-49f1-b719-09140ca19593"/>
|
||||
</line>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="737" y="2" width="64" height="20" isPrintWhenDetailOverflows="true" uuid="76360579-f207-4be7-8bd5-5ed4821b3e17"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" markup="none">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{cancelado} ? $R{label.sim} : $R{label.nao}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</detail>
|
||||
<columnFooter>
|
||||
|
@ -259,49 +280,49 @@
|
|||
<pageFooter>
|
||||
<band height="25" splitType="Stretch">
|
||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement x="241" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="1e428984-8f32-401e-98cc-fb8058170b8b"/>
|
||||
<reportElement x="229" y="2" width="67" height="20" isPrintWhenDetailOverflows="true" uuid="1e428984-8f32-401e-98cc-fb8058170b8b"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{vSpreciobase}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement x="321" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="0e5c22ef-c516-4077-bb87-4ecaac0c2527"/>
|
||||
<reportElement x="297" y="2" width="64" height="20" isPrintWhenDetailOverflows="true" uuid="0e5c22ef-c516-4077-bb87-4ecaac0c2527"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{vSimporteseguro}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement x="401" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="45d16415-14dc-4d11-bbdf-03947bc31864"/>
|
||||
<reportElement x="362" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="45d16415-14dc-4d11-bbdf-03947bc31864"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{vSimportetaxaembarque}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement x="481" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="0cf0ae52-7f31-4e4f-b30f-2714b1e7e4ba"/>
|
||||
<reportElement x="442" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="0cf0ae52-7f31-4e4f-b30f-2714b1e7e4ba"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{vSimporteoutros}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement x="561" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="92daa21e-386c-4731-943c-0a925d98f38f"/>
|
||||
<reportElement x="522" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="92daa21e-386c-4731-943c-0a925d98f38f"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{vSpreciototal}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement x="641" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="e83dea1b-ebc3-497d-bc18-44a13a3e103c"/>
|
||||
<reportElement x="602" y="2" width="69" height="20" isPrintWhenDetailOverflows="true" uuid="e83dea1b-ebc3-497d-bc18-44a13a3e103c"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{vDesconto}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement x="721" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="0ce3d768-3e6d-4a7b-b3b0-706e811e2d26"/>
|
||||
<reportElement x="672" y="2" width="64" height="20" isPrintWhenDetailOverflows="true" uuid="0ce3d768-3e6d-4a7b-b3b0-706e811e2d26"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
|
@ -314,41 +335,44 @@
|
|||
<reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="8e1b53c2-7074-4697-802a-ac1221f00cc8"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="240" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="4cbc3b36-2c22-40cc-8a80-4024e5cd1aa1"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="228" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="4cbc3b36-2c22-40cc-8a80-4024e5cd1aa1"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="320" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="75adfdfa-56ba-45d6-895c-8f4d07352662"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="296" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="75adfdfa-56ba-45d6-895c-8f4d07352662"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="400" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="494ed8c6-5e48-44f8-a8d9-70b557856d6c"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="361" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="494ed8c6-5e48-44f8-a8d9-70b557856d6c"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="480" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="63f52a6e-506e-4442-bbcc-32d2c8c73a1f"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="441" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="63f52a6e-506e-4442-bbcc-32d2c8c73a1f"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="560" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="47e4bc34-618c-4169-942d-422b2d00315f"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="521" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="47e4bc34-618c-4169-942d-422b2d00315f"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="640" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="c2a082b0-b006-430b-8768-22339b2a6d71"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="601" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="c2a082b0-b006-430b-8768-22339b2a6d71"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="720" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="7daf4d6b-c33d-4fe4-8ffa-9f11e56957c6"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="671" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="7daf4d6b-c33d-4fe4-8ffa-9f11e56957c6"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="801" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="2f2a4651-90e2-4dc1-85a8-d67bf44dd03d"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="736" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="2f2a4651-90e2-4dc1-85a8-d67bf44dd03d"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement positionType="Float" x="0" y="0" width="802" height="1" forecolor="#CCCCCC" uuid="829fa1e8-3b8d-4349-b28e-085e73efcbbc"/>
|
||||
</line>
|
||||
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
|
||||
<reportElement x="179" y="2" width="61" height="20" isPrintWhenDetailOverflows="true" uuid="93f900d4-8edc-4922-9be8-07aa9c0cb054"/>
|
||||
<reportElement x="167" y="2" width="61" height="20" isPrintWhenDetailOverflows="true" uuid="93f900d4-8edc-4922-9be8-07aa9c0cb054"/>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{vQtde}]]></textFieldExpression>
|
||||
</textField>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="178" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="2957e77c-3f57-4467-bcc1-cffa89d5b3a7"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="166" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="2957e77c-3f57-4467-bcc1-cffa89d5b3a7"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="801" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="a69c6bed-4b08-4995-a265-3fba72163846"/>
|
||||
</line>
|
||||
</band>
|
||||
</pageFooter>
|
||||
|
|
Binary file not shown.
|
@ -1,11 +1,9 @@
|
|||
<?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="RelatorioVendasPacotesBoletos" pageWidth="842" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="84b9dfcf-8ec5-4f51-80cc-7339e3b158b4">
|
||||
<property name="ireport.zoom" value="1.0"/>
|
||||
<property name="ireport.x" value="129"/>
|
||||
<property name="ireport.x" value="0"/>
|
||||
<property name="ireport.y" value="0"/>
|
||||
<parameter name="empresa" class="java.lang.String"/>
|
||||
<parameter name="fecInicio" class="java.lang.String"/>
|
||||
<parameter name="fecFinal" class="java.lang.String"/>
|
||||
<parameter name="noDataRelatorio" class="java.lang.String"/>
|
||||
<parameter name="subreporte" class="net.sf.jasperreports.engine.JasperReport"/>
|
||||
<parameter name="SUBREPORT_RESOURCE_BUNDLE_1" class="java.util.ResourceBundle"/>
|
||||
|
@ -17,18 +15,19 @@
|
|||
<parameter name="subreporteTotais" class="net.sf.jasperreports.engine.JasperReport"/>
|
||||
<parameter name="totais" class="java.util.List"/>
|
||||
<parameter name="tipoTarifaPacote" class="java.lang.String"/>
|
||||
<parameter name="periodoPacote" class="java.lang.String"/>
|
||||
<parameter name="periodoVenda" class="java.lang.String"/>
|
||||
<queryString>
|
||||
<![CDATA[]]>
|
||||
</queryString>
|
||||
<field name="relatorioVendasPacotesBoletosItemBeans" class="java.util.List"/>
|
||||
<field name="descorigen" class="java.lang.String"/>
|
||||
<field name="descdestino" class="java.lang.String"/>
|
||||
<field name="relatorioVendasPacotesBoletosItemBeansCancelados" class="java.util.List"/>
|
||||
<background>
|
||||
<band splitType="Stretch"/>
|
||||
</background>
|
||||
<title>
|
||||
<band height="122" splitType="Stretch">
|
||||
<band height="142" splitType="Stretch">
|
||||
<textField>
|
||||
<reportElement x="0" y="0" width="620" height="20" uuid="43b2c28d-4760-4890-b00d-25e931e79c74"/>
|
||||
<textElement markup="none">
|
||||
|
@ -55,29 +54,36 @@
|
|||
<textElement>
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{cabecalho.periodo} + " " + $P{fecInicio} + " " + $R{cabecalho.periodoA} + " " + $P{fecFinal}]]></textFieldExpression>
|
||||
<textFieldExpression><![CDATA[$R{cabecalho.periodoVenda} + " " + $P{periodoVenda}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="0" y="60" width="802" height="20" uuid="bc1ac781-2bb6-40ef-92dd-d4f07f327d18"/>
|
||||
<reportElement x="0" y="80" width="802" height="20" uuid="bc1ac781-2bb6-40ef-92dd-d4f07f327d18"/>
|
||||
<textElement>
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{cabecalho.origem} + " " + $P{origem} + " " + $R{cabecalho.destino} + " " + $P{destino}]]></textFieldExpression>
|
||||
<textFieldExpression><![CDATA[$R{cabecalho.origem} + " " + $P{origem} + " / " + $R{cabecalho.destino} + " " + $P{destino}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="0" y="80" width="802" height="20" uuid="1cfececb-aab4-4ec7-a002-b7a45c567252"/>
|
||||
<reportElement x="0" y="100" width="802" height="20" uuid="1cfececb-aab4-4ec7-a002-b7a45c567252"/>
|
||||
<textElement>
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{cabecalho.usuario} + " " + $P{usuario}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="0" y="100" width="802" height="20" uuid="8b436394-0e3c-420e-b2dd-2b62ee7ed988"/>
|
||||
<reportElement x="0" y="120" width="802" height="20" uuid="8b436394-0e3c-420e-b2dd-2b62ee7ed988"/>
|
||||
<textElement>
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{cabecalho.tipoTarifaPacote} + " " + $P{tipoTarifaPacote}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="0" y="60" width="620" height="20" uuid="5cf60597-1643-473f-ad7d-9a5748fcf2a6"/>
|
||||
<textElement>
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{cabecalho.periodoPacote} + " " + $P{periodoPacote}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</title>
|
||||
<pageHeader>
|
||||
|
@ -115,27 +121,6 @@
|
|||
<reportElement positionType="Float" x="0" y="4" width="802" height="1" uuid="29d8e10c-62eb-4a5b-b71a-05bb44438009"/>
|
||||
</line>
|
||||
</band>
|
||||
<band height="78">
|
||||
<printWhenExpression><![CDATA[$F{relatorioVendasPacotesBoletosItemBeansCancelados}.isEmpty() == false]]></printWhenExpression>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement positionType="Float" x="1" y="7" width="802" height="20" isPrintWhenDetailOverflows="true" uuid="d012a47a-4e8f-4cb3-a760-b7b9e5259cb6"/>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.trecho} + " " + $F{descorigen} + "/" + $F{descdestino} + " " + $R{label.cancelados}]]></textFieldExpression>
|
||||
</textField>
|
||||
<line>
|
||||
<reportElement positionType="Float" x="1" y="4" width="802" height="1" uuid="38cc08d1-b1f5-40f2-95d4-bd74e26526fd"/>
|
||||
</line>
|
||||
<subreport isUsingCache="true">
|
||||
<reportElement positionType="Float" x="1" y="33" width="802" height="38" uuid="91f8b703-603b-4ea7-b375-3e92456630d6"/>
|
||||
<subreportParameter name="REPORT_RESOURCE_BUNDLE">
|
||||
<subreportParameterExpression><![CDATA[$P{SUBREPORT_RESOURCE_BUNDLE_1}]]></subreportParameterExpression>
|
||||
</subreportParameter>
|
||||
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{relatorioVendasPacotesBoletosItemBeansCancelados})]]></dataSourceExpression>
|
||||
<subreportExpression><![CDATA[$P{subreporte}]]></subreportExpression>
|
||||
</subreport>
|
||||
</band>
|
||||
</detail>
|
||||
<columnFooter>
|
||||
<band splitType="Stretch"/>
|
||||
|
@ -143,29 +128,6 @@
|
|||
<pageFooter>
|
||||
<band splitType="Stretch"/>
|
||||
</pageFooter>
|
||||
<summary>
|
||||
<band height="75" splitType="Stretch">
|
||||
<printWhenExpression><![CDATA[$P{totais}.isEmpty() == false]]></printWhenExpression>
|
||||
<subreport isUsingCache="true">
|
||||
<reportElement positionType="Float" x="1" y="35" width="802" height="38" uuid="b22972a0-06b4-4eb5-9294-4a7214ed0912"/>
|
||||
<subreportParameter name="REPORT_RESOURCE_BUNDLE">
|
||||
<subreportParameterExpression><![CDATA[$P{SUBREPORT_RESOURCE_BUNDLE_2}]]></subreportParameterExpression>
|
||||
</subreportParameter>
|
||||
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($P{totais})]]></dataSourceExpression>
|
||||
<subreportExpression><![CDATA[$P{subreporteTotais}]]></subreportExpression>
|
||||
</subreport>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement positionType="Float" x="1" y="5" width="802" height="20" isPrintWhenDetailOverflows="true" uuid="71c8b930-a9e1-4aee-a8fb-97eb0dc3f082"/>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.resumo}]]></textFieldExpression>
|
||||
</textField>
|
||||
<line>
|
||||
<reportElement positionType="Float" x="0" y="2" width="802" height="1" uuid="d570fbf0-d4da-49fa-aff0-2bf1d5a074a7"/>
|
||||
</line>
|
||||
</band>
|
||||
</summary>
|
||||
<noData>
|
||||
<band height="24">
|
||||
<textField isBlankWhenNull="true">
|
||||
|
|
Binary file not shown.
|
@ -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="RelatorioVendasPacotesBoletosItem" pageWidth="802" pageHeight="555" orientation="Landscape" columnWidth="802" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="f17327a0-45d8-4ec1-8350-688df66785dc">
|
||||
<property name="ireport.zoom" value="5.0"/>
|
||||
<property name="ireport.x" value="0"/>
|
||||
<property name="ireport.zoom" value="2.0"/>
|
||||
<property name="ireport.x" value="822"/>
|
||||
<property name="ireport.y" value="0"/>
|
||||
<field name="nomconvenio" class="java.lang.String"/>
|
||||
<field name="desctipotarifa" class="java.lang.String"/>
|
||||
|
@ -14,6 +14,9 @@
|
|||
<field name="spreciopagado" class="java.math.BigDecimal"/>
|
||||
<field name="spreciobase" class="java.math.BigDecimal"/>
|
||||
<field name="spreciototal" class="java.math.BigDecimal"/>
|
||||
<field name="cancelado" class="java.lang.Boolean"/>
|
||||
<field name="numDescRuta" class="java.lang.String"/>
|
||||
<field name="impresso" class="java.lang.Boolean"/>
|
||||
<variable name="vQtde" class="java.lang.Long" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{qtde}]]></variableExpression>
|
||||
</variable>
|
||||
|
@ -53,70 +56,70 @@
|
|||
<columnHeader>
|
||||
<band height="24" splitType="Stretch">
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="1" y="2" width="73" height="20" isPrintWhenDetailOverflows="true" uuid="ca0cfce0-945a-41b6-a2b6-07b599432260"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="137" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="ca0cfce0-945a-41b6-a2b6-07b599432260"/>
|
||||
<textElement verticalAlignment="Top" markup="none">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.desctipotarifa}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="75" y="2" width="118" height="20" isPrintWhenDetailOverflows="true" uuid="16b05797-4914-43d4-8ef5-1e999e6ee7eb"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="218" y="2" width="73" height="20" isPrintWhenDetailOverflows="true" uuid="16b05797-4914-43d4-8ef5-1e999e6ee7eb"/>
|
||||
<textElement verticalAlignment="Top" markup="none">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.nomconvenio}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="194" y="2" width="46" height="20" isPrintWhenDetailOverflows="true" uuid="bc16a571-d1f3-4574-a521-3c6076317b8f"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="292" y="2" width="46" height="20" isPrintWhenDetailOverflows="true" uuid="bc16a571-d1f3-4574-a521-3c6076317b8f"/>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top" markup="none">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.qtde}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="241" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="74894a72-7acf-43bc-abc7-a3ca0931f1c0"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="339" y="2" width="44" height="20" isPrintWhenDetailOverflows="true" uuid="74894a72-7acf-43bc-abc7-a3ca0931f1c0"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" markup="none">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.spreciobase}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="321" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="60d565a0-f9c1-4648-87a5-0acd7bcc95cb"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="386" y="2" width="46" height="20" isPrintWhenDetailOverflows="true" uuid="60d565a0-f9c1-4648-87a5-0acd7bcc95cb"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" markup="none">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.simporteseguro}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="401" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="7351b458-41bf-4cf3-839a-9b17860cd029"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="434" y="2" width="50" height="20" isPrintWhenDetailOverflows="true" uuid="7351b458-41bf-4cf3-839a-9b17860cd029"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" markup="none">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.simportetaxaembarque}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="481" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="b40f5fec-8d0e-47c6-9a02-c6b9f4f4cf40"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="486" y="2" width="48" height="20" isPrintWhenDetailOverflows="true" uuid="b40f5fec-8d0e-47c6-9a02-c6b9f4f4cf40"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" markup="none">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.simporteoutros}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="721" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="7f2d56a0-8755-4192-be26-3c082bcde27f"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="641" y="2" width="46" height="20" isPrintWhenDetailOverflows="true" uuid="7f2d56a0-8755-4192-be26-3c082bcde27f"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" markup="none">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.spreciopagado}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="641" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="637d297c-7275-4094-9f67-e6d36eff60a2"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="588" y="2" width="51" height="20" isPrintWhenDetailOverflows="true" uuid="637d297c-7275-4094-9f67-e6d36eff60a2"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" markup="none">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.desconto}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="561" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="0d9ab795-d305-44a6-b12a-e0445e36613a"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="536" y="2" width="49" height="20" isPrintWhenDetailOverflows="true" uuid="0d9ab795-d305-44a6-b12a-e0445e36613a"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" markup="none">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
|
@ -126,31 +129,31 @@
|
|||
<reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="4d4396e4-a34f-438e-a514-662f3dad27d3"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="74" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="93d54a79-3e12-4842-ad69-8df8a59f749d"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="217" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="93d54a79-3e12-4842-ad69-8df8a59f749d"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="193" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="3445b238-a1d8-4edd-9746-987d4711d672"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="291" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="3445b238-a1d8-4edd-9746-987d4711d672"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="240" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="693e1442-9a9b-4237-b8ce-a7368319bb8c"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="338" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="693e1442-9a9b-4237-b8ce-a7368319bb8c"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="320" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="b9353306-7d23-4428-bde1-136a92c129d0"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="384" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="b9353306-7d23-4428-bde1-136a92c129d0"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="400" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="c236d4ae-a2fe-4fce-80f1-aceabf3d47ad"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="433" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="c236d4ae-a2fe-4fce-80f1-aceabf3d47ad"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="480" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="a7a71b94-542f-4ebc-9812-982fe947379b"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="485" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="a7a71b94-542f-4ebc-9812-982fe947379b"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="560" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="ad00d26a-75cd-4fe1-bd28-a8346dcb1e82"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="535" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="ad00d26a-75cd-4fe1-bd28-a8346dcb1e82"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="640" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="0960adca-3ca3-4f52-88af-70278652e9a6"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="586" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="0960adca-3ca3-4f52-88af-70278652e9a6"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="720" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="a5133d51-f908-4ffe-9df8-d25f0b312ab9"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="640" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="a5133d51-f908-4ffe-9df8-d25f0b312ab9"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="801" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="2cdb1883-2ec8-4373-90d1-35eaf7502cbc"/>
|
||||
|
@ -161,75 +164,105 @@
|
|||
<line>
|
||||
<reportElement positionType="Float" x="0" y="23" width="802" height="1" forecolor="#CCCCCC" uuid="64883292-c3bb-4786-a914-44d64bfc53c9"/>
|
||||
</line>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="746" y="2" width="53" height="20" isPrintWhenDetailOverflows="true" uuid="7fc23849-b39d-4673-811f-38cdfe3d0567"/>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top" markup="none">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.cancelado}]]></textFieldExpression>
|
||||
</textField>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="744" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="de0639f4-cea9-4a31-860a-6ceb480d15ba"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="136" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="798f77de-4a24-4d84-ac6d-4e7ebf9ee8ee"/>
|
||||
</line>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="1" y="2" width="135" height="20" isPrintWhenDetailOverflows="true" uuid="851e7282-6089-427f-8f2a-e83b5ad47551"/>
|
||||
<textElement verticalAlignment="Top" markup="none">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.ruta}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="690" y="2" width="53" height="20" isPrintWhenDetailOverflows="true" uuid="b5a149a6-1465-4faa-88b9-b9eae375fe5e"/>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top" markup="none">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.impresso}]]></textFieldExpression>
|
||||
</textField>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="688" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="5d6b01fa-fb39-4fd1-a48c-3324e49695f7"/>
|
||||
</line>
|
||||
</band>
|
||||
</columnHeader>
|
||||
<detail>
|
||||
<band height="24" splitType="Stretch">
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="1" y="2" width="73" height="20" isPrintWhenDetailOverflows="true" uuid="ebc048fd-2106-47f2-88f5-ff3710ec047e"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="137" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="ebc048fd-2106-47f2-88f5-ff3710ec047e"/>
|
||||
<textElement verticalAlignment="Top">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{desctipotarifa}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="75" y="2" width="118" height="20" isPrintWhenDetailOverflows="true" uuid="9d3ec869-4da6-45a1-b59b-6e374b36a929"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="218" y="2" width="73" height="20" isPrintWhenDetailOverflows="true" uuid="9d3ec869-4da6-45a1-b59b-6e374b36a929"/>
|
||||
<textElement verticalAlignment="Top">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{nomconvenio}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="194" y="2" width="46" height="20" isPrintWhenDetailOverflows="true" uuid="be19e5aa-b241-4d2d-bd96-47b2e271cdf4"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="292" y="2" width="46" height="20" isPrintWhenDetailOverflows="true" uuid="be19e5aa-b241-4d2d-bd96-47b2e271cdf4"/>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{qtde}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="241" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="5e343619-3254-4481-a3d3-00a33e144145"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="339" y="2" width="44" height="20" isPrintWhenDetailOverflows="true" uuid="5e343619-3254-4481-a3d3-00a33e144145"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{spreciobase}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="321" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="43d5475f-18ce-4427-b971-8f374a01e9b1"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="386" y="2" width="46" height="20" isPrintWhenDetailOverflows="true" uuid="43d5475f-18ce-4427-b971-8f374a01e9b1"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{simporteseguro}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="401" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="e47fb86e-b5b3-4f8f-9200-3fc950e6631d"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="434" y="2" width="50" height="20" isPrintWhenDetailOverflows="true" uuid="e47fb86e-b5b3-4f8f-9200-3fc950e6631d"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{simportetaxaembarque}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="481" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="3f5483a5-9c57-4510-b040-24b0267396d8"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="486" y="2" width="48" height="20" isPrintWhenDetailOverflows="true" uuid="3f5483a5-9c57-4510-b040-24b0267396d8"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{simporteoutros}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="721" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="3348c997-2b2d-401f-a5d6-2a9e1e7abd51"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="641" y="2" width="46" height="20" isPrintWhenDetailOverflows="true" uuid="3348c997-2b2d-401f-a5d6-2a9e1e7abd51"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{spreciopagado}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="641" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="d81fe2cf-b81c-4f65-939c-6c7d54559360"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="588" y="2" width="51" height="20" isPrintWhenDetailOverflows="true" uuid="d81fe2cf-b81c-4f65-939c-6c7d54559360"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{desconto}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="561" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="010f06dc-7915-4d18-ace5-b0262e54c9e3"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="536" y="2" width="49" height="20" isPrintWhenDetailOverflows="true" uuid="010f06dc-7915-4d18-ace5-b0262e54c9e3"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
|
@ -239,31 +272,31 @@
|
|||
<reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="d00cf6c5-52f9-47b2-bd01-4f46ddd8bd11"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="74" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="3a9d2b33-6d6a-4c4e-801b-224396ccfc48"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="217" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="3a9d2b33-6d6a-4c4e-801b-224396ccfc48"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="193" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="a3d1b877-70ee-4b4d-8889-fd2753d5265b"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="291" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="a3d1b877-70ee-4b4d-8889-fd2753d5265b"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="240" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="63d8ba46-8dd5-446b-9358-17fafe3f2637"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="338" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="63d8ba46-8dd5-446b-9358-17fafe3f2637"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="320" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="a91fb857-041e-4bd6-8bd2-43ada54add97"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="384" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="a91fb857-041e-4bd6-8bd2-43ada54add97"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="400" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="ceaa0870-2736-4794-abb5-53add3d11c5d"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="433" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="ceaa0870-2736-4794-abb5-53add3d11c5d"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="480" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="bbc1b544-2ed6-4c95-ab0f-63697c6430cd"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="485" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="bbc1b544-2ed6-4c95-ab0f-63697c6430cd"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="560" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="eb4f1c10-935f-456d-8cb4-15c565db2464"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="535" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="eb4f1c10-935f-456d-8cb4-15c565db2464"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="640" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="928b086b-43cd-4ddc-b653-ecc0c22dfe69"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="586" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="928b086b-43cd-4ddc-b653-ecc0c22dfe69"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="720" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="59bd1af6-ea28-464d-b287-4fd0dee3ddcf"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="640" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="59bd1af6-ea28-464d-b287-4fd0dee3ddcf"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="801" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="cbbf8c84-fad3-4653-8aaa-6c9ad47872ab"/>
|
||||
|
@ -274,6 +307,36 @@
|
|||
<line>
|
||||
<reportElement positionType="Float" x="0" y="0" width="802" height="1" forecolor="#CCCCCC" uuid="b561162c-d45a-48a9-b374-110b84f36fa3"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="744" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="48eb05b4-a6a0-458d-afb8-10e74183293f"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="136" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="607a62b5-f460-4397-aa39-0ee6e134bd87"/>
|
||||
</line>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="1" y="2" width="135" height="20" isPrintWhenDetailOverflows="true" uuid="1b32916c-ca23-4aa7-89a0-b372dd04a7b9"/>
|
||||
<textElement verticalAlignment="Top">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{numDescRuta}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="746" y="2" width="53" height="20" isPrintWhenDetailOverflows="true" uuid="874fe756-fcd5-4953-838d-dc51c9c44fca"/>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top" markup="none">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{cancelado} ? $R{label.sim} : $R{label.nao}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true">
|
||||
<reportElement stretchType="RelativeToTallestObject" x="690" y="2" width="53" height="20" isPrintWhenDetailOverflows="true" uuid="5f6e9872-8d74-474a-be0a-7a8af98fd9dd"/>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top" markup="none">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{impresso} ? $R{label.sim} : $R{label.nao}]]></textFieldExpression>
|
||||
</textField>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="688" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="70d0bce1-3fbf-462f-a6ed-0d2ed5ebea37"/>
|
||||
</line>
|
||||
</band>
|
||||
</detail>
|
||||
<columnFooter>
|
||||
|
@ -282,56 +345,56 @@
|
|||
<pageFooter>
|
||||
<band height="24" splitType="Stretch">
|
||||
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
|
||||
<reportElement x="194" y="2" width="46" height="20" isPrintWhenDetailOverflows="true" uuid="01e3adbf-f994-4e68-8909-370ff62d5fc2"/>
|
||||
<reportElement x="292" y="2" width="46" height="20" isPrintWhenDetailOverflows="true" uuid="01e3adbf-f994-4e68-8909-370ff62d5fc2"/>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{vQtde}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement x="241" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="1e428984-8f32-401e-98cc-fb8058170b8b"/>
|
||||
<reportElement x="339" y="2" width="44" height="20" isPrintWhenDetailOverflows="true" uuid="1e428984-8f32-401e-98cc-fb8058170b8b"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{vSpreciobase}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement x="321" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="0e5c22ef-c516-4077-bb87-4ecaac0c2527"/>
|
||||
<reportElement x="386" y="2" width="46" height="20" isPrintWhenDetailOverflows="true" uuid="0e5c22ef-c516-4077-bb87-4ecaac0c2527"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{vSimporteseguro}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement x="401" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="45d16415-14dc-4d11-bbdf-03947bc31864"/>
|
||||
<reportElement x="434" y="2" width="50" height="20" isPrintWhenDetailOverflows="true" uuid="45d16415-14dc-4d11-bbdf-03947bc31864"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{vSimportetaxaembarque}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement x="481" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="0cf0ae52-7f31-4e4f-b30f-2714b1e7e4ba"/>
|
||||
<reportElement x="486" y="2" width="48" height="20" isPrintWhenDetailOverflows="true" uuid="0cf0ae52-7f31-4e4f-b30f-2714b1e7e4ba"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{vSimporteoutros}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement x="561" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="92daa21e-386c-4731-943c-0a925d98f38f"/>
|
||||
<reportElement x="536" y="2" width="49" height="20" isPrintWhenDetailOverflows="true" uuid="92daa21e-386c-4731-943c-0a925d98f38f"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{vSpreciototal}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement x="641" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="e83dea1b-ebc3-497d-bc18-44a13a3e103c"/>
|
||||
<reportElement x="588" y="2" width="51" height="20" isPrintWhenDetailOverflows="true" uuid="e83dea1b-ebc3-497d-bc18-44a13a3e103c"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{vDesconto}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement x="721" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="0ce3d768-3e6d-4a7b-b3b0-706e811e2d26"/>
|
||||
<reportElement x="641" y="2" width="46" height="20" isPrintWhenDetailOverflows="true" uuid="0ce3d768-3e6d-4a7b-b3b0-706e811e2d26"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
|
@ -344,28 +407,28 @@
|
|||
<reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="8e1b53c2-7074-4697-802a-ac1221f00cc8"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="193" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="8fa9bc36-30f6-4f14-83b3-27b898d2a9ea"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="291" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="8fa9bc36-30f6-4f14-83b3-27b898d2a9ea"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="240" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="4cbc3b36-2c22-40cc-8a80-4024e5cd1aa1"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="338" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="4cbc3b36-2c22-40cc-8a80-4024e5cd1aa1"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="320" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="75adfdfa-56ba-45d6-895c-8f4d07352662"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="384" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="75adfdfa-56ba-45d6-895c-8f4d07352662"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="400" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="494ed8c6-5e48-44f8-a8d9-70b557856d6c"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="433" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="494ed8c6-5e48-44f8-a8d9-70b557856d6c"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="480" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="63f52a6e-506e-4442-bbcc-32d2c8c73a1f"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="485" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="63f52a6e-506e-4442-bbcc-32d2c8c73a1f"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="560" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="47e4bc34-618c-4169-942d-422b2d00315f"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="535" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="47e4bc34-618c-4169-942d-422b2d00315f"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="640" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="c2a082b0-b006-430b-8768-22339b2a6d71"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="586" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="c2a082b0-b006-430b-8768-22339b2a6d71"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="720" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="7daf4d6b-c33d-4fe4-8ffa-9f11e56957c6"/>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="640" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="7daf4d6b-c33d-4fe4-8ffa-9f11e56957c6"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="801" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="2f2a4651-90e2-4dc1-85a8-d67bf44dd03d"/>
|
||||
|
@ -373,6 +436,9 @@
|
|||
<line>
|
||||
<reportElement positionType="Float" x="0" y="0" width="802" height="1" forecolor="#CCCCCC" uuid="829fa1e8-3b8d-4349-b28e-085e73efcbbc"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement stretchType="RelativeToTallestObject" x="688" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="d33af55b-f1f9-4e13-a001-9ab0c2242ae6"/>
|
||||
</line>
|
||||
</band>
|
||||
</pageFooter>
|
||||
<summary>
|
||||
|
|
|
@ -3,6 +3,8 @@ package com.rjconsultores.ventaboletos.relatorios.utilitarios;
|
|||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
|
||||
import com.rjconsultores.ventaboletos.enums.SituacaoVendaPacote;
|
||||
|
||||
public class RelatorioVendasPacotesBoletosBean {
|
||||
|
||||
private String cveorigen;
|
||||
|
@ -39,6 +41,8 @@ public class RelatorioVendasPacotesBoletosBean {
|
|||
|
||||
public class RelatorioVendasPacotesBoletosItemBean {
|
||||
|
||||
private String numruta;
|
||||
private String descruta;
|
||||
private String nomconvenio;
|
||||
private String desctipotarifa;
|
||||
private String desccategoria;
|
||||
|
@ -49,6 +53,8 @@ public class RelatorioVendasPacotesBoletosBean {
|
|||
private BigDecimal simporteseguro;
|
||||
private BigDecimal desconto;
|
||||
private BigDecimal spreciobase;
|
||||
private SituacaoVendaPacote situacao;
|
||||
private Integer qtdeImpresso;
|
||||
|
||||
public String getNomconvenio() {
|
||||
return nomconvenio;
|
||||
|
@ -134,37 +140,6 @@ public class RelatorioVendasPacotesBoletosBean {
|
|||
return spreciototal;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
final int prime = 31;
|
||||
int result = 1;
|
||||
result = prime * result + ((desctipotarifa == null) ? 0 : desctipotarifa.hashCode());
|
||||
result = prime * result + ((nomconvenio == null) ? 0 : nomconvenio.hashCode());
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (this == obj)
|
||||
return true;
|
||||
if (obj == null)
|
||||
return false;
|
||||
if (getClass() != obj.getClass())
|
||||
return false;
|
||||
RelatorioVendasPacotesBoletosItemBean other = (RelatorioVendasPacotesBoletosItemBean) obj;
|
||||
if (desctipotarifa == null) {
|
||||
if (other.desctipotarifa != null)
|
||||
return false;
|
||||
} else if (!desctipotarifa.equals(other.desctipotarifa))
|
||||
return false;
|
||||
if (nomconvenio == null) {
|
||||
if (other.nomconvenio != null)
|
||||
return false;
|
||||
} else if (!nomconvenio.equals(other.nomconvenio))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
public BigDecimal getSpreciobase() {
|
||||
return spreciobase;
|
||||
}
|
||||
|
@ -181,6 +156,106 @@ public class RelatorioVendasPacotesBoletosBean {
|
|||
this.desccategoria = desccategoria;
|
||||
}
|
||||
|
||||
public Boolean getCancelado() {
|
||||
return SituacaoVendaPacote.CANCELADO.equals(getSituacao());
|
||||
}
|
||||
|
||||
public SituacaoVendaPacote getSituacao() {
|
||||
return situacao;
|
||||
}
|
||||
|
||||
public void setSituacao(SituacaoVendaPacote situacao) {
|
||||
this.situacao = situacao;
|
||||
}
|
||||
|
||||
public String getNumruta() {
|
||||
return numruta;
|
||||
}
|
||||
|
||||
public void setNumruta(String numruta) {
|
||||
this.numruta = numruta;
|
||||
}
|
||||
|
||||
public String getDescruta() {
|
||||
return descruta;
|
||||
}
|
||||
|
||||
public void setDescruta(String descruta) {
|
||||
this.descruta = descruta;
|
||||
}
|
||||
|
||||
public String getNumDescRuta() {
|
||||
StringBuilder str = new StringBuilder();
|
||||
str.append(getNumruta())
|
||||
.append(" - ")
|
||||
.append(getDescruta());
|
||||
return str.toString();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
final int prime = 31;
|
||||
int result = 1;
|
||||
result = prime * result + ((desccategoria == null) ? 0 : desccategoria.hashCode());
|
||||
result = prime * result + ((descruta == null) ? 0 : descruta.hashCode());
|
||||
result = prime * result + ((desctipotarifa == null) ? 0 : desctipotarifa.hashCode());
|
||||
result = prime * result + ((nomconvenio == null) ? 0 : nomconvenio.hashCode());
|
||||
result = prime * result + ((numruta == null) ? 0 : numruta.hashCode());
|
||||
result = prime * result + ((situacao == null) ? 0 : situacao.hashCode());
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (this == obj)
|
||||
return true;
|
||||
if (obj == null)
|
||||
return false;
|
||||
if (getClass() != obj.getClass())
|
||||
return false;
|
||||
RelatorioVendasPacotesBoletosItemBean other = (RelatorioVendasPacotesBoletosItemBean) obj;
|
||||
if (desccategoria == null) {
|
||||
if (other.desccategoria != null)
|
||||
return false;
|
||||
} else if (!desccategoria.equals(other.desccategoria))
|
||||
return false;
|
||||
if (descruta == null) {
|
||||
if (other.descruta != null)
|
||||
return false;
|
||||
} else if (!descruta.equals(other.descruta))
|
||||
return false;
|
||||
if (desctipotarifa == null) {
|
||||
if (other.desctipotarifa != null)
|
||||
return false;
|
||||
} else if (!desctipotarifa.equals(other.desctipotarifa))
|
||||
return false;
|
||||
if (nomconvenio == null) {
|
||||
if (other.nomconvenio != null)
|
||||
return false;
|
||||
} else if (!nomconvenio.equals(other.nomconvenio))
|
||||
return false;
|
||||
if (numruta == null) {
|
||||
if (other.numruta != null)
|
||||
return false;
|
||||
} else if (!numruta.equals(other.numruta))
|
||||
return false;
|
||||
if (situacao != other.situacao)
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
public Integer getQtdeImpresso() {
|
||||
return qtdeImpresso;
|
||||
}
|
||||
|
||||
public void setQtdeImpresso(Integer qtdeImpresso) {
|
||||
this.qtdeImpresso = qtdeImpresso;
|
||||
}
|
||||
|
||||
public Boolean getImpresso() {
|
||||
return qtdeImpresso != null && qtdeImpresso > 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -10,9 +10,7 @@ import java.util.Map;
|
|||
|
||||
import javax.sql.DataSource;
|
||||
|
||||
import net.sf.jasperreports.engine.JasperReport;
|
||||
import net.sf.jasperreports.engine.util.JRLoader;
|
||||
|
||||
import org.apache.commons.lang.StringUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.Scope;
|
||||
import org.springframework.stereotype.Controller;
|
||||
|
@ -22,13 +20,11 @@ import org.zkoss.zk.ui.event.Event;
|
|||
import org.zkoss.zul.Comboitem;
|
||||
import org.zkoss.zul.ComboitemRenderer;
|
||||
import org.zkoss.zul.Datebox;
|
||||
import org.zkoss.zul.Radio;
|
||||
|
||||
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
||||
import com.rjconsultores.ventaboletos.entidad.Parada;
|
||||
import com.rjconsultores.ventaboletos.entidad.TipoTarifaPacote;
|
||||
import com.rjconsultores.ventaboletos.entidad.Usuario;
|
||||
import com.rjconsultores.ventaboletos.relatorios.impl.RelatorioVendasBoletos;
|
||||
import com.rjconsultores.ventaboletos.relatorios.impl.RelatorioVendasPacotesBoletos;
|
||||
import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio;
|
||||
import com.rjconsultores.ventaboletos.service.EmpresaService;
|
||||
|
@ -39,6 +35,9 @@ import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParadaCve;
|
|||
import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxUsuario;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||
|
||||
import net.sf.jasperreports.engine.JasperReport;
|
||||
import net.sf.jasperreports.engine.util.JRLoader;
|
||||
|
||||
@Controller("relatorioVendasPacotesBoletosController")
|
||||
@Scope("prototype")
|
||||
public class RelatorioVendasPacotesBoletosController extends MyGenericForwardComposer {
|
||||
|
@ -56,12 +55,12 @@ public class RelatorioVendasPacotesBoletosController extends MyGenericForwardCom
|
|||
|
||||
private List<Empresa> lsEmpresa;
|
||||
private List<TipoTarifaPacote> lsTipoTarifaPacote;
|
||||
private Datebox dataInicial;
|
||||
private Datebox dataFinal;
|
||||
private Datebox dataVendaInicial;
|
||||
private Datebox dataVendaFinal;
|
||||
private Datebox dataPacoteInicial;
|
||||
private Datebox dataPacoteFinal;
|
||||
private MyComboboxEstandar cmbEmpresa;
|
||||
private MyComboboxEstandar cmbTipoTarifaPacote;
|
||||
private Radio rVendaPacotesBoletos;
|
||||
private Radio rVendaBoletos;
|
||||
|
||||
private MyComboboxParada cmbParadaOrigem;
|
||||
private MyComboboxParadaCve cmbParadaOrigemCve;
|
||||
|
@ -120,12 +119,33 @@ public class RelatorioVendasPacotesBoletosController extends MyGenericForwardCom
|
|||
|
||||
public void onClick$btnExecutarRelatorio(Event ev) throws Exception {
|
||||
SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy");
|
||||
Date dataDe = dataInicial.getValue();
|
||||
Date dataAte = dataFinal.getValue();
|
||||
Date dataVendaDe = dataVendaInicial.getValue();
|
||||
Date dataVendaAte = dataVendaFinal.getValue();
|
||||
Date dataPacoteDe = dataPacoteInicial.getValue();
|
||||
Date dataPacoteAte = dataPacoteFinal.getValue();
|
||||
|
||||
Map<String, Object> parametros = new HashMap<String, Object>();
|
||||
parametros.put("fecInicio", sdf.format(dataDe));
|
||||
parametros.put("fecFinal", sdf.format(dataAte));
|
||||
String periodoVenda = "";
|
||||
String periodoPacote = "";
|
||||
if(dataVendaDe != null) {
|
||||
parametros.put("fecVendaInicio", sdf.format(dataVendaDe));
|
||||
periodoVenda += parametros.get("fecVendaInicio") + " ";
|
||||
}
|
||||
if(dataVendaAte != null) {
|
||||
parametros.put("fecVendaFinal", sdf.format(dataVendaAte));
|
||||
periodoVenda += Labels.getLabel("lb.ate") + " " + parametros.get("fecVendaFinal");
|
||||
}
|
||||
if(dataPacoteDe != null) {
|
||||
parametros.put("fecPacoteInicio", sdf.format(dataPacoteDe));
|
||||
periodoPacote += parametros.get("fecPacoteInicio") + " ";
|
||||
}
|
||||
if(dataPacoteAte != null) {
|
||||
parametros.put("fecPacoteFinal", sdf.format(dataPacoteAte));
|
||||
periodoPacote += Labels.getLabel("lb.ate") + " " + parametros.get("fecPacoteFinal");
|
||||
}
|
||||
|
||||
parametros.put("periodoVenda", StringUtils.isNotBlank(periodoVenda) ? periodoVenda : "Todos");
|
||||
parametros.put("periodoPacote", StringUtils.isNotBlank(periodoPacote) ? periodoPacote : "Todos");
|
||||
|
||||
Comboitem cbiEmpresa = cmbEmpresa.getSelectedItem();
|
||||
String empresaId = null;
|
||||
|
@ -169,13 +189,7 @@ public class RelatorioVendasPacotesBoletosController extends MyGenericForwardCom
|
|||
parametros.put("tipoTarifaPacote", tipoTarifaPacote.getDesctipotarifa());
|
||||
}
|
||||
|
||||
Relatorio relatorio = null;
|
||||
|
||||
if(rVendaPacotesBoletos.isSelected()) {
|
||||
relatorio = gerarRelatorioVendaPacotesBoletos(parametros);
|
||||
} else if(rVendaBoletos.isSelected()) {
|
||||
relatorio = gerarRelatorioVendaBoletos(parametros);
|
||||
}
|
||||
Relatorio relatorio = gerarRelatorioVendaPacotesBoletos(parametros);
|
||||
|
||||
Map<String, Object> args = new HashMap<String, Object>();
|
||||
args.put("relatorio", relatorio);
|
||||
|
@ -194,13 +208,6 @@ public class RelatorioVendasPacotesBoletosController extends MyGenericForwardCom
|
|||
return new RelatorioVendasPacotesBoletos(parametros, dataSourceRead.getConnection(), "RelatorioVendasPacotesBoletosItem", "RelatorioVendasPacotesBoletosItemTotais");
|
||||
}
|
||||
|
||||
private Relatorio gerarRelatorioVendaBoletos(Map<String, Object> parametros) throws SQLException, Exception {
|
||||
JasperReport subRelatorioVendasBoletosItens = (JasperReport) JRLoader.loadObject(this.getClass().getResourceAsStream("/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioVendasBoletosItem.jasper"));
|
||||
parametros.put("subreporte", subRelatorioVendasBoletosItens);
|
||||
|
||||
return new RelatorioVendasBoletos(parametros, dataSourceRead.getConnection(), "RelatorioVendasBoletosItem");
|
||||
}
|
||||
|
||||
public void onSelect$cmbParadaOrigemCve(Event ev) {
|
||||
if (cmbParadaOrigemCve.getSelectedItem() != null) {
|
||||
cmbParadaOrigem.setComboItemByParada((Parada) cmbParadaOrigemCve.getSelectedItem().getValue());
|
||||
|
|
|
@ -52,10 +52,11 @@ MSG.necesita.formaPago = Forma de pago obligatória
|
|||
MSG.Error.invalida.competencia = Competência inválida
|
||||
MSG.Error.necessita.puntoVenta = Punto Venta obligatório
|
||||
|
||||
# Labels Defaul
|
||||
# Labels Default
|
||||
lb.id = ID
|
||||
lb.dec = Descripción
|
||||
lb.Equivalencia = Equivalencia
|
||||
lb.ate = até
|
||||
|
||||
# Reporte
|
||||
relatorio.lb.btnExecutarRelatorio = Ejecutar reporte
|
||||
|
@ -6044,8 +6045,10 @@ relatorioVendasPacotesDetalhadoController.lblUsuario.value = Usuário
|
|||
|
||||
# Relatorio Vendas Pacotes Boletos
|
||||
relatorioVendasPacotesBoletosController.window.title = Reporte Ventas de Paquetes - Boletos
|
||||
relatorioVendasPacotesBoletosController.lbDataIni.value = Fecha Inicio
|
||||
relatorioVendasPacotesBoletosController.lbDataFin.value = Fecha Final
|
||||
relatorioVendasPacotesBoletosController.lbDataVendaIni.value = Fec Venda Inicial
|
||||
relatorioVendasPacotesBoletosController.lbDataVendaFin.value = Fec Venda Final
|
||||
relatorioVendasPacotesBoletosController.lbDataPacoteIni.value = Fec Paquete Inicial
|
||||
relatorioVendasPacotesBoletosController.lbDataPacoteFin.value = Fec Paquete Final
|
||||
relatorioVendasPacotesBoletosController.lblEmpresa.value = Empresa
|
||||
relatorioVendasPacotesBoletosController.lblTipoTarifaPacote.value = Tipo Tarifa
|
||||
relatorioVendasPacotesBoletosController.lblPacote.value = Pacote
|
||||
|
|
|
@ -54,10 +54,11 @@ MSG.necesita.formaPago = Forma de Pagamento Obrigatória
|
|||
MSG.Error.invalida.competencia = Competência inválida
|
||||
MSG.Error.necessita.puntoVenta = Ponto de Venda (Agência) Obrigatório
|
||||
|
||||
# Labels Defaul
|
||||
# Labels Default
|
||||
lb.id = ID
|
||||
lb.dec = Descrição
|
||||
lb.Equivalencia = Equivalencia
|
||||
lb.ate = até
|
||||
|
||||
# Relatório
|
||||
relatorio.lb.btnExecutarRelatorio = Executar Relatório
|
||||
|
@ -6231,8 +6232,10 @@ relatorioVendasPacotesDetalhadoController.lblUsuario.value = Usuário
|
|||
|
||||
# Relatorio Vendas Pacotes Boletos
|
||||
relatorioVendasPacotesBoletosController.window.title = Relatório Vendas de Pacotes - Bilhetes
|
||||
relatorioVendasPacotesBoletosController.lbDataIni.value = Data Inicial
|
||||
relatorioVendasPacotesBoletosController.lbDataFin.value = Data Final
|
||||
relatorioVendasPacotesBoletosController.lbDataVendaIni.value = Dt Venda Inicial
|
||||
relatorioVendasPacotesBoletosController.lbDataVendaFin.value = Dt Venda Final
|
||||
relatorioVendasPacotesBoletosController.lbDataPacoteIni.value = Dt Pacote Inicial
|
||||
relatorioVendasPacotesBoletosController.lbDataPacoteFin.value = Dt Pacote Final
|
||||
relatorioVendasPacotesBoletosController.lblEmpresa.value = Empresa
|
||||
relatorioVendasPacotesBoletosController.lblTipoTarifaPacote.value = Tipo Tarifa
|
||||
relatorioVendasPacotesBoletosController.lblPacote.value = Pacote
|
||||
|
|
|
@ -69,27 +69,28 @@
|
|||
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('relatorioVendasPacotesBoletosController.lbDataIni.value')}" />
|
||||
<datebox id="dataInicial" width="100%" mold="rounded"
|
||||
format="dd/MM/yyyy" lenient="false" constraint="no empty"
|
||||
value="${c:l('relatorioVendasPacotesBoletosController.lbDataVendaIni.value')}" />
|
||||
<datebox id="dataVendaInicial" width="100%" mold="rounded"
|
||||
format="dd/MM/yyyy" lenient="false"
|
||||
maxlength="10" />
|
||||
<label
|
||||
value="${c:l('relatorioVendasPacotesBoletosController.lbDataFin.value')}" />
|
||||
<datebox id="dataFinal" width="100%" mold="rounded"
|
||||
format="dd/MM/yyyy" lenient="false" constraint="no empty"
|
||||
value="${c:l('relatorioVendasPacotesBoletosController.lbDataVendaFin.value')}" />
|
||||
<datebox id="dataVendaFinal" width="100%" mold="rounded"
|
||||
format="dd/MM/yyyy" lenient="false"
|
||||
maxlength="10" />
|
||||
</row>
|
||||
|
||||
<row spans="1,3">
|
||||
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('relatorioVendasPacotesBoletosController.lbTipoRelatorio.value')}" />
|
||||
<radiogroup id="rgRadioTipoRelatorio">
|
||||
<radio id="rVendaPacotesBoletos"
|
||||
label="${c:l('relatorioVendasPacotesBoletosController.lbVendaPacotesBoletos.value')}"
|
||||
selected="true"/>
|
||||
<radio id="rVendaBoletos"
|
||||
label="${c:l('relatorioVendasPacotesBoletosController.lbVendaBoletos.value')}"/>
|
||||
</radiogroup>
|
||||
value="${c:l('relatorioVendasPacotesBoletosController.lbDataPacoteIni.value')}" />
|
||||
<datebox id="dataPacoteInicial" width="100%" mold="rounded"
|
||||
format="dd/MM/yyyy" lenient="false"
|
||||
maxlength="10" />
|
||||
<label
|
||||
value="${c:l('relatorioVendasPacotesBoletosController.lbDataPacoteFin.value')}" />
|
||||
<datebox id="dataPacoteFinal" width="100%" mold="rounded"
|
||||
format="dd/MM/yyyy" lenient="false"
|
||||
maxlength="10" />
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
|
|
Loading…
Reference in New Issue