fixes bug#15199
dev: qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@97318 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
9f26852c2f
commit
b54634f60e
|
@ -0,0 +1,160 @@
|
|||
package com.rjconsultores.ventaboletos.relatorios.impl;
|
||||
|
||||
import java.sql.Connection;
|
||||
import java.sql.ResultSet;
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import com.rjconsultores.ventaboletos.relatorios.utilitarios.DataSource;
|
||||
import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio;
|
||||
import com.rjconsultores.ventaboletos.relatorios.utilitarios.RelatorioEncerramentoCheckinBean;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.NamedParameterStatement;
|
||||
|
||||
import net.sf.jasperreports.engine.data.JRBeanCollectionDataSource;
|
||||
|
||||
public class RelatorioEncerramentoCheckin extends Relatorio {
|
||||
|
||||
public static final String DATA_INICIO_SERVICO = "DATA_INICIO_SERVICO";
|
||||
public static final String DATA_FIM_SERVICO = "DATA_FIM_SERVICO";
|
||||
public static final String DATA_INICIO_ENCERRAMENTO = "DATA_INICIO_ENCERRAMENTO";
|
||||
public static final String DATA_FIM_ENCERRAMENTO = "DATA_FIM_ENCERRAMENTO";
|
||||
private List<RelatorioEncerramentoCheckinBean> lsDadosRelatorio;
|
||||
|
||||
public RelatorioEncerramentoCheckin(Map<String, Object> parametros, Connection conexao) throws Exception {
|
||||
super(parametros, conexao);
|
||||
|
||||
this.setCustomDataSource(new DataSource(this) {
|
||||
@Override
|
||||
public void initDados() throws Exception {
|
||||
|
||||
Connection conexao = this.relatorio.getConexao();
|
||||
|
||||
Map<String, Object> parametros = this.relatorio.getParametros();
|
||||
|
||||
String dataInicioServico = null;
|
||||
if (parametros.containsKey(DATA_INICIO_SERVICO)) {
|
||||
dataInicioServico = parametros.get(DATA_INICIO_SERVICO).toString() + " 00:00";
|
||||
}
|
||||
|
||||
String dataFimServico = null;
|
||||
if (parametros.containsKey(DATA_FIM_SERVICO)) {
|
||||
dataFimServico = parametros.get(DATA_FIM_SERVICO).toString() + " 23:59";
|
||||
}
|
||||
|
||||
String dataInicioEncerramento = null;
|
||||
if (parametros.containsKey(DATA_INICIO_ENCERRAMENTO)) {
|
||||
dataInicioEncerramento = parametros.get(DATA_INICIO_ENCERRAMENTO).toString() + " 00:00";
|
||||
}
|
||||
|
||||
String dataFimEncerramento = null;
|
||||
if (parametros.containsKey(DATA_FIM_ENCERRAMENTO)) {
|
||||
dataFimEncerramento = parametros.get(DATA_FIM_ENCERRAMENTO).toString() + " 23:59";
|
||||
}
|
||||
|
||||
Integer empresa_id = (Integer) parametros.get("empresa_id");
|
||||
Integer localidade_id = (Integer) parametros.get("localidade_id");
|
||||
|
||||
String sql = getSql(dataInicioServico, dataFimServico, dataInicioEncerramento, dataFimEncerramento, empresa_id, localidade_id);
|
||||
|
||||
NamedParameterStatement stmt = new NamedParameterStatement(conexao, sql);
|
||||
|
||||
if (dataInicioServico != null && dataFimServico != null) {
|
||||
stmt.setString("dataInicioServico", dataInicioServico);
|
||||
stmt.setString("dataFimServico", dataFimServico);
|
||||
}
|
||||
|
||||
if (dataInicioEncerramento != null && dataFimEncerramento != null) {
|
||||
stmt.setString("dataInicioEncerramento", dataInicioEncerramento);
|
||||
stmt.setString("dataFimEncerramento", dataFimEncerramento);
|
||||
}
|
||||
|
||||
if (empresa_id != null) {
|
||||
stmt.setInt("empresa_id", empresa_id);
|
||||
}
|
||||
|
||||
if (localidade_id != null) {
|
||||
stmt.setInt("localidade_id", localidade_id);
|
||||
}
|
||||
|
||||
ResultSet rs = stmt.executeQuery();
|
||||
|
||||
lsDadosRelatorio = new ArrayList<RelatorioEncerramentoCheckinBean>();
|
||||
|
||||
SimpleDateFormat formatadorData = new SimpleDateFormat("dd/MM/yyyy");
|
||||
SimpleDateFormat formatadorDataHora = new SimpleDateFormat("dd/MM/yyyy HH:mm:ss");
|
||||
|
||||
while (rs.next()) {
|
||||
RelatorioEncerramentoCheckinBean bean = new RelatorioEncerramentoCheckinBean();
|
||||
bean.setServico(rs.getInt("servico"));
|
||||
bean.setDataServico(formatadorData.format(rs.getDate("data_servico")));
|
||||
bean.setLocalidade(rs.getString("localidade"));
|
||||
bean.setDataEncerramento(formatadorDataHora.format(rs.getDate("data_encerramento")));
|
||||
bean.setUsuario(rs.getString("usuario"));
|
||||
|
||||
lsDadosRelatorio.add(bean);
|
||||
}
|
||||
|
||||
if (lsDadosRelatorio.size() > 0) {
|
||||
setLsDadosRelatorio(lsDadosRelatorio);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void processaParametros() throws Exception {
|
||||
if (parametros.containsKey(DATA_INICIO_SERVICO) && parametros.containsKey(DATA_FIM_SERVICO)) {
|
||||
this.parametros.put("PERIODO_SERVICO", parametros.get(DATA_INICIO_SERVICO) + " à " + parametros.get(DATA_FIM_SERVICO));
|
||||
}
|
||||
|
||||
if (parametros.containsKey(DATA_INICIO_ENCERRAMENTO) && parametros.containsKey(DATA_FIM_ENCERRAMENTO)) {
|
||||
this.parametros.put("PERIODO_ENCERRAMENTO", parametros.get(DATA_INICIO_ENCERRAMENTO) + " à " + parametros.get(DATA_FIM_ENCERRAMENTO));
|
||||
}
|
||||
}
|
||||
|
||||
private void setLsDadosRelatorio(List<RelatorioEncerramentoCheckinBean> lsDadosRelatorio) {
|
||||
this.setCollectionDataSource(new JRBeanCollectionDataSource(lsDadosRelatorio));
|
||||
this.lsDadosRelatorio = lsDadosRelatorio;
|
||||
}
|
||||
|
||||
private String getSql(String dataInicioServico, String dataFimServico, String dataInicioEncerramento, String dataFimEncerramento, Integer empresa_id, Integer localidade_id) {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("select c.corrida_id as servico, ");
|
||||
sb.append("cc.feccorrida as data_servico, ");
|
||||
sb.append("p.cveparada || ' - ' || p.descparada as localidade, ");
|
||||
sb.append("cc.fechorcerrado as data_encerramento, ");
|
||||
sb.append("u.nombusuario as usuario ");
|
||||
sb.append("from checkin_cerrado cc ");
|
||||
sb.append("join corrida c on c.corrida_id = cc.corrida_id ");
|
||||
sb.append("join parada p on p.parada_id = cc.origen_id ");
|
||||
sb.append("join usuario u on u.usuario_id = cc.usuario_id ");
|
||||
|
||||
if (empresa_id!=null) {
|
||||
sb.append("join marca m on m.marca_id = c.marca_id ");
|
||||
}
|
||||
|
||||
sb.append("where cc.activo = 1 ");
|
||||
|
||||
if (dataInicioServico != null && dataFimServico != null) {
|
||||
sb.append("and cc.feccorrida between to_date(:dataInicioServico, 'dd/mm/yyyy hh24:mi') and to_date(:dataFimServico, 'dd/mm/yyyy hh24:mi') ");
|
||||
}
|
||||
|
||||
if (dataInicioEncerramento != null && dataFimEncerramento != null) {
|
||||
sb.append("and cc.fechorcerrado between to_date(:dataInicioEncerramento, 'dd/mm/yyyy hh24:mi') and to_date(:dataFimEncerramento, 'dd/mm/yyyy hh24:mi') ");
|
||||
}
|
||||
|
||||
if (empresa_id != null) {
|
||||
sb.append("and m.empresa_id = :empresa_id ");
|
||||
}
|
||||
|
||||
if (localidade_id != null) {
|
||||
sb.append("and p.parada_id = :localidade_id ");
|
||||
}
|
||||
|
||||
sb.append("order by 2, 1, 4, 3, 5");
|
||||
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,17 @@
|
|||
#geral
|
||||
msg.noData=Não foi possivel obter dados com os parâmetros informados.
|
||||
msg.a=à
|
||||
|
||||
#Labels header
|
||||
header.data.hora=Data/Hora\:
|
||||
header.pagina=Página\:
|
||||
header.periodo.servico=Período Serviço\:
|
||||
header.periodo.encerramento=Período Encerramento\:
|
||||
header.empresa=Empresa\:
|
||||
|
||||
#Labels detail
|
||||
detail.servico=Serviço
|
||||
detail.data.servico=Data Serviço
|
||||
detail.localidade=Localidade
|
||||
detail.data.encerramento=Data Encerramento
|
||||
detail.usuario.operacao=Usuário da Operação
|
|
@ -0,0 +1,17 @@
|
|||
#geral
|
||||
msg.noData=Não foi possivel obter dados com os parâmetros informados.
|
||||
msg.a=à
|
||||
|
||||
#Labels header
|
||||
header.data.hora=Data/Hora\:
|
||||
header.pagina=Página\:
|
||||
header.periodo.servico=Período Serviço\:
|
||||
header.periodo.encerramento=Período Encerramento\:
|
||||
header.empresa=Empresa\:
|
||||
|
||||
#Labels detail
|
||||
detail.servico=Serviço
|
||||
detail.data.servico=Data Serviço
|
||||
detail.localidade=Localidade
|
||||
detail.data.encerramento=Data Encerramento
|
||||
detail.usuario.operacao=Usuário da Operação
|
Binary file not shown.
|
@ -0,0 +1,199 @@
|
|||
<?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="RelatorioEncerramentoCheckin" pageWidth="595" pageHeight="842" whenNoDataType="NoDataSection" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="0e8aff42-5ba8-48ac-9950-da8178561888">
|
||||
<property name="ireport.zoom" value="1.6105100000000014"/>
|
||||
<property name="ireport.x" value="0"/>
|
||||
<property name="ireport.y" value="0"/>
|
||||
<parameter name="TITULO" class="java.lang.String"/>
|
||||
<parameter name="PERIODO_SERVICO" class="java.lang.String"/>
|
||||
<parameter name="PERIODO_ENCERRAMENTO" class="java.lang.String"/>
|
||||
<parameter name="EMPRESA" class="java.lang.String"/>
|
||||
<field name="servico" class="java.lang.Integer"/>
|
||||
<field name="dataServico" class="java.lang.String"/>
|
||||
<field name="localidade" class="java.lang.String"/>
|
||||
<field name="dataEncerramento" class="java.lang.String"/>
|
||||
<field name="usuario" class="java.lang.String"/>
|
||||
<background>
|
||||
<band splitType="Stretch"/>
|
||||
</background>
|
||||
<title>
|
||||
<band height="82" splitType="Stretch">
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement uuid="63ce47a3-7e94-42a2-8325-eceef777fbe2" x="111" y="40" width="221" height="15"/>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font size="9"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$P{PERIODO_ENCERRAMENTO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="dd/MM/yyyy" isBlankWhenNull="true">
|
||||
<reportElement uuid="7f5ee01d-f86d-49a4-a2a1-f1c671621ef0" x="111" y="24" width="221" height="15"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Middle">
|
||||
<font size="9"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$P{PERIODO_SERVICO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<line>
|
||||
<reportElement uuid="481b2107-ee62-4815-8a89-8435d34384c8" x="0" y="76" width="555" height="1"/>
|
||||
</line>
|
||||
<textField pattern="dd/MM/yyyy">
|
||||
<reportElement uuid="4a51f623-fe84-4f71-8bfe-271f36619eb1" x="0" y="24" width="111" height="15"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Middle"/>
|
||||
<textFieldExpression><![CDATA[$R{header.periodo.servico}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="dd/MM/yyyy">
|
||||
<reportElement uuid="46ecd1c0-ef3e-4274-9094-1b2dbed2fc43" x="0" y="40" width="111" height="15"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Middle"/>
|
||||
<textFieldExpression><![CDATA[$R{header.periodo.encerramento}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="dd/MM/yyyy">
|
||||
<reportElement uuid="17a5536e-1cf6-48d8-91ad-53d8148af1d6" x="0" y="56" width="111" height="15"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Middle"/>
|
||||
<textFieldExpression><![CDATA[$R{header.empresa}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="dd/MM/yyyy" isBlankWhenNull="true">
|
||||
<reportElement uuid="48f1a994-4bbe-4b8e-948f-81542fa792c3" x="111" y="56" width="433" height="15"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Middle">
|
||||
<font size="9"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$P{EMPRESA}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="dd/MM/yyyy">
|
||||
<reportElement uuid="9bc31956-04ad-43d0-bcee-08f7b5bf1145" x="0" y="0" width="343" height="20"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top">
|
||||
<font size="14" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$P{TITULO}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</title>
|
||||
<pageHeader>
|
||||
<band splitType="Stretch"/>
|
||||
</pageHeader>
|
||||
<columnHeader>
|
||||
<band height="17" splitType="Stretch">
|
||||
<line>
|
||||
<reportElement uuid="cd1b96dd-2097-4af7-a025-7962bc5d7bee" x="0" y="14" width="555" height="1"/>
|
||||
</line>
|
||||
<textField>
|
||||
<reportElement uuid="6fdff6a2-6e02-4490-8939-c5e1798fb104" x="0" y="0" width="54" height="12"/>
|
||||
<textElement>
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.servico}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="5b2d5019-5463-40ff-b781-fbaeda74f284" x="54" y="0" width="57" height="12"/>
|
||||
<textElement>
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.data.servico}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="8f862cce-9d0e-482d-a8f0-5fd44d57afc1" x="111" y="0" width="202" height="12"/>
|
||||
<textElement>
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.localidade}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="c4cde786-8d88-4ca3-a2df-1e5fdad9146d" x="313" y="0" width="76" height="12"/>
|
||||
<textElement>
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.data.encerramento}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="f5383c8e-7e57-4874-ab94-4e96f2840645" x="389" y="0" width="166" height="12"/>
|
||||
<textElement>
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.usuario.operacao}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</columnHeader>
|
||||
<detail>
|
||||
<band height="18" splitType="Stretch">
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="6ef05dfb-fea9-451c-a45a-1dc3f766af84" stretchType="RelativeToBandHeight" x="0" y="0" width="54" height="10"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Middle">
|
||||
<font size="7" isBold="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{servico}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="bb3d4047-5bea-4a27-8fbe-0f3ffc8e2c61" stretchType="RelativeToBandHeight" x="54" y="0" width="57" height="10"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Middle">
|
||||
<font size="7" isBold="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{dataServico}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="75f7f9d7-1565-4fb2-81ae-2155c588c756" stretchType="RelativeToBandHeight" x="111" y="0" width="202" height="10"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Middle">
|
||||
<font size="7" isBold="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{localidade}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="3b1d98f1-2033-4479-9c8f-e391b59150b7" stretchType="RelativeToBandHeight" x="313" y="0" width="76" height="10"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Middle">
|
||||
<font size="7" isBold="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{dataEncerramento}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement uuid="129d8b3b-6977-471f-b9d1-025267746e7d" stretchType="RelativeToBandHeight" x="389" y="0" width="166" height="10"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Middle">
|
||||
<font size="7" isBold="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{usuario}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</detail>
|
||||
<columnFooter>
|
||||
<band splitType="Stretch"/>
|
||||
</columnFooter>
|
||||
<pageFooter>
|
||||
<band height="10" splitType="Stretch">
|
||||
<textField pattern="dd/MM/yyyy HH:mm">
|
||||
<reportElement uuid="34f65212-5ae5-4077-b4d8-64d55f0289a9" x="37" y="0" width="102" height="10"/>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="33327397-2913-4d10-a128-6e18a85a33c7" x="0" y="0" width="34" height="10"/>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{header.data.hora}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField evaluationTime="Report">
|
||||
<reportElement uuid="7883d71b-800c-4367-8c86-e8df1c9a8c35" x="533" y="0" width="22" height="10"/>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="be33ee08-3388-45c3-a0b0-29f482d37076" x="425" y="0" width="108" height="10"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{header.pagina} + "" + $V{PAGE_NUMBER} + " de"]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</pageFooter>
|
||||
<summary>
|
||||
<band splitType="Stretch"/>
|
||||
</summary>
|
||||
<noData>
|
||||
<band height="20">
|
||||
<textField>
|
||||
<reportElement uuid="6320f11e-df43-4140-8144-55d84dc92ce6" x="0" y="0" width="555" height="20"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$R{msg.noData}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</noData>
|
||||
</jasperReport>
|
Binary file not shown.
|
@ -1,8 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="RelatorioMovimentacaoBilhete" pageWidth="1152" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="1132" leftMargin="10" rightMargin="10" topMargin="20" bottomMargin="20" resourceBundle="RelatorioMovimentacaoBilhete" whenResourceMissingType="Empty" uuid="94834362-0ecc-46da-b0a2-5cdee355da3e">
|
||||
<property name="ireport.zoom" value="2.483685292236625"/>
|
||||
<property name="ireport.x" value="1811"/>
|
||||
<property name="ireport.y" value="80"/>
|
||||
<property name="ireport.zoom" value="1.1586575189467558"/>
|
||||
<property name="ireport.x" value="59"/>
|
||||
<property name="ireport.y" value="0"/>
|
||||
<property name="net.sf.jasperreports.export.xls.exclude.origin.band.2" value="pageHeader"/>
|
||||
<parameter name="fecInicioViagem" class="java.lang.String">
|
||||
<defaultValueExpression><![CDATA[]]></defaultValueExpression>
|
||||
|
@ -95,36 +95,11 @@
|
|||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$R{header.periodo.viagem}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="66b2d0f6-2bf1-4bc7-9ec0-a34444e04d60" x="920" y="0" width="106" height="15"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$R{header.data.hora}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField evaluationTime="Report">
|
||||
<reportElement uuid="8ca68351-fc00-4f19-b94f-f2fd1f41964f" x="1082" y="15" width="50" height="15"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="be1692e9-f130-4d08-9173-6ca3e4699030" x="920" y="15" width="106" height="15"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$R{header.pagina}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="4914d9e7-6ce8-4512-b1f8-13f3b572ac50" x="109" y="25" width="205" height="23"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[( $P{fecInicioViagem} != null ? ($P{fecInicioViagem} + " à " + $P{fecFinalViagem}) : "" )]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="dd/MM/yyyy HH:mm">
|
||||
<reportElement uuid="6f671365-868e-41a6-81ee-a308d1d91e1d" x="1030" y="0" width="102" height="15"/>
|
||||
<textElement textAlignment="Center"/>
|
||||
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="7548d623-fb6c-48d4-b8b7-504f5437a79a" x="1030" y="15" width="52" height="15"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{PAGE_NUMBER} + " de"]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="a79c03e0-bbe4-4b1c-8297-533a0d137b27" x="0" y="48" width="109" height="21"/>
|
||||
<textElement/>
|
||||
|
@ -787,6 +762,38 @@
|
|||
</textField>
|
||||
</band>
|
||||
</detail>
|
||||
<pageFooter>
|
||||
<band height="10">
|
||||
<textField>
|
||||
<reportElement uuid="99ec2fe4-fc1b-426f-ab42-04c8fb930779" x="1000" y="0" width="108" height="10"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{header.pagina} + "" + $V{PAGE_NUMBER} + " de"]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="0548392b-78ab-4d31-b7fb-b8d1f897d625" x="2" y="0" width="34" height="10"/>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{header.data.hora}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="dd/MM/yyyy HH:mm">
|
||||
<reportElement uuid="9f0376dd-faaf-4a44-83f3-cd8d0e78154a" x="39" y="0" width="102" height="10"/>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField evaluationTime="Report">
|
||||
<reportElement uuid="aece3f03-e43c-469d-afa0-23fef928e331" x="1108" y="0" width="22" height="10"/>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</pageFooter>
|
||||
<summary>
|
||||
<band/>
|
||||
</summary>
|
||||
|
|
|
@ -0,0 +1,50 @@
|
|||
package com.rjconsultores.ventaboletos.relatorios.utilitarios;
|
||||
|
||||
public class RelatorioEncerramentoCheckinBean {
|
||||
|
||||
private Integer servico;
|
||||
private String dataServico;
|
||||
private String localidade;
|
||||
private String dataEncerramento;
|
||||
private String usuario;
|
||||
|
||||
public Integer getServico() {
|
||||
return servico;
|
||||
}
|
||||
|
||||
public void setServico(Integer servico) {
|
||||
this.servico = servico;
|
||||
}
|
||||
|
||||
public String getDataServico() {
|
||||
return dataServico;
|
||||
}
|
||||
|
||||
public void setDataServico(String dataServico) {
|
||||
this.dataServico = dataServico;
|
||||
}
|
||||
|
||||
public String getLocalidade() {
|
||||
return localidade;
|
||||
}
|
||||
|
||||
public void setLocalidade(String localidade) {
|
||||
this.localidade = localidade;
|
||||
}
|
||||
|
||||
public String getDataEncerramento() {
|
||||
return dataEncerramento;
|
||||
}
|
||||
|
||||
public void setDataEncerramento(String dataEncerramento) {
|
||||
this.dataEncerramento = dataEncerramento;
|
||||
}
|
||||
|
||||
public String getUsuario() {
|
||||
return usuario;
|
||||
}
|
||||
|
||||
public void setUsuario(String usuario) {
|
||||
this.usuario = usuario;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,123 @@
|
|||
package com.rjconsultores.ventaboletos.web.gui.controladores.relatorios;
|
||||
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Date;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import javax.sql.DataSource;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.Scope;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.zkoss.util.resource.Labels;
|
||||
import org.zkoss.zk.ui.Component;
|
||||
import org.zkoss.zk.ui.event.Event;
|
||||
import org.zkoss.zul.Datebox;
|
||||
|
||||
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
||||
import com.rjconsultores.ventaboletos.entidad.Parada;
|
||||
import com.rjconsultores.ventaboletos.relatorios.impl.RelatorioEncerramentoCheckin;
|
||||
import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio;
|
||||
import com.rjconsultores.ventaboletos.service.EmpresaService;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MensagensUtils;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||
|
||||
//Mantis 15199
|
||||
|
||||
@Controller("relatorioEncerramentoCheckinController")
|
||||
@Scope("prototype")
|
||||
@SuppressWarnings("serial")
|
||||
public class RelatorioEncerramentoCheckinController extends MyGenericForwardComposer {
|
||||
|
||||
@Autowired
|
||||
private DataSource dataSourceRead;
|
||||
|
||||
@Autowired
|
||||
private EmpresaService empresaService;
|
||||
|
||||
private Datebox dataInicioServico;
|
||||
private Datebox dataFimServico;
|
||||
private Datebox dataInicioEncerramento;
|
||||
private Datebox dataFimEncerramento;
|
||||
private MyComboboxEstandar cmbEmpresa;
|
||||
private MyComboboxParada cmbLocalidade;
|
||||
private List<Empresa> lsEmpresas;
|
||||
|
||||
@Override
|
||||
public void doAfterCompose(Component comp) throws Exception {
|
||||
super.doAfterCompose(comp);
|
||||
lsEmpresas = empresaService.obtenerTodos();
|
||||
}
|
||||
|
||||
public void onClick$btnExecutarRelatorio(Event ev) throws Exception {
|
||||
executarRelatorio();
|
||||
}
|
||||
|
||||
private void executarRelatorio() throws Exception {
|
||||
Map<String, Object> parametros = new HashMap<String, Object>();
|
||||
parametros.put("TITULO", Labels.getLabel("relatorioEncerramentoCheckinController.window.title"));
|
||||
|
||||
// Datas
|
||||
putParametrosDate(parametros, RelatorioEncerramentoCheckin.DATA_INICIO_SERVICO, this.dataInicioServico.getValue());
|
||||
putParametrosDate(parametros, RelatorioEncerramentoCheckin.DATA_FIM_SERVICO, this.dataFimServico.getValue());
|
||||
putParametrosDate(parametros, RelatorioEncerramentoCheckin.DATA_INICIO_ENCERRAMENTO, this.dataInicioEncerramento.getValue());
|
||||
putParametrosDate(parametros, RelatorioEncerramentoCheckin.DATA_FIM_ENCERRAMENTO, this.dataFimEncerramento.getValue());
|
||||
|
||||
// Validação datas
|
||||
if (parametros.containsKey(RelatorioEncerramentoCheckin.DATA_INICIO_SERVICO) && !parametros.containsKey(RelatorioEncerramentoCheckin.DATA_FIM_SERVICO) || !parametros.containsKey(RelatorioEncerramentoCheckin.DATA_INICIO_SERVICO) && parametros.containsKey(RelatorioEncerramentoCheckin.DATA_FIM_SERVICO)) {
|
||||
MensagensUtils.showMessageInformation(Labels.getLabel("relatorioEncerramentoCheckinController.data.servico.obrigatoria"), Labels.getLabel("relatorioEncerramentoCheckinController.window.title"));
|
||||
return;
|
||||
}
|
||||
|
||||
if (parametros.containsKey(RelatorioEncerramentoCheckin.DATA_INICIO_ENCERRAMENTO) && !parametros.containsKey(RelatorioEncerramentoCheckin.DATA_FIM_ENCERRAMENTO) || !parametros.containsKey(RelatorioEncerramentoCheckin.DATA_INICIO_ENCERRAMENTO) && parametros.containsKey(RelatorioEncerramentoCheckin.DATA_FIM_ENCERRAMENTO)) {
|
||||
MensagensUtils.showMessageInformation(Labels.getLabel("relatorioEncerramentoCheckinController.data.encerramento.obrigatoria"), Labels.getLabel("relatorioEncerramentoCheckinController.window.title"));
|
||||
return;
|
||||
}
|
||||
|
||||
if (!parametros.containsKey(RelatorioEncerramentoCheckin.DATA_INICIO_SERVICO) && !parametros.containsKey(RelatorioEncerramentoCheckin.DATA_FIM_SERVICO) && !parametros.containsKey(RelatorioEncerramentoCheckin.DATA_INICIO_ENCERRAMENTO) && !parametros.containsKey(RelatorioEncerramentoCheckin.DATA_FIM_ENCERRAMENTO)) {
|
||||
MensagensUtils.showMessageInformation(Labels.getLabel("relatorioEncerramentoCheckinController.data.obrigatoria"), Labels.getLabel("relatorioEncerramentoCheckinController.window.title"));
|
||||
return;
|
||||
}
|
||||
|
||||
// Empresa
|
||||
if (cmbEmpresa.getSelectedIndex() != -1) {
|
||||
Empresa empresa = (Empresa) cmbEmpresa.getSelectedItem().getValue();
|
||||
parametros.put("empresa_id", empresa.getEmpresaId());
|
||||
parametros.put("EMPRESA", empresa.getNombempresa());
|
||||
} else {
|
||||
parametros.put("EMPRESA", "TODAS");
|
||||
}
|
||||
|
||||
// Localidade
|
||||
if (cmbLocalidade.getSelectedIndex() != -1) {
|
||||
parametros.put("localidade_id", ((Parada) cmbLocalidade.getSelectedItem().getValue()).getParadaId());
|
||||
}
|
||||
|
||||
Relatorio relatorio = new RelatorioEncerramentoCheckin(parametros, dataSourceRead.getConnection());
|
||||
|
||||
Map<String, Object> args = new HashMap<String, Object>();
|
||||
args.put("relatorio", relatorio);
|
||||
|
||||
openWindow("/component/reportView.zul", Labels.getLabel("relatorioEncerramentoCheckinController.window.title"), args, MODAL);
|
||||
}
|
||||
|
||||
private void putParametrosDate(Map<String, Object> parametros, String nomeParametro, Date data) {
|
||||
if (data != null) {
|
||||
SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy");
|
||||
parametros.put(nomeParametro, sdf.format(data));
|
||||
}
|
||||
}
|
||||
|
||||
// gets/sets
|
||||
public List<Empresa> getLsEmpresas() {
|
||||
return lsEmpresas;
|
||||
}
|
||||
|
||||
public void setLsEmpresas(List<Empresa> lsEmpresas) {
|
||||
this.lsEmpresas = lsEmpresas;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
package com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios;
|
||||
|
||||
import org.zkoss.util.resource.Labels;
|
||||
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.PantallaUtileria;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.menu.DefaultItemMenuSistema;
|
||||
|
||||
public class ItemMenuRelatorioEncerramentoCheckin extends DefaultItemMenuSistema {
|
||||
|
||||
public ItemMenuRelatorioEncerramentoCheckin() {
|
||||
super("indexController.mniRelatorioEncerramentoCheckin.label");
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getClaveMenu() {
|
||||
return "COM.RJCONSULTORES.ADMINISTRACION.GUI.RELATORIOS.MENU.RELATORIOENCERRAMENTOCHECKIN";
|
||||
}
|
||||
|
||||
@Override
|
||||
public void ejecutar() {
|
||||
PantallaUtileria.openWindow("/gui/relatorios/filtroRelatorioEncerramentoCheckin.zul",
|
||||
Labels.getLabel("relatorioEncerramentoCheckinController.window.title"), getArgs(), desktop);
|
||||
}
|
||||
}
|
|
@ -175,6 +175,7 @@ analitico.gerenciais.estatisticos.checkin=com.rjconsultores.ventaboletos.web.uti
|
|||
analitico.gerenciais.estatisticos.relatorioBaixasVendasInternet=com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios.ItemMenuRelatorioBaixasVendasInternet
|
||||
analitico.gerenciais.estatisticos.relatorioVendaEmbarcada=com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios.ItemMenuRelatorioVendaEmbarcada
|
||||
analitico.gerenciais.estatisticos.movimentacaobilhete=com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios.ItemMenuRelatorioMovimentacaoBilhete
|
||||
analitico.gerenciais.estatisticos.encerramentocheckin=com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios.ItemMenuRelatorioEncerramentoCheckin
|
||||
analitico.gerenciais.financeiro=com.rjconsultores.ventaboletos.web.utilerias.menu.item.analitico.gerenciais.financeiro.SubMenuRelatorioFinanceiro
|
||||
analitico.gerenciais.financeiro.receitaDiariaAgencia=com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios.ItemMenuRelatorioReceitaDiariaAgencia
|
||||
analitico.gerenciais.financeiro.taxas=com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios.ItemMenuRelatorioTaxasLinha
|
||||
|
|
|
@ -281,6 +281,7 @@ indexController.mniRelatorioEmpresaCorrida.label = Reporte de la empresa corrida
|
|||
indexController.mniRelatorioEmpresaOnibus.label = Reporte de la empresa autobús
|
||||
indexController.mniRelatorioOCD.label = Reporte de OCD
|
||||
indexController.mniRelatorioMovimentacaoBilhete.label = Movimentações de Bilhetes
|
||||
indexController.mniRelatorioEncerramentoCheckin.label = Encerramento do Checkin
|
||||
indexController.mniRelatorioGratuidade.label = Gratuidades
|
||||
indexController.mniRelatorioGratuidadeANTT.label = Gratuidades ANTT
|
||||
indexController.mniRelatorioExportacaoIdosoARTESP.label = Reporte Exportación Ancianos ARTESP
|
||||
|
@ -8297,4 +8298,16 @@ relatorioMovimentacaoBilheteController.lbOrgaoConcedente.value = Orgão Conceden
|
|||
relatorioMovimentacaoBilheteController.lbStatus = Status
|
||||
relatorioMovimentacaoBilheteController.lbTipoGratuidade.value = Tipos de Passagens
|
||||
relatorioMovimentacaoBilheteController.lbRemoverLinha.value = Remover Linha
|
||||
relatorioMovimentacaoBilheteController.lbAdicionarLinha.value = Adicionar Linha
|
||||
relatorioMovimentacaoBilheteController.lbAdicionarLinha.value = Adicionar Linha
|
||||
|
||||
# Relatório Encerramento do Checkin
|
||||
relatorioEncerramentoCheckinController.window.title = Relatório Encerramento do Checkin
|
||||
relatorioEncerramentoCheckinController.data.servico.obrigatoria = É necessário preencher a data inicial e final do serviço
|
||||
relatorioEncerramentoCheckinController.data.encerramento.obrigatoria = É necessário preencher a data inicial e final do encerramento
|
||||
relatorioEncerramentoCheckinController.data.obrigatoria = Data do Serviço ou Data do Encerramento são obrigatórias
|
||||
relatorioEncerramentoCheckinController.lbServico.value = Serviço
|
||||
relatorioEncerramentoCheckinController.lbEncerramento.value = Encerramento
|
||||
relatorioEncerramentoCheckinController.lbDataInicio.value = Data Início
|
||||
relatorioEncerramentoCheckinController.lbDataFim.value = Data Final
|
||||
relatorioEncerramentoCheckinController.lbEmpresa.value = Empresa
|
||||
relatorioEncerramentoCheckinController.lbLocalidade.value = Localidade
|
|
@ -288,6 +288,7 @@ indexController.mniRelatorioEmpresaCorrida.label = Empresa Corrida
|
|||
indexController.mniRelatorioEmpresaOnibus.label = Empresa Ônibus
|
||||
indexController.mniRelatorioOCD.label = Relatório de OCD
|
||||
indexController.mniRelatorioMovimentacaoBilhete.label = Movimentações de Bilhetes
|
||||
indexController.mniRelatorioEncerramentoCheckin.label = Encerramento do Checkin
|
||||
indexController.mniRelatorioGratuidade.label = Relatório Tipo Passagem
|
||||
indexController.mniRelatorioGratuidadeANTT.label = Relatório Gratuidades ANTT
|
||||
indexController.mniRelatorioGratuidadeARTESP.label = Relatório Gratuidade ARTESP
|
||||
|
@ -8803,4 +8804,16 @@ relatorioMovimentacaoBilheteController.lbOrgaoConcedente.value = Orgão Conceden
|
|||
relatorioMovimentacaoBilheteController.lbStatus = Status
|
||||
relatorioMovimentacaoBilheteController.lbTipoGratuidade.value = Tipos de Passagens
|
||||
relatorioMovimentacaoBilheteController.lbRemoverLinha.value = Remover Linha
|
||||
relatorioMovimentacaoBilheteController.lbAdicionarLinha.value = Adicionar Linha
|
||||
relatorioMovimentacaoBilheteController.lbAdicionarLinha.value = Adicionar Linha
|
||||
|
||||
# Relatório Encerramento do Checkin
|
||||
relatorioEncerramentoCheckinController.window.title = Relatório Encerramento do Checkin
|
||||
relatorioEncerramentoCheckinController.data.servico.obrigatoria = É necessário preencher a data inicial e final do serviço
|
||||
relatorioEncerramentoCheckinController.data.encerramento.obrigatoria = É necessário preencher a data inicial e final do encerramento
|
||||
relatorioEncerramentoCheckinController.data.obrigatoria = Data do Serviço ou Data do Encerramento são obrigatórias
|
||||
relatorioEncerramentoCheckinController.lbServico.value = Serviço
|
||||
relatorioEncerramentoCheckinController.lbEncerramento.value = Encerramento
|
||||
relatorioEncerramentoCheckinController.lbDataInicio.value = Data Início
|
||||
relatorioEncerramentoCheckinController.lbDataFim.value = Data Final
|
||||
relatorioEncerramentoCheckinController.lbEmpresa.value = Empresa
|
||||
relatorioEncerramentoCheckinController.lbLocalidade.value = Localidade
|
|
@ -0,0 +1,80 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?page contentType="text/html;charset=UTF-8"?>
|
||||
<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>
|
||||
<?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" arg0="winFiltroRelatorioEncerramentoCheckin"?>
|
||||
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
||||
|
||||
<zk xmlns="http://www.zkoss.org/2005/zul">
|
||||
<window id="winFiltroRelatorioEncerramentoCheckin"
|
||||
apply="${relatorioEncerramentoCheckinController}"
|
||||
contentStyle="overflow:auto"
|
||||
height="240px" width="560px" border="normal">
|
||||
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
<column width="25%" />
|
||||
<column width="25%" />
|
||||
<column width="25%" />
|
||||
<column width="25%" />
|
||||
</columns>
|
||||
|
||||
<rows>
|
||||
<row>
|
||||
<label value="${c:l('relatorioEncerramentoCheckinController.lbServico.value')}" />
|
||||
<label value=" " />
|
||||
<label value=" " />
|
||||
<label value=" " />
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<label value="${c:l('relatorioEncerramentoCheckinController.lbDataInicio.value')}" />
|
||||
<datebox id="dataInicioServico" width="100%" mold="rounded" format="dd/MM/yyyy" maxlength="10" />
|
||||
<label value="${c:l('relatorioEncerramentoCheckinController.lbDataFim.value')}" />
|
||||
<datebox id="dataFimServico" width="100%" mold="rounded" format="dd/MM/yyyy" maxlength="10" />
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<label value="${c:l('relatorioEncerramentoCheckinController.lbEncerramento.value')}" />
|
||||
<label value=" " />
|
||||
<label value=" " />
|
||||
<label value=" " />
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<label value="${c:l('relatorioEncerramentoCheckinController.lbDataInicio.value')}" />
|
||||
<datebox id="dataInicioEncerramento" width="100%" mold="rounded" format="dd/MM/yyyy" maxlength="10" />
|
||||
<label value="${c:l('relatorioEncerramentoCheckinController.lbDataFim.value')}" />
|
||||
<datebox id="dataFimEncerramento" width="100%" mold="rounded" format="dd/MM/yyyy" maxlength="10" />
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
<column width="50%" />
|
||||
<column width="50%" />
|
||||
</columns>
|
||||
|
||||
<rows>
|
||||
<row>
|
||||
<label value="${c:l('relatorioEncerramentoCheckinController.lbEmpresa.value')}" />
|
||||
<combobox id="cmbEmpresa" width="70%" maxlength="60"
|
||||
mold="rounded" buttonVisible="true"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||
model="@{winFiltroRelatorioEncerramentoCheckin$composer.lsEmpresas}" />
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<label value="${c:l('relatorioEncerramentoCheckinController.lbLocalidade.value')}" />
|
||||
<combobox id="cmbLocalidade" width="70%" maxlength="60"
|
||||
mold="rounded" buttonVisible="true"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada" />
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
|
||||
<toolbar>
|
||||
<button id="btnExecutarRelatorio" image="/gui/img/find.png" label="${c:l('relatorio.lb.btnExecutarRelatorio')}" />
|
||||
</toolbar>
|
||||
</window>
|
||||
</zk>
|
Loading…
Reference in New Issue