Fixes bug #9839
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@74058 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
dabbda005b
commit
87cce0aa5c
|
@ -4,8 +4,8 @@ import java.sql.Connection;
|
|||
import java.sql.ResultSet;
|
||||
import java.sql.SQLException;
|
||||
import java.sql.Timestamp;
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
|
@ -25,13 +25,13 @@ import net.sf.jasperreports.engine.data.JRBeanCollectionDataSource;
|
|||
public class RelatorioVendasPacotesDetalhado extends Relatorio {
|
||||
|
||||
private static Logger log = Logger.getLogger(RelatorioVendasPacotesDetalhado.class);
|
||||
|
||||
private SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy");
|
||||
|
||||
private List<RelatorioVendasPacotesDetalhadoBean> lsDadosRelatorio;
|
||||
|
||||
private Timestamp fecInicio;
|
||||
private Timestamp fecFinal;
|
||||
private Timestamp fecPacoteInicio;
|
||||
private Timestamp fecPacoteFinal;
|
||||
private Timestamp fecVendaInicio;
|
||||
private Timestamp fecVendaFinal;
|
||||
private Integer empresaId;
|
||||
private Integer pacoteId;
|
||||
private Integer origenId;
|
||||
|
@ -48,8 +48,23 @@ public class RelatorioVendasPacotesDetalhado extends Relatorio {
|
|||
@Override
|
||||
public void initDados() throws Exception {
|
||||
Map<String, Object> parametros = this.relatorio.getParametros();
|
||||
fecInicio = new java.sql.Timestamp(DateUtil.inicioFecha(sdf.parse(parametros.get("fecInicio").toString())).getTime());
|
||||
fecFinal = new java.sql.Timestamp(DateUtil.fimFecha(sdf.parse(parametros.get("fecFinal").toString())).getTime());
|
||||
|
||||
if(parametros.get("fecPacoteInicio") != null ) {
|
||||
fecPacoteInicio = new Timestamp(DateUtil.inicioFecha( (Date)parametros.get("fecPacoteInicio") ).getTime());
|
||||
}
|
||||
|
||||
if(parametros.get("fecPacoteFinal") != null ) {
|
||||
fecPacoteFinal = new Timestamp(DateUtil.fimFecha( (Date)parametros.get("fecPacoteFinal") ).getTime());
|
||||
}
|
||||
|
||||
if(parametros.get("fecVendaInicio") != null ) {
|
||||
fecVendaInicio = new Timestamp(DateUtil.inicioFecha( (Date)parametros.get("fecVendaInicio") ).getTime());
|
||||
}
|
||||
|
||||
if(parametros.get("fecVendaFinal") != null ) {
|
||||
fecVendaFinal = new Timestamp(DateUtil.fimFecha( (Date)parametros.get("fecVendaFinal") ).getTime());
|
||||
}
|
||||
|
||||
empresaId = parametros.get("empresaId") != null && !parametros.get("empresaId").equals("null") ? Integer.valueOf(parametros.get("empresaId").toString()) : null;
|
||||
pacoteId = parametros.get("pacoteId") != null && !parametros.get("pacoteId").equals("null") ? Integer.valueOf(parametros.get("pacoteId").toString()) : null;
|
||||
origenId = parametros.get("origenId") != null && !parametros.get("origenId").equals("null") ? Integer.valueOf(parametros.get("origenId").toString()) : null;
|
||||
|
@ -79,33 +94,50 @@ public class RelatorioVendasPacotesDetalhado extends Relatorio {
|
|||
|
||||
stmt = new NamedParameterStatement(conexao, sql);
|
||||
|
||||
if(fecInicio != null) {
|
||||
stmt.setTimestamp("fecInicio", fecInicio);
|
||||
if(fecPacoteInicio != null) {
|
||||
stmt.setTimestamp("fecPacoteInicio", fecPacoteInicio);
|
||||
}
|
||||
if(fecFinal != null) {
|
||||
stmt.setTimestamp("fecFinal", fecFinal);
|
||||
|
||||
if(fecPacoteFinal != null) {
|
||||
stmt.setTimestamp("fecPacoteFinal", fecPacoteFinal);
|
||||
}
|
||||
|
||||
if(fecVendaInicio != null) {
|
||||
stmt.setTimestamp("fecVendaInicio", fecVendaInicio);
|
||||
}
|
||||
|
||||
if(fecVendaFinal != null) {
|
||||
stmt.setTimestamp("fecVendaFinal", fecVendaFinal);
|
||||
}
|
||||
|
||||
if (empresaId != null && empresaId > 0){
|
||||
stmt.setInt("empresaId", empresaId);
|
||||
}
|
||||
|
||||
if (pacoteId != null && pacoteId > 0){
|
||||
stmt.setInt("pacoteId", pacoteId);
|
||||
}
|
||||
|
||||
if(origenId != null) {
|
||||
stmt.setInt("origenId", origenId);
|
||||
}
|
||||
|
||||
if(destinoId != null) {
|
||||
stmt.setInt("destinoId", destinoId);
|
||||
}
|
||||
|
||||
if(usuarioId != null) {
|
||||
stmt.setInt("usuarioId", usuarioId);
|
||||
}
|
||||
|
||||
if(tipoTarifaPacoteId != null && tipoTarifaPacoteId > 0) {
|
||||
stmt.setInt("tipoTarifaPacoteId", tipoTarifaPacoteId);
|
||||
}
|
||||
|
||||
if(situacaoVendaPacote != null) {
|
||||
stmt.setInt("situacaoVendaPacote", situacaoVendaPacote.getShortValue());
|
||||
}
|
||||
|
||||
if(StringUtils.isNotBlank(voucherNotaCredito)) {
|
||||
stmt.setLong("voucherNotaCredito", Long.valueOf(voucherNotaCredito));
|
||||
}
|
||||
|
@ -194,7 +226,6 @@ public class RelatorioVendasPacotesDetalhado extends Relatorio {
|
|||
.append("LEFT JOIN TIPO_TARIFA_PACOTE TTP ON TTP.TIPOTARIFAPACOTE_ID = PT.TIPOTARIFAPACOTE_ID ")
|
||||
.append("LEFT JOIN NOTA_CREDITO_VENDA_PACOTE NC ON NC.VENDAPACOTECANCELAMENTO_ID = VP.VENDAPACOTE_ID ")
|
||||
.append("LEFT JOIN VENDA_PACOTE VPNC ON NC.VENDAPACOTEPAGAMENTO_ID = VPNC.VENDAPACOTE_ID ")
|
||||
.append("LEFT JOIN VENDA_PACOTE VPNC ON NC.VENDAPACOTEPAGAMENTO_ID = VPNC.VENDAPACOTE_ID ")
|
||||
.append("WHERE P.ACTIVO = 1 ");
|
||||
|
||||
if(empresaId != null && empresaId > 0) {
|
||||
|
@ -205,12 +236,20 @@ public class RelatorioVendasPacotesDetalhado extends Relatorio {
|
|||
sQuery.append("AND P.PACOTE_ID = :pacoteId ");
|
||||
}
|
||||
|
||||
if(fecInicio != null) {
|
||||
sQuery.append("AND VP.DATAPACOTE >= :fecInicio ");
|
||||
if(fecPacoteInicio != null) {
|
||||
sQuery.append("AND VP.DATAPACOTE >= :fecPacoteInicio ");
|
||||
}
|
||||
|
||||
if(fecFinal != null) {
|
||||
sQuery.append("AND VP.DATAPACOTE <= :fecFinal ");
|
||||
if(fecPacoteFinal != null) {
|
||||
sQuery.append("AND VP.DATAPACOTE <= :fecPacoteFinal ");
|
||||
}
|
||||
|
||||
if(fecVendaInicio != null) {
|
||||
sQuery.append("AND VP.DATAVENDA >= :fecVendaInicio ");
|
||||
}
|
||||
|
||||
if(fecVendaFinal != null) {
|
||||
sQuery.append("AND VP.DATAVENDA <= :fecVendaFinal ");
|
||||
}
|
||||
|
||||
if(origenId != null) {
|
||||
|
|
|
@ -1,24 +1,27 @@
|
|||
#Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/)
|
||||
#geral
|
||||
msg.noData=Não foi possivel obter dados com os parâmetros informados.
|
||||
|
||||
cabecalho.dataHora = Data/Hora:
|
||||
cabecalho.de = de
|
||||
cabecalho.destino = Destino:
|
||||
cabecalho.filtros = Filtros:
|
||||
cabecalho.impressorPor = Impressor por:
|
||||
#Labels cabeçalho
|
||||
cabecalho.nome=Relatório Vendas de Pacotes - Detalhado
|
||||
cabecalho.relatorio=Relatório:
|
||||
cabecalho.periodo=Período:
|
||||
cabecalho.periodoA=à
|
||||
cabecalho.dataHora=Data/Hora:
|
||||
cabecalho.impressorPor=Impressor por:
|
||||
cabecalho.pagina=Página
|
||||
cabecalho.de=de
|
||||
cabecalho.filtros=Filtros:
|
||||
cabecalho.situacaoPacote=Situação:
|
||||
cabecalho.voucherNotaCredito=Voucher Nota Crédito:
|
||||
label.empresa=Empresa:
|
||||
label.pacote=Pacote:
|
||||
cabecalho.origem=Origem:
|
||||
cabecalho.destino=Destino:
|
||||
cabecalho.usuario=Usuário:
|
||||
cabecalho.tipoTarifaPacote=Tipo Tarifa:
|
||||
label.empresa=Empresa:
|
||||
label.trecho=Trecho:
|
||||
label.resumo=Resumo
|
||||
cabecalho.nome = Relat\u00F3rio Vendas de Pacotes - Detalhado
|
||||
cabecalho.origem = Origem:
|
||||
cabecalho.pagina = P\u00E1gina
|
||||
cabecalho.periodoA = \u00E0
|
||||
cabecalho.periodoPacote = Per\u00EDodo Pacote:
|
||||
cabecalho.periodoVenda = Per\u00EDodo Venda:
|
||||
cabecalho.relatorio = Relat\u00F3rio:
|
||||
cabecalho.situacaoPacote = Situa\u00E7\u00E3o:
|
||||
cabecalho.tipoTarifaPacote = Tipo Tarifa:
|
||||
cabecalho.usuario = Usu\u00E1rio:
|
||||
cabecalho.voucherNotaCredito = Voucher Nota Cr\u00E9dito:
|
||||
|
||||
label.empresa = Empresa:
|
||||
label.pacote = Pacote:
|
||||
label.resumo = Resumo
|
||||
label.trecho = Trecho:
|
||||
|
||||
msg.noData = N\u00E3o foi possivel obter dados com os par\u00E2metros informados.
|
||||
|
|
|
@ -1,24 +1,27 @@
|
|||
#Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/)
|
||||
#geral
|
||||
msg.noData=Não foi possivel obter dados com os parâmetros informados.
|
||||
|
||||
cabecalho.dataHora = Data/Hora:
|
||||
cabecalho.de = de
|
||||
cabecalho.destino = Destino:
|
||||
cabecalho.filtros = Filtros:
|
||||
cabecalho.impressorPor = Impressor por:
|
||||
#Labels cabeçalho
|
||||
cabecalho.nome=Relatório Vendas de Pacotes - Detalhado
|
||||
cabecalho.relatorio=Relatório:
|
||||
cabecalho.periodo=Período:
|
||||
cabecalho.periodoA=à
|
||||
cabecalho.dataHora=Data/Hora:
|
||||
cabecalho.impressorPor=Impressor por:
|
||||
cabecalho.pagina=Página
|
||||
cabecalho.de=de
|
||||
cabecalho.filtros=Filtros:
|
||||
cabecalho.situacaoPacote=Situação:
|
||||
cabecalho.voucherNotaCredito=Voucher Nota Crédito:
|
||||
label.empresa=Empresa:
|
||||
label.pacote=Pacote:
|
||||
cabecalho.origem=Origem:
|
||||
cabecalho.destino=Destino:
|
||||
cabecalho.usuario=Usuário:
|
||||
cabecalho.tipoTarifaPacote=Tipo Tarifa:
|
||||
label.empresa=Empresa:
|
||||
label.trecho=Trecho:
|
||||
label.resumo=Resumo
|
||||
cabecalho.nome = Relat\u00F3rio Vendas de Pacotes - Detalhado
|
||||
cabecalho.origem = Origem:
|
||||
cabecalho.pagina = P\u00E1gina
|
||||
cabecalho.periodoA = \u00E0
|
||||
cabecalho.periodoPacote = Per\u00EDodo Pacote:
|
||||
cabecalho.periodoVenda = Per\u00EDodo Venda:
|
||||
cabecalho.relatorio = Relat\u00F3rio:
|
||||
cabecalho.situacaoPacote = Situa\u00E7\u00E3o:
|
||||
cabecalho.tipoTarifaPacote = Tipo Tarifa:
|
||||
cabecalho.usuario = Usu\u00E1rio:
|
||||
cabecalho.voucherNotaCredito = Voucher Nota Cr\u00E9dito:
|
||||
|
||||
label.empresa = Empresa:
|
||||
label.pacote = Pacote:
|
||||
label.resumo = Resumo
|
||||
label.trecho = Trecho:
|
||||
|
||||
msg.noData = N\u00E3o foi possivel obter dados com os par\u00E2metros informados.
|
||||
|
|
Binary file not shown.
|
@ -4,10 +4,12 @@
|
|||
<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="fecPacoteInicio" class="java.util.Date"/>
|
||||
<parameter name="fecPacoteFinal" class="java.util.Date" isForPrompting="false"/>
|
||||
<parameter name="noDataRelatorio" class="java.lang.String"/>
|
||||
<parameter name="subreporte" class="net.sf.jasperreports.engine.JasperReport"/>
|
||||
<parameter name="subreporte" class="net.sf.jasperreports.engine.JasperReport">
|
||||
<defaultValueExpression><![CDATA[]]></defaultValueExpression>
|
||||
</parameter>
|
||||
<parameter name="SUBREPORT_RESOURCE_BUNDLE" class="java.util.ResourceBundle"/>
|
||||
<parameter name="nompacote" class="java.lang.String"/>
|
||||
<parameter name="trecho" class="java.lang.String"/>
|
||||
|
@ -17,6 +19,8 @@
|
|||
<parameter name="tipoTarifaPacote" class="java.lang.String"/>
|
||||
<parameter name="situacaoPacote" class="java.lang.String"/>
|
||||
<parameter name="voucherNotaCredito" class="java.lang.String"/>
|
||||
<parameter name="fecVendaInicio" class="java.util.Date"/>
|
||||
<parameter name="fecVendaFinal" class="java.util.Date" isForPrompting="false"/>
|
||||
<queryString>
|
||||
<![CDATA[]]>
|
||||
</queryString>
|
||||
|
@ -26,7 +30,7 @@
|
|||
<band splitType="Stretch"/>
|
||||
</background>
|
||||
<title>
|
||||
<band height="181" splitType="Stretch">
|
||||
<band height="200" splitType="Stretch">
|
||||
<textField>
|
||||
<reportElement x="0" y="0" width="637" height="20" uuid="43b2c28d-4760-4890-b00d-25e931e79c74"/>
|
||||
<textElement markup="none">
|
||||
|
@ -49,54 +53,71 @@
|
|||
<textFieldExpression><![CDATA[$R{label.empresa} + " " + $P{empresa}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="0" y="40" width="637" height="20" uuid="fd05bd35-30d9-4baf-aa56-f8e5d3c3268b"/>
|
||||
<reportElement x="0" y="40" width="637" height="20" isRemoveLineWhenBlank="true" uuid="fd05bd35-30d9-4baf-aa56-f8e5d3c3268b">
|
||||
<printWhenExpression><![CDATA[$P{fecPacoteInicio} != null && $P{fecPacoteFinal} != null]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement>
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{cabecalho.periodo} + " " + $P{fecInicio} + " " + $R{cabecalho.periodoA} + " " + $P{fecFinal}]]></textFieldExpression>
|
||||
<textFieldExpression><![CDATA[$R{cabecalho.periodoPacote} +
|
||||
" " + new SimpleDateFormat("dd/MM/yyyy").format($P{fecPacoteInicio})
|
||||
+ " " + $R{cabecalho.periodoA}
|
||||
+ " " + new SimpleDateFormat("dd/MM/yyyy").format($P{fecPacoteFinal})]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="0" y="60" width="637" height="20" uuid="66f394e2-0568-447d-9f46-c358a05628c5"/>
|
||||
<reportElement x="0" y="80" width="637" height="20" uuid="66f394e2-0568-447d-9f46-c358a05628c5"/>
|
||||
<textElement>
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{label.pacote} + " " + $P{nompacote}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="0" y="100" width="801" height="20" uuid="979b7126-0e47-4885-8a07-d8f9aa75a204"/>
|
||||
<reportElement x="0" y="120" width="801" height="20" uuid="979b7126-0e47-4885-8a07-d8f9aa75a204"/>
|
||||
<textElement>
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{cabecalho.usuario} + " " + $P{usuario}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="0" y="120" width="801" height="20" uuid="fa1e3d80-b034-4acc-8e6e-e32ebbfb35d5"/>
|
||||
<reportElement x="0" y="140" width="801" height="20" uuid="fa1e3d80-b034-4acc-8e6e-e32ebbfb35d5"/>
|
||||
<textElement>
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{cabecalho.tipoTarifaPacote} + " " + $P{tipoTarifaPacote}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="0" y="80" width="801" height="20" uuid="eb151f53-cf44-4e98-a49b-9427f740f9fc"/>
|
||||
<reportElement x="0" y="100" width="801" height="20" uuid="eb151f53-cf44-4e98-a49b-9427f740f9fc"/>
|
||||
<textElement>
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{cabecalho.origem} + " " + $P{origem} + " " + $R{cabecalho.destino} + " " + $P{destino}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="0" y="140" width="801" height="20" uuid="0081e5f0-0219-4d52-a883-d932296d8764"/>
|
||||
<reportElement x="0" y="160" width="801" height="20" uuid="0081e5f0-0219-4d52-a883-d932296d8764"/>
|
||||
<textElement>
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{cabecalho.situacaoPacote} + " " + $P{situacaoPacote}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="0" y="160" width="801" height="20" uuid="cc9c448f-3596-46c2-99bf-7ed4dc2cf865"/>
|
||||
<reportElement x="0" y="180" width="801" height="20" uuid="cc9c448f-3596-46c2-99bf-7ed4dc2cf865"/>
|
||||
<textElement>
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{cabecalho.voucherNotaCredito} + " " + $P{voucherNotaCredito}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="0" y="60" width="637" height="20" isRemoveLineWhenBlank="true" uuid="b7e70dbc-b468-47a0-8c5f-f3d7a67f8156">
|
||||
<printWhenExpression><![CDATA[$P{fecVendaInicio} != null && $P{fecVendaFinal} != null]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement>
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{cabecalho.periodoVenda} +
|
||||
" " + new SimpleDateFormat("dd/MM/yyyy").format($P{fecVendaInicio})
|
||||
+ " " + $R{cabecalho.periodoA}
|
||||
+ " " + new SimpleDateFormat("dd/MM/yyyy").format($P{fecVendaFinal})]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</title>
|
||||
<pageHeader>
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
package com.rjconsultores.ventaboletos.web.gui.controladores.relatorios;
|
||||
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.HashMap;
|
||||
|
@ -63,8 +62,10 @@ public class RelatorioVendasPacotesDetalhadoController extends MyGenericForwardC
|
|||
private List<Empresa> lsEmpresa;
|
||||
private List<Pacote> lsPacote;
|
||||
private List<TipoTarifaPacote> lsTipoTarifaPacote;
|
||||
private Datebox dataInicial;
|
||||
private Datebox dataFinal;
|
||||
private Datebox dataPacoteInicial;
|
||||
private Datebox dataPacoteFinal;
|
||||
private Datebox dataVendaInicial;
|
||||
private Datebox dataVendaFinal;
|
||||
private MyComboboxEstandar cmbEmpresa;
|
||||
private MyComboboxEstandar cmbPacote;
|
||||
private MyComboboxEstandar cmbTipoTarifaPacote;
|
||||
|
@ -75,7 +76,6 @@ public class RelatorioVendasPacotesDetalhadoController extends MyGenericForwardC
|
|||
private MyComboboxParada cmbParadaDestino;
|
||||
private MyComboboxParadaCve cmbParadaDestinoCve;
|
||||
private MyComboboxUsuario cmbUsuario;
|
||||
private Radio rTodos;
|
||||
private Radio rPagos;
|
||||
private Radio rReservados;
|
||||
private Radio rCancelados;
|
||||
|
@ -138,14 +138,28 @@ public class RelatorioVendasPacotesDetalhadoController extends MyGenericForwardC
|
|||
|
||||
public void onClick$btnExecutarRelatorio(Event ev) throws Exception {
|
||||
txtVoucherNotaCredito.getValue();
|
||||
|
||||
SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy");
|
||||
Date dataDe = dataInicial.getValue();
|
||||
Date dataAte = dataFinal.getValue();
|
||||
|
||||
Map<String, Object> parametros = new HashMap<String, Object>();
|
||||
parametros.put("fecInicio", sdf.format(dataDe));
|
||||
parametros.put("fecFinal", sdf.format(dataAte));
|
||||
|
||||
Date dataPacoteDe = dataPacoteInicial.getValue();
|
||||
Date dataPacoteAte = dataPacoteFinal.getValue();
|
||||
Date dataVendaDe = dataVendaInicial.getValue();
|
||||
Date dataVendaAte = dataVendaFinal.getValue();
|
||||
|
||||
if( dataPacoteDe != null ) {
|
||||
parametros.put("fecPacoteInicio", dataPacoteDe);
|
||||
}
|
||||
|
||||
if( dataPacoteAte != null ) {
|
||||
parametros.put("fecPacoteFinal", dataPacoteAte);
|
||||
}
|
||||
|
||||
if( dataVendaDe != null ) {
|
||||
parametros.put("fecVendaInicio", dataVendaDe);
|
||||
}
|
||||
|
||||
if( dataVendaAte != null ) {
|
||||
parametros.put("fecVendaFinal", dataVendaAte);
|
||||
}
|
||||
|
||||
Comboitem cbiEmpresa = cmbEmpresa.getSelectedItem();
|
||||
String empresaId = null;
|
||||
|
|
|
@ -6466,8 +6466,10 @@ relatorioVendasPacotesResumidoController.lblEmpresa.value = Empresa
|
|||
|
||||
# Relatorio Vendas Pacotes Detalhado
|
||||
relatorioVendasPacotesDetalhadoController.window.title = Reporte Ventas de Paquetes - Detallado
|
||||
relatorioVendasPacotesDetalhadoController.lbDataIni.value = Fecha Inicio
|
||||
relatorioVendasPacotesDetalhadoController.lbDataFin.value = Fecha Final
|
||||
relatorioVendasPacotesDetalhadoController.lbDataVendaIni.value = Fec Venda Inicial
|
||||
relatorioVendasPacotesDetalhadoController.lbDataVendaFin.value = Fec Venda Final
|
||||
relatorioVendasPacotesDetalhadoController.lbDataPacoteIni.value = Fec Paquete Inicial
|
||||
relatorioVendasPacotesDetalhadoController.lbDataPacoteFin.value = Fec Paquete Final
|
||||
relatorioVendasPacotesDetalhadoController.lblEmpresa.value = Empresa
|
||||
relatorioVendasPacotesDetalhadoController.lblPacote.value = Paquete
|
||||
relatorioVendasPacotesDetalhadoController.lblTipoTarifaPacote.value = Tipo Tarifa
|
||||
|
|
|
@ -6932,8 +6932,10 @@ relatorioVendasPacotesResumidoController.lblEmpresa.value = Empresa
|
|||
|
||||
# Relatorio Vendas Pacotes Detalhado
|
||||
relatorioVendasPacotesDetalhadoController.window.title = Relatório Vendas de Pacotes - Detalhado
|
||||
relatorioVendasPacotesDetalhadoController.lbDataIni.value = Data Inicial
|
||||
relatorioVendasPacotesDetalhadoController.lbDataFin.value = Data Final
|
||||
relatorioVendasPacotesDetalhadoController.lbDataVendaIni.value = Dt Venda Inicial
|
||||
relatorioVendasPacotesDetalhadoController.lbDataVendaFin.value = Dt Venda Final
|
||||
relatorioVendasPacotesDetalhadoController.lbDataPacoteIni.value = Dt Pacote Inicial
|
||||
relatorioVendasPacotesDetalhadoController.lbDataPacoteFin.value = Dt Pacote Final
|
||||
relatorioVendasPacotesDetalhadoController.lblEmpresa.value = Empresa
|
||||
relatorioVendasPacotesDetalhadoController.lblPacote.value = Pacote
|
||||
relatorioVendasPacotesDetalhadoController.lblTipoTarifaPacote.value = Tipo Tarifa
|
||||
|
|
|
@ -74,24 +74,24 @@
|
|||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada"
|
||||
mold="rounded" buttonVisible="true" width="65%" />
|
||||
</cell>
|
||||
</row>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('relatorioVendasPacotesDetalhadoController.lbDataIni.value')}" />
|
||||
<datebox id="dataInicial" width="100%" mold="rounded"
|
||||
format="dd/MM/yyyy" constraint="no empty"
|
||||
maxlength="10" />
|
||||
<label
|
||||
value="${c:l('relatorioVendasPacotesDetalhadoController.lbDataFin.value')}" />
|
||||
<datebox id="dataFinal" width="100%" mold="rounded"
|
||||
format="dd/MM/yyyy" constraint="no empty"
|
||||
maxlength="10" />
|
||||
<label value="${c:l('relatorioVendasPacotesDetalhadoController.lbDataVendaIni.value')}" />
|
||||
<datebox id="dataVendaInicial" width="100%" mold="rounded" format="dd/MM/yyyy" maxlength="10" />
|
||||
<label value="${c:l('relatorioVendasPacotesDetalhadoController.lbDataVendaFin.value')}" />
|
||||
<datebox id="dataVendaFinal" width="100%" mold="rounded" format="dd/MM/yyyy" maxlength="10" />
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<label value="${c:l('relatorioVendasPacotesDetalhadoController.lbDataPacoteIni.value')}" />
|
||||
<datebox id="dataPacoteInicial" width="100%" mold="rounded" format="dd/MM/yyyy" maxlength="10" />
|
||||
<label value="${c:l('relatorioVendasPacotesDetalhadoController.lbDataPacoteFin.value')}" />
|
||||
<datebox id="dataPacoteFinal" width="100%" mold="rounded" format="dd/MM/yyyy" maxlength="10" />
|
||||
</row>
|
||||
|
||||
<row spans="1,3">
|
||||
<label
|
||||
value="${c:l('relatorioVendasPacotesDetalhadoController.lblSituacao.value')}" />
|
||||
<label value="${c:l('relatorioVendasPacotesDetalhadoController.lblSituacao.value')}" />
|
||||
<radiogroup>
|
||||
<radio id="rTodos"
|
||||
label="${c:l('relatorioVendasPacotesDetalhadoController.lblSituacaoTodos.value')}"
|
||||
|
|
Loading…
Reference in New Issue