fixes bug #7565
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@56968 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
f8a03b6fd5
commit
a9536815be
|
@ -0,0 +1,115 @@
|
||||||
|
package com.rjconsultores.ventaboletos.relatorios.impl;
|
||||||
|
|
||||||
|
import java.sql.Connection;
|
||||||
|
import java.sql.PreparedStatement;
|
||||||
|
import java.sql.ResultSet;
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.Date;
|
||||||
|
import java.util.List;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
|
import net.sf.jasperreports.engine.data.JRBeanCollectionDataSource;
|
||||||
|
|
||||||
|
import com.rjconsultores.ventaboletos.relatorios.utilitarios.ConferenciaFormularioFisico;
|
||||||
|
import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio;
|
||||||
|
import com.rjconsultores.ventaboletos.utilerias.DateUtil;
|
||||||
|
|
||||||
|
public class RelatorioConferenciaFormularioFisico extends Relatorio {
|
||||||
|
|
||||||
|
public RelatorioConferenciaFormularioFisico(Map<String, Object> parametros, Connection conexao) {
|
||||||
|
super(parametros, conexao);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setLsDadosRelatorio(List<ConferenciaFormularioFisico> formularios) {
|
||||||
|
this.setCollectionDataSource(new JRBeanCollectionDataSource(formularios));
|
||||||
|
}
|
||||||
|
|
||||||
|
private String getSql(Integer puntoventaId) {
|
||||||
|
|
||||||
|
StringBuffer sql = new StringBuffer();
|
||||||
|
sql.append("select ");
|
||||||
|
sql.append(" e.numcaja as ter, ");
|
||||||
|
sql.append(" p.nombpuntoventa as caixa, ");
|
||||||
|
sql.append(" c.numseriepreimpresa as serie, ");
|
||||||
|
sql.append(" u.nombusuario as usuario, ");
|
||||||
|
sql.append(" t.turno_id as turno, ");
|
||||||
|
sql.append(" min(c.fechorventa) as abertura, ");
|
||||||
|
sql.append(" max(c.fechorventa) as fechamento, ");
|
||||||
|
sql.append(" min(c.numfoliopreimpreso), ");
|
||||||
|
sql.append(" max(c.numfoliopreimpreso), ");
|
||||||
|
sql.append(" max(c.numfoliopreimpreso) - min(c.numfoliopreimpreso) as dif1, ");
|
||||||
|
sql.append(" min(c.numfoliosistema), ");
|
||||||
|
sql.append(" max(c.numfoliosistema), ");
|
||||||
|
sql.append(" max(c.numfoliosistema) - min(c.numfoliosistema) as dif2 ");
|
||||||
|
sql.append("from ");
|
||||||
|
sql.append(" caja c ");
|
||||||
|
sql.append(" inner join estacion e on e.estacion_id = c.estacion_id ");
|
||||||
|
sql.append(" inner join punto_venta p on p.puntoventa_id = c.puntoventa_id ");
|
||||||
|
sql.append(" inner join usuario u on u.usuario_id = c.usuario_id ");
|
||||||
|
sql.append(" inner join turno t on t.turno_id = c.turno_id ");
|
||||||
|
sql.append("where ");
|
||||||
|
sql.append(" c.empresacorrida_id = ? ");
|
||||||
|
sql.append(" and c.feccorte between ? and ? ");
|
||||||
|
if (puntoventaId != null && puntoventaId != -1){
|
||||||
|
sql.append(" and c.puntoventa_id = ? ");
|
||||||
|
}
|
||||||
|
sql.append(" and c.activo <> 0 ");
|
||||||
|
sql.append("group by ");
|
||||||
|
sql.append(" e.numcaja, ");
|
||||||
|
sql.append(" p.nombpuntoventa, ");
|
||||||
|
sql.append(" c.numseriepreimpresa, ");
|
||||||
|
sql.append(" u.nombusuario, ");
|
||||||
|
sql.append(" t.turno_id ");
|
||||||
|
sql.append("order by ");
|
||||||
|
sql.append(" u.nombusuario, min(c.fechorventa)");
|
||||||
|
|
||||||
|
return sql.toString();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void processaParametros() throws Exception {
|
||||||
|
Integer puntoventaId = (Integer) getParametros().get("PUNTOVENTA_ID");
|
||||||
|
Integer empresaId = (Integer) getParametros().get("EMPRESA_ID");
|
||||||
|
Date fecInicio = (Date) getParametros().get("DATA_INICIAL");
|
||||||
|
Date fecFinal = (Date) getParametros().get("DATA_FINAL");
|
||||||
|
fecInicio = DateUtil.inicioFecha(fecInicio);
|
||||||
|
fecFinal = DateUtil.fimFecha(fecFinal);
|
||||||
|
|
||||||
|
String sql = getSql(puntoventaId);
|
||||||
|
|
||||||
|
PreparedStatement pstmt = getConexao().prepareStatement(sql);
|
||||||
|
pstmt.setInt(1, empresaId);
|
||||||
|
pstmt.setTimestamp(2, new java.sql.Timestamp(fecInicio.getTime()));
|
||||||
|
pstmt.setTimestamp(3, new java.sql.Timestamp(fecFinal.getTime()));
|
||||||
|
|
||||||
|
if (puntoventaId != null) {
|
||||||
|
pstmt.setInt(4, puntoventaId);
|
||||||
|
}
|
||||||
|
|
||||||
|
List<ConferenciaFormularioFisico> formularios = new ArrayList<ConferenciaFormularioFisico>();
|
||||||
|
|
||||||
|
ResultSet rs = pstmt.executeQuery();
|
||||||
|
while (rs.next()) {
|
||||||
|
|
||||||
|
ConferenciaFormularioFisico formulario = new ConferenciaFormularioFisico();
|
||||||
|
formulario.setAbertura(rs.getDate(6));
|
||||||
|
formulario.setBilheteFisicoAbertura(rs.getInt(8));
|
||||||
|
formulario.setBilheteFisicoFechamento(rs.getInt(9));
|
||||||
|
formulario.setBilheteLogicoAbertura(rs.getInt(10));
|
||||||
|
formulario.setBilheteLogicoFechamento(rs.getInt(11));
|
||||||
|
formulario.setCaixa(rs.getString(2));
|
||||||
|
formulario.setFechamento(rs.getDate(7));
|
||||||
|
formulario.setSerie(rs.getString(3));
|
||||||
|
formulario.setTerminal(rs.getInt(1));
|
||||||
|
formulario.setTurno(rs.getInt(5));
|
||||||
|
formulario.setUsuario(rs.getString(4));
|
||||||
|
formulario.setDif1(rs.getInt(9) - rs.getInt(8));
|
||||||
|
formulario.setDif2(rs.getInt(11) - rs.getInt(10));
|
||||||
|
formulario.setTotal(rs.getInt(11) - rs.getInt(10));
|
||||||
|
formularios.add(formulario);
|
||||||
|
}
|
||||||
|
|
||||||
|
setLsDadosRelatorio(formularios);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,29 @@
|
||||||
|
#geral
|
||||||
|
msg.noData=Não foi possivel obter dados com os parâmetros informados.
|
||||||
|
|
||||||
|
#Labels cabeçalho
|
||||||
|
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:
|
||||||
|
|
||||||
|
#Labels datail
|
||||||
|
datail.terminal=Terminal
|
||||||
|
datail.caixa=Caixa
|
||||||
|
datail.serie=Série
|
||||||
|
datail.usuario=Usuário
|
||||||
|
datail.turno=Turno
|
||||||
|
datail.abertura=Abertura
|
||||||
|
datail.fechamento=Fechamento
|
||||||
|
datail.bilheteFisicoAbertura=Abertura
|
||||||
|
datail.bilheteFisicoFechamento=Fechamento
|
||||||
|
datail.bilheteLogicoAbertura=Abertura
|
||||||
|
datail.bilheteLogicoFechamento=Fechamento
|
||||||
|
datail.dif=Dif
|
||||||
|
datail.total=Total
|
||||||
|
datail.bilheteFisico=Bilhete Físico
|
||||||
|
datail.bilheteLogico=Bilhete Lógico
|
|
@ -0,0 +1,29 @@
|
||||||
|
#geral
|
||||||
|
msg.noData=Não foi possivel obter dados com os parâmetros informados.
|
||||||
|
|
||||||
|
#Labels cabeçalho
|
||||||
|
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:
|
||||||
|
|
||||||
|
#Labels datail
|
||||||
|
datail.terminal=Terminal
|
||||||
|
datail.caixa=Caixa
|
||||||
|
datail.serie=Série
|
||||||
|
datail.usuario=Usuário
|
||||||
|
datail.turno=Turno
|
||||||
|
datail.abertura=Abertura
|
||||||
|
datail.fechamento=Fechamento
|
||||||
|
datail.bilheteFisicoAbertura=Abertura
|
||||||
|
datail.bilheteFisicoFechamento=Fechamento
|
||||||
|
datail.bilheteLogicoAbertura=Abertura
|
||||||
|
datail.bilheteLogicoFechamento=Fechamento
|
||||||
|
datail.dif=Dif
|
||||||
|
datail.total=Total
|
||||||
|
datail.bilheteFisico=Bilhete Físico
|
||||||
|
datail.bilheteLogico=Bilhete Lógico
|
Binary file not shown.
|
@ -0,0 +1,344 @@
|
||||||
|
<?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="RelatorioCheckin" pageWidth="842" pageHeight="675" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="48d32af4-ba9f-41c2-91a5-5d2fe57e149c">
|
||||||
|
<property name="ireport.zoom" value="1.4641000000000008"/>
|
||||||
|
<property name="ireport.x" value="534"/>
|
||||||
|
<property name="ireport.y" value="1"/>
|
||||||
|
<parameter name="NOME_RELATORIO" class="java.lang.String"/>
|
||||||
|
<parameter name="DATA_INICIAL" class="java.util.Date"/>
|
||||||
|
<parameter name="DATA_FINAL" class="java.util.Date"/>
|
||||||
|
<parameter name="EMPRESA" class="java.lang.String"/>
|
||||||
|
<queryString>
|
||||||
|
<![CDATA[]]>
|
||||||
|
</queryString>
|
||||||
|
<field name="terminal" class="java.lang.Integer"/>
|
||||||
|
<field name="caixa" class="java.lang.String"/>
|
||||||
|
<field name="serie" class="java.lang.String"/>
|
||||||
|
<field name="usuario" class="java.lang.String"/>
|
||||||
|
<field name="turno" class="java.lang.Integer"/>
|
||||||
|
<field name="abertura" class="java.util.Date"/>
|
||||||
|
<field name="fechamento" class="java.util.Date"/>
|
||||||
|
<field name="bilheteFisicoAbertura" class="java.lang.Integer"/>
|
||||||
|
<field name="bilheteFisicoFechamento" class="java.lang.Integer"/>
|
||||||
|
<field name="bilheteLogicoAbertura" class="java.lang.Integer"/>
|
||||||
|
<field name="bilheteLogicoFechamento" class="java.lang.Integer"/>
|
||||||
|
<field name="dif1" class="java.lang.Integer"/>
|
||||||
|
<field name="dif2" class="java.lang.Integer"/>
|
||||||
|
<field name="total" class="java.lang.Integer"/>
|
||||||
|
<group name="caixa">
|
||||||
|
<groupExpression><![CDATA[$F{caixa}]]></groupExpression>
|
||||||
|
<groupHeader>
|
||||||
|
<band height="50">
|
||||||
|
<textField>
|
||||||
|
<reportElement uuid="e4282770-fa67-4c58-a5aa-92e4d6f27166" x="0" y="33" width="31" height="17"/>
|
||||||
|
<textElement markup="none">
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{datail.terminal}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField>
|
||||||
|
<reportElement uuid="1e0b20c0-f208-4853-8601-73cec6e1992e" x="31" y="33" width="92" height="17"/>
|
||||||
|
<textElement markup="none">
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{datail.caixa}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField>
|
||||||
|
<reportElement uuid="32e830a3-6303-465c-85aa-12678fe6b80a" x="123" y="33" width="45" height="17"/>
|
||||||
|
<textElement markup="none">
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{datail.serie}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField>
|
||||||
|
<reportElement uuid="a5ac8565-1ca0-425b-9d25-97d26753e7ec" x="168" y="33" width="70" height="17" isPrintWhenDetailOverflows="true"/>
|
||||||
|
<textElement rotation="None" markup="none">
|
||||||
|
<font size="8" isBold="true" isUnderline="false"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{datail.usuario}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField>
|
||||||
|
<reportElement uuid="44e42972-eac1-40e6-ba0e-7c83b208d41b" x="272" y="33" width="77" height="17"/>
|
||||||
|
<textElement markup="none">
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{datail.abertura}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField>
|
||||||
|
<reportElement uuid="29e15a6a-68ff-4f19-832f-ce0d7a7310ae" x="425" y="33" width="52" height="16" isPrintWhenDetailOverflows="true"/>
|
||||||
|
<textElement textAlignment="Right" markup="none">
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{datail.bilheteFisicoAbertura}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField>
|
||||||
|
<reportElement uuid="28a7ce94-e2d1-4a68-a816-185b176ba0a8" x="349" y="33" width="76" height="17" isPrintWhenDetailOverflows="true"/>
|
||||||
|
<textElement markup="none">
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{datail.fechamento}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField>
|
||||||
|
<reportElement uuid="9591658f-b725-4d9d-8863-5435c1540e95" x="86" y="7" width="263" height="20"/>
|
||||||
|
<textElement verticalAlignment="Middle"/>
|
||||||
|
<textFieldExpression><![CDATA[$F{caixa}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<line>
|
||||||
|
<reportElement uuid="acc2f86e-4ee2-4e61-807f-27fd740db652" x="0" y="49" width="792" height="1"/>
|
||||||
|
</line>
|
||||||
|
<textField>
|
||||||
|
<reportElement uuid="dddef494-9886-46f0-a409-6dd4a5475162" x="477" y="33" width="52" height="16" isPrintWhenDetailOverflows="true"/>
|
||||||
|
<textElement textAlignment="Right" markup="none">
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{datail.bilheteFisicoFechamento}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField>
|
||||||
|
<reportElement uuid="f7cee4f0-a2e0-4617-be45-34564f2a52c1" x="559" y="33" width="50" height="15" isPrintWhenDetailOverflows="true"/>
|
||||||
|
<textElement textAlignment="Right" markup="none">
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{datail.bilheteLogicoAbertura}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField>
|
||||||
|
<reportElement uuid="c341bc6d-ab37-41d2-95f0-16e918baaaad" x="609" y="34" width="50" height="16" isPrintWhenDetailOverflows="true"/>
|
||||||
|
<textElement textAlignment="Right" markup="none">
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{datail.bilheteLogicoFechamento}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField>
|
||||||
|
<reportElement uuid="d040b34d-dd10-4d5a-ae20-c14ee7240c22" x="529" y="33" width="30" height="16" isPrintWhenDetailOverflows="true"/>
|
||||||
|
<textElement textAlignment="Right" markup="none">
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{datail.dif}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField>
|
||||||
|
<reportElement uuid="706c5fdb-ffcb-48a2-8328-699b264b6c43" x="659" y="33" width="30" height="16" isPrintWhenDetailOverflows="true"/>
|
||||||
|
<textElement textAlignment="Right" markup="none">
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{datail.dif}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField>
|
||||||
|
<reportElement uuid="c636597b-5dac-4bf4-a70c-33d088bb8757" x="689" y="33" width="61" height="16" isPrintWhenDetailOverflows="true"/>
|
||||||
|
<textElement textAlignment="Right" markup="none">
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{datail.total}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField>
|
||||||
|
<reportElement uuid="1cfe040e-ad09-41cc-abb8-db89fa01a555" x="425" y="16" width="104" height="16" isPrintWhenDetailOverflows="true"/>
|
||||||
|
<textElement textAlignment="Center" markup="none">
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{datail.bilheteFisico}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField>
|
||||||
|
<reportElement uuid="7d1be3b8-8106-4dd4-b078-73cb375db2b0" x="559" y="16" width="100" height="16" isPrintWhenDetailOverflows="true"/>
|
||||||
|
<textElement textAlignment="Center" markup="none">
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{datail.bilheteLogico}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField>
|
||||||
|
<reportElement uuid="2c1adbf8-a646-42ee-95c0-f625d4ceb14f" x="238" y="33" width="34" height="16" isPrintWhenDetailOverflows="true"/>
|
||||||
|
<textElement rotation="None" markup="none">
|
||||||
|
<font size="8" isBold="true" isUnderline="false"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{datail.turno}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<staticText>
|
||||||
|
<reportElement uuid="3e57e8b7-68d6-4357-b273-8389cab912f3" x="0" y="7" width="84" height="20"/>
|
||||||
|
<textElement verticalAlignment="Middle">
|
||||||
|
<font isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[Agência:]]></text>
|
||||||
|
</staticText>
|
||||||
|
</band>
|
||||||
|
</groupHeader>
|
||||||
|
</group>
|
||||||
|
<background>
|
||||||
|
<band splitType="Stretch"/>
|
||||||
|
</background>
|
||||||
|
<title>
|
||||||
|
<band height="21" splitType="Stretch">
|
||||||
|
<textField pattern="" isBlankWhenNull="false">
|
||||||
|
<reportElement uuid="5ee43799-932b-4ce1-8056-df380a9050a8" mode="Transparent" x="0" y="0" width="338" height="20" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
|
<font fontName="SansSerif" size="12" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$P{NOME_RELATORIO}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<line>
|
||||||
|
<reportElement uuid="b28df970-c219-4853-afeb-6821e0a44f04" x="0" y="20" width="792" height="1"/>
|
||||||
|
</line>
|
||||||
|
</band>
|
||||||
|
</title>
|
||||||
|
<pageHeader>
|
||||||
|
<band splitType="Stretch"/>
|
||||||
|
</pageHeader>
|
||||||
|
<columnHeader>
|
||||||
|
<band height="43" splitType="Stretch">
|
||||||
|
<textField>
|
||||||
|
<reportElement uuid="1e817468-1e3c-495d-a701-12515d636388" x="84" y="20" width="471" height="22"/>
|
||||||
|
<textElement verticalAlignment="Middle"/>
|
||||||
|
<textFieldExpression><![CDATA[$P{EMPRESA}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<staticText>
|
||||||
|
<reportElement uuid="5b11197e-d1c8-4345-90c3-c13ba6fdea53" x="0" y="19" width="84" height="23"/>
|
||||||
|
<textElement verticalAlignment="Middle">
|
||||||
|
<font isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[Empresa:]]></text>
|
||||||
|
</staticText>
|
||||||
|
<textField>
|
||||||
|
<reportElement uuid="5740db25-7982-49a9-a086-b36b75ec00f9" x="0" y="0" width="80" height="19"/>
|
||||||
|
<textElement verticalAlignment="Middle">
|
||||||
|
<font isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA["Período: "]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="dd/MM/yyyy">
|
||||||
|
<reportElement uuid="0799222c-f19f-441a-a633-dc11c3025482" x="80" y="0" width="78" height="19"/>
|
||||||
|
<textElement textAlignment="Left" verticalAlignment="Middle"/>
|
||||||
|
<textFieldExpression><![CDATA[$P{DATA_INICIAL}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField>
|
||||||
|
<reportElement uuid="baf1a2ba-5c61-4275-8bf0-1ddd54aa7129" x="158" y="0" width="28" height="19"/>
|
||||||
|
<textElement verticalAlignment="Middle">
|
||||||
|
<font isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[" a "]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="dd/MM/yyyy">
|
||||||
|
<reportElement uuid="9b897735-0596-4949-830c-1c9d8bfd05fd" x="186" y="0" width="369" height="18"/>
|
||||||
|
<textElement verticalAlignment="Middle"/>
|
||||||
|
<textFieldExpression><![CDATA[$P{DATA_FINAL}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
</band>
|
||||||
|
</columnHeader>
|
||||||
|
<detail>
|
||||||
|
<band height="23" splitType="Stretch">
|
||||||
|
<textField isBlankWhenNull="true">
|
||||||
|
<reportElement uuid="82b42ca3-255a-4038-9730-35e2f9a1bb0f" x="0" y="0" width="31" height="20"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{terminal}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isBlankWhenNull="true">
|
||||||
|
<reportElement uuid="c5cc5e04-b1fa-4ebc-b408-3810648fc7eb" x="31" y="0" width="92" height="20"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{caixa}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isBlankWhenNull="true">
|
||||||
|
<reportElement uuid="d4baaf3d-a171-4b29-8aa8-cef5b56a11b3" x="123" y="0" width="45" height="20"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{serie}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="" isBlankWhenNull="true">
|
||||||
|
<reportElement uuid="acbbd64d-1fbd-4b4f-b7d5-5a11005ae98e" x="168" y="0" width="70" height="20"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{usuario}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="dd/MM/yyyy HH:mm" isBlankWhenNull="true">
|
||||||
|
<reportElement uuid="64e2b043-f9cb-4211-852c-def2fed7ae2c" x="272" y="1" width="77" height="19"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{abertura}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="dd/MM/yyyy HH:mm" isBlankWhenNull="true">
|
||||||
|
<reportElement uuid="80c86e43-26cc-428c-b2e5-99d685118a06" x="349" y="0" width="76" height="20"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{fechamento}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="" isBlankWhenNull="true">
|
||||||
|
<reportElement uuid="c777b9ac-f2f3-4bfa-9eed-593abae4c3bd" x="609" y="1" width="50" height="18"/>
|
||||||
|
<textElement textAlignment="Right">
|
||||||
|
<font size="8"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{bilheteLogicoFechamento}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="" isBlankWhenNull="true">
|
||||||
|
<reportElement uuid="648d03b0-ee8a-4b2f-af9f-c33c4d01f40e" x="425" y="0" width="52" height="20"/>
|
||||||
|
<textElement textAlignment="Right">
|
||||||
|
<font size="8"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{bilheteFisicoAbertura}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="" isBlankWhenNull="true">
|
||||||
|
<reportElement uuid="22664e0d-f3d2-4eaf-9eea-3acedd65183e" x="477" y="1" width="52" height="19"/>
|
||||||
|
<textElement textAlignment="Right">
|
||||||
|
<font size="8"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{bilheteFisicoFechamento}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="" isBlankWhenNull="true">
|
||||||
|
<reportElement uuid="882c06a1-647f-4506-9c78-ec71e2a65b83" x="529" y="1" width="30" height="19"/>
|
||||||
|
<textElement textAlignment="Right">
|
||||||
|
<font size="8"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{dif1}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="" isBlankWhenNull="true">
|
||||||
|
<reportElement uuid="d975aaf9-a224-4cbb-8d7b-bb6cbc00ec1b" x="559" y="1" width="50" height="18"/>
|
||||||
|
<textElement textAlignment="Right">
|
||||||
|
<font size="8"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{bilheteLogicoAbertura}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="" isBlankWhenNull="true">
|
||||||
|
<reportElement uuid="a4273724-e408-4266-a6d3-358f5eebf1df" x="659" y="2" width="30" height="19"/>
|
||||||
|
<textElement textAlignment="Right">
|
||||||
|
<font size="8"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{dif2}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="" isBlankWhenNull="true">
|
||||||
|
<reportElement uuid="62d70d18-269f-415d-ae0f-5806990b177f" x="689" y="2" width="61" height="19"/>
|
||||||
|
<textElement textAlignment="Right">
|
||||||
|
<font size="8"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{total}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="" isBlankWhenNull="true">
|
||||||
|
<reportElement uuid="a16f6612-4d70-410b-b86d-68c99cdcbbf1" x="238" y="0" width="34" height="19"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="8"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{turno}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
</band>
|
||||||
|
</detail>
|
||||||
|
<columnFooter>
|
||||||
|
<band splitType="Stretch"/>
|
||||||
|
</columnFooter>
|
||||||
|
<pageFooter>
|
||||||
|
<band splitType="Stretch"/>
|
||||||
|
</pageFooter>
|
||||||
|
<summary>
|
||||||
|
<band splitType="Stretch"/>
|
||||||
|
</summary>
|
||||||
|
<noData>
|
||||||
|
<band height="38">
|
||||||
|
<textField>
|
||||||
|
<reportElement uuid="c68d03cd-3b82-4f22-ba2a-6bb344fd3944" x="15" y="11" width="530" height="20"/>
|
||||||
|
<textElement markup="none">
|
||||||
|
<font size="11" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{msg.noData}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
</band>
|
||||||
|
</noData>
|
||||||
|
</jasperReport>
|
|
@ -0,0 +1,136 @@
|
||||||
|
package com.rjconsultores.ventaboletos.relatorios.utilitarios;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
public class ConferenciaFormularioFisico {
|
||||||
|
private Integer terminal;
|
||||||
|
private String caixa;
|
||||||
|
private String serie;
|
||||||
|
private String usuario;
|
||||||
|
private Integer turno;
|
||||||
|
private Date abertura;
|
||||||
|
private Date fechamento;
|
||||||
|
private Integer bilheteFisicoAbertura;
|
||||||
|
private Integer bilheteFisicoFechamento;
|
||||||
|
private Integer bilheteLogicoAbertura;
|
||||||
|
private Integer bilheteLogicoFechamento;
|
||||||
|
private String agencia;
|
||||||
|
private String empresa;
|
||||||
|
private Integer empresaId;
|
||||||
|
private Integer puntoventaId;
|
||||||
|
private Integer dif1;
|
||||||
|
private Integer dif2;
|
||||||
|
private Integer total;
|
||||||
|
|
||||||
|
|
||||||
|
public Integer getTerminal() {
|
||||||
|
return terminal;
|
||||||
|
}
|
||||||
|
public void setTerminal(Integer terminal) {
|
||||||
|
this.terminal = terminal;
|
||||||
|
}
|
||||||
|
public String getCaixa() {
|
||||||
|
return caixa;
|
||||||
|
}
|
||||||
|
public void setCaixa(String caixa) {
|
||||||
|
this.caixa = caixa;
|
||||||
|
}
|
||||||
|
public String getSerie() {
|
||||||
|
return serie;
|
||||||
|
}
|
||||||
|
public void setSerie(String serie) {
|
||||||
|
this.serie = serie;
|
||||||
|
}
|
||||||
|
public String getUsuario() {
|
||||||
|
return usuario;
|
||||||
|
}
|
||||||
|
public void setUsuario(String usuario) {
|
||||||
|
this.usuario = usuario;
|
||||||
|
}
|
||||||
|
public Integer getTurno() {
|
||||||
|
return turno;
|
||||||
|
}
|
||||||
|
public void setTurno(Integer turno) {
|
||||||
|
this.turno = turno;
|
||||||
|
}
|
||||||
|
public Date getAbertura() {
|
||||||
|
return abertura;
|
||||||
|
}
|
||||||
|
public void setAbertura(Date abertura) {
|
||||||
|
this.abertura = abertura;
|
||||||
|
}
|
||||||
|
public Date getFechamento() {
|
||||||
|
return fechamento;
|
||||||
|
}
|
||||||
|
public void setFechamento(Date fechamento) {
|
||||||
|
this.fechamento = fechamento;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getBilheteFisicoAbertura() {
|
||||||
|
return bilheteFisicoAbertura;
|
||||||
|
}
|
||||||
|
public void setBilheteFisicoAbertura(Integer bilheteFisicoAbertura) {
|
||||||
|
this.bilheteFisicoAbertura = bilheteFisicoAbertura;
|
||||||
|
}
|
||||||
|
public Integer getBilheteFisicoFechamento() {
|
||||||
|
return bilheteFisicoFechamento;
|
||||||
|
}
|
||||||
|
public void setBilheteFisicoFechamento(Integer bilheteFisicoFechamento) {
|
||||||
|
this.bilheteFisicoFechamento = bilheteFisicoFechamento;
|
||||||
|
}
|
||||||
|
public Integer getBilheteLogicoAbertura() {
|
||||||
|
return bilheteLogicoAbertura;
|
||||||
|
}
|
||||||
|
public void setBilheteLogicoAbertura(Integer bilheteLogicoAbertura) {
|
||||||
|
this.bilheteLogicoAbertura = bilheteLogicoAbertura;
|
||||||
|
}
|
||||||
|
public Integer getBilheteLogicoFechamento() {
|
||||||
|
return bilheteLogicoFechamento;
|
||||||
|
}
|
||||||
|
public void setBilheteLogicoFechamento(Integer bilheteLogicoFechamento) {
|
||||||
|
this.bilheteLogicoFechamento = bilheteLogicoFechamento;
|
||||||
|
}
|
||||||
|
public String getAgencia() {
|
||||||
|
return agencia;
|
||||||
|
}
|
||||||
|
public void setAgencia(String agencia) {
|
||||||
|
this.agencia = agencia;
|
||||||
|
}
|
||||||
|
public String getEmpresa() {
|
||||||
|
return empresa;
|
||||||
|
}
|
||||||
|
public void setEmpresa(String empresa) {
|
||||||
|
this.empresa = empresa;
|
||||||
|
}
|
||||||
|
public Integer getEmpresaId() {
|
||||||
|
return empresaId;
|
||||||
|
}
|
||||||
|
public void setEmpresaId(Integer empresaId) {
|
||||||
|
this.empresaId = empresaId;
|
||||||
|
}
|
||||||
|
public Integer getPuntoventaId() {
|
||||||
|
return puntoventaId;
|
||||||
|
}
|
||||||
|
public void setPuntoventaId(Integer puntoventaId) {
|
||||||
|
this.puntoventaId = puntoventaId;
|
||||||
|
}
|
||||||
|
public Integer getDif1() {
|
||||||
|
return dif1;
|
||||||
|
}
|
||||||
|
public void setDif1(Integer dif1) {
|
||||||
|
this.dif1 = dif1;
|
||||||
|
}
|
||||||
|
public Integer getDif2() {
|
||||||
|
return dif2;
|
||||||
|
}
|
||||||
|
public void setDif2(Integer dif2) {
|
||||||
|
this.dif2 = dif2;
|
||||||
|
}
|
||||||
|
public Integer getTotal() {
|
||||||
|
return total;
|
||||||
|
}
|
||||||
|
public void setTotal(Integer total) {
|
||||||
|
this.total = total;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,123 @@
|
||||||
|
package com.rjconsultores.ventaboletos.web.gui.controladores.relatorios;
|
||||||
|
|
||||||
|
import java.sql.Connection;
|
||||||
|
import java.util.HashMap;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
|
import javax.sql.DataSource;
|
||||||
|
|
||||||
|
import org.apache.log4j.Logger;
|
||||||
|
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.zhtml.Messagebox;
|
||||||
|
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.PuntoVenta;
|
||||||
|
import com.rjconsultores.ventaboletos.relatorios.impl.RelatorioConferenciaFormularioFisico;
|
||||||
|
import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEmpresa;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxPuntoVenta;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||||
|
|
||||||
|
@Controller("relatorioConferenciaFormularioFisicoController")
|
||||||
|
@Scope("prototype")
|
||||||
|
public class RelatorioConferenciaFormularioFisicoController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
private static Logger log = Logger.getLogger(RelatorioConferenciaFormularioFisicoController.class);
|
||||||
|
|
||||||
|
private MyComboboxEmpresa cmbEmpresa;
|
||||||
|
private MyComboboxPuntoVenta cmbPuntoVenta;
|
||||||
|
private Datebox datInicial;
|
||||||
|
private Datebox datFinal;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private DataSource dataSourceRead;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void doAfterCompose(Component comp) throws Exception {
|
||||||
|
super.doAfterCompose(comp);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$btnExecutarRelatorio(Event ev) throws Exception {
|
||||||
|
if (cmbEmpresa.getSelectedItem() == null){
|
||||||
|
Messagebox.show(Labels.getLabel("relatorioConferenciaFormularioFisicoController.msg.erro.empresa"),
|
||||||
|
Labels.getLabel("relatorioConferenciaFormularioFisicoController.window.title"),
|
||||||
|
Messagebox.OK, Messagebox.INFORMATION);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
executarRelatorio();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void executarRelatorio() throws Exception {
|
||||||
|
Integer puntoVentaId = null;
|
||||||
|
|
||||||
|
if (cmbPuntoVenta.getSelectedIndex() != -1){
|
||||||
|
((PuntoVenta)cmbPuntoVenta.getSelectedItem().getValue()).getPuntoventaId();
|
||||||
|
}
|
||||||
|
Integer empresaId = ((Empresa)cmbEmpresa.getSelectedItem().getValue()).getEmpresaId();
|
||||||
|
Connection con = dataSourceRead.getConnection();
|
||||||
|
|
||||||
|
if (datInicial.getValue() == null && datFinal.getValue() == null) {
|
||||||
|
|
||||||
|
Messagebox.show(Labels.getLabel("relatorioCheckinController.MSG.erroPeriodo"),
|
||||||
|
Labels.getLabel("indexController.mniRelatorioConferenciaFormularioFisico.label"),
|
||||||
|
Messagebox.OK, Messagebox.INFORMATION);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, Object> parametros = new HashMap<String, Object>();
|
||||||
|
parametros.put("AGENCIA", cmbPuntoVenta.getSelectedIndex() != -1 ? ((PuntoVenta)cmbPuntoVenta.getSelectedItem().getValue()).getNombpuntoventa(): null);
|
||||||
|
parametros.put("EMPRESA", ((Empresa)cmbEmpresa.getSelectedItem().getValue()).getNombempresa());
|
||||||
|
parametros.put("PUNTOVENTA_ID", cmbPuntoVenta.getSelectedIndex() != -1 ? ((PuntoVenta)cmbPuntoVenta.getSelectedItem().getValue()).getPuntoventaId() : null);
|
||||||
|
parametros.put("DATA_INICIAL", datInicial.getValue());
|
||||||
|
parametros.put("DATA_FINAL", datFinal.getValue());
|
||||||
|
parametros.put("EMPRESA_ID", ((Empresa)cmbEmpresa.getSelectedItem().getValue()).getEmpresaId());
|
||||||
|
parametros.put("NOME_RELATORIO", Labels.getLabel("indexController.mniRelatorioConferenciaFormularioFisico.label"));
|
||||||
|
|
||||||
|
Relatorio relatorio = new RelatorioConferenciaFormularioFisico(parametros, dataSourceRead.getConnection());
|
||||||
|
|
||||||
|
Map<String, Object> args = new HashMap<String, Object>();
|
||||||
|
args.put("relatorio", relatorio);
|
||||||
|
|
||||||
|
openWindow("/component/reportView.zul",
|
||||||
|
Labels.getLabel("indexController.mniRelatorioConferenciaFormularioFisico.label"), args, MODAL);
|
||||||
|
}
|
||||||
|
|
||||||
|
public MyComboboxEmpresa getCmbEmpresa() {
|
||||||
|
return cmbEmpresa;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCmbEmpresa(MyComboboxEmpresa cmbEmpresa) {
|
||||||
|
this.cmbEmpresa = cmbEmpresa;
|
||||||
|
}
|
||||||
|
|
||||||
|
public MyComboboxPuntoVenta getCmbPuntoVenta() {
|
||||||
|
return cmbPuntoVenta;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCmbPuntoVenta(MyComboboxPuntoVenta cmbPuntoVenta) {
|
||||||
|
this.cmbPuntoVenta = cmbPuntoVenta;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Datebox getDatInicial() {
|
||||||
|
return datInicial;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDatInicial(Datebox datInicial) {
|
||||||
|
this.datInicial = datInicial;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Datebox getDatFinal() {
|
||||||
|
return datFinal;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDatFinal(Datebox datFinal) {
|
||||||
|
this.datFinal = datFinal;
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,25 @@
|
||||||
|
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 ItemMenuRelatorioConferenciaFormularioFisico extends DefaultItemMenuSistema {
|
||||||
|
|
||||||
|
public ItemMenuRelatorioConferenciaFormularioFisico() {
|
||||||
|
super("indexController.mniRelatorioConferenciaFormularioFisico.label");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getClaveMenu() {
|
||||||
|
return "COM.RJCONSULTORES.ADMINISTRACION.GUI.RELATORIOS.MENU.RELATORIOCONFERENCIAFORMULARIOFISICO";
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void ejecutar() {
|
||||||
|
PantallaUtileria.openWindow("/gui/relatorios/filtroRelatorioConferenciaFormularioFisico.zul",
|
||||||
|
Labels.getLabel("indexController.mniRelatorioConferenciaFormularioFisico.label"), getArgs(), desktop);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -314,6 +314,8 @@ relatorioPosicaoCaixaAnaliticoController.window.title=Relatório de Numeração
|
||||||
|
|
||||||
indexController.mniRelatorioGratuidadeIdosoDeficiente.label = Relatório Gratuidade Idoso/Deficiente
|
indexController.mniRelatorioGratuidadeIdosoDeficiente.label = Relatório Gratuidade Idoso/Deficiente
|
||||||
|
|
||||||
|
indexController.mniRelatorioConferenciaFormularioFisico.label = Relatório Conferência Formulário Físico
|
||||||
|
|
||||||
#PARTE REALIZADA POR MANUEL
|
#PARTE REALIZADA POR MANUEL
|
||||||
indexController.mnCortesias.label = Cortesias para empleados
|
indexController.mnCortesias.label = Cortesias para empleados
|
||||||
indexController.mniTipoCortesiaD.label = Descuento por tipo de cortesia
|
indexController.mniTipoCortesiaD.label = Descuento por tipo de cortesia
|
||||||
|
@ -6471,4 +6473,12 @@ busquedaOCDParamController.orgaoconcedente.label = Orgão Concedente
|
||||||
|
|
||||||
busquedaOCDParamController.FormaPagamentoOCD.label = Formas de pagamento para geração OCD
|
busquedaOCDParamController.FormaPagamentoOCD.label = Formas de pagamento para geração OCD
|
||||||
busquedaOCDParamController.SomenteCartao.label = Somente cartão
|
busquedaOCDParamController.SomenteCartao.label = Somente cartão
|
||||||
busquedaOCDParamController.TodasFormasPagamento.label = Todas as formas de pagamento
|
busquedaOCDParamController.TodasFormasPagamento.label = Todas as formas de pagamento
|
||||||
|
|
||||||
|
# Relatorio Conferencia Formulario Fisico
|
||||||
|
relatorioArquivoBGMController.lbDataIni.value = Data Inicial
|
||||||
|
relatorioArquivoBGMController.lbDataFin.value = Data Final
|
||||||
|
relatorioArquivoBGMController.lbEmpresa.value = Empresa
|
||||||
|
relatorioArquivoBGMController.lbPuntoVenta.value = Agência
|
||||||
|
relatorioArquivoBGMController.msg.erro.puntoventa = O Campo Agência é obrigatório!
|
||||||
|
relatorioArquivoBGMController.msg.erro.empresa = O Campo Empresa é obrigatório!
|
|
@ -333,6 +333,8 @@ indexController.mniPrecioVentaja.label = Aproveitamento Seletivo
|
||||||
|
|
||||||
indexController.mniRelatorioGratuidadeIdosoDeficiente.label = Relatório Gratuidade Idoso/Deficiente
|
indexController.mniRelatorioGratuidadeIdosoDeficiente.label = Relatório Gratuidade Idoso/Deficiente
|
||||||
|
|
||||||
|
indexController.mniRelatorioConferenciaFormularioFisico.label = Relatório Conferência Formulário Físico
|
||||||
|
|
||||||
# Muestra a Pesquisa Tipo Classe
|
# Muestra a Pesquisa Tipo Classe
|
||||||
busquedaClaseServicioController.window.title = Tipo de Classe
|
busquedaClaseServicioController.window.title = Tipo de Classe
|
||||||
busquedaClaseServicioController.btnRefresh.tooltiptext = Atualizar
|
busquedaClaseServicioController.btnRefresh.tooltiptext = Atualizar
|
||||||
|
@ -6604,4 +6606,16 @@ busquedaImportacionFiscalRelatorioFinanceiroController.window.title=Impressão F
|
||||||
busquedaImportacionFiscalRelatorioVoucherController.window.title=Impressão Fiscal :: Relatório Voucher
|
busquedaImportacionFiscalRelatorioVoucherController.window.title=Impressão Fiscal :: Relatório Voucher
|
||||||
busquedaImportacionFiscalEcfPendenciaController.window.title=Impressão Fiscal :: Pendência ECF
|
busquedaImportacionFiscalEcfPendenciaController.window.title=Impressão Fiscal :: Pendência ECF
|
||||||
busquedaImportacionFiscalEcfPendenciaReducaoZController.window.title=Impressão Fiscal :: Pendência Redução Z
|
busquedaImportacionFiscalEcfPendenciaReducaoZController.window.title=Impressão Fiscal :: Pendência Redução Z
|
||||||
|
busquedaImportacionFiscalEcfReducaoZController.window.title=Impressão Fiscal :: ECF Integrado c/ Redução Z
|
||||||
|
|
||||||
|
# Relatorio Conferencia Formulario Fisico
|
||||||
|
relatorioConferenciaFormularioFisicoController.lbDataIni.value = Data Inicial
|
||||||
|
relatorioConferenciaFormularioFisicoController.lbDataFin.value = Data Final
|
||||||
|
relatorioConferenciaFormularioFisicoController.lbEmpresa.value = Empresa
|
||||||
|
relatorioConferenciaFormularioFisicoController.lbPuntoVenta.value = Agência
|
||||||
|
relatorioConferenciaFormularioFisicoController.msg.erro.puntoventa = O Campo Agência é obrigatório!
|
||||||
|
relatorioConferenciaFormularioFisicoController.msg.erro.empresa = O Campo Empresa é obrigatório!
|
||||||
|
busquedaImportacionFiscalEcfPendenciaReducaoZController.window.title=Impressão Fiscal :: Pendência Redução Z
|
||||||
|
busquedaImportacionFiscalEcfReducaoZController.window.title=Impressão Fiscal :: ECF Integrado c/ Redução Z
|
||||||
|
busquedaImportacionFiscalEcfPendenciaReducaoZController.window.title=Impressão Fiscal :: Pendência Redução Z
|
||||||
busquedaImportacionFiscalEcfReducaoZController.window.title=Impressão Fiscal :: ECF Integrado c/ Redução Z
|
busquedaImportacionFiscalEcfReducaoZController.window.title=Impressão Fiscal :: ECF Integrado c/ Redução Z
|
|
@ -0,0 +1,56 @@
|
||||||
|
<?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="winRelatorioConferenciaFormularioFisico"?>
|
||||||
|
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
||||||
|
|
||||||
|
<zk xmlns="http://www.zkoss.org/2005/zul">
|
||||||
|
<window id="winRelatorioConferenciaFormularioFisico"
|
||||||
|
apply="${relatorioConferenciaFormularioFisicoController}"
|
||||||
|
contentStyle="overflow:auto" height="250px" width="560px"
|
||||||
|
border="normal">
|
||||||
|
|
||||||
|
<grid fixedLayout="true">
|
||||||
|
<columns>
|
||||||
|
<column width="30%" />
|
||||||
|
<column width="70%" />
|
||||||
|
</columns>
|
||||||
|
<rows>
|
||||||
|
<row>
|
||||||
|
<label
|
||||||
|
value="${c:l('relatorioConferenciaFormularioFisicoController.lbDataIni.value')}" />
|
||||||
|
<datebox id="datInicial"
|
||||||
|
format="dd/MM/yyyy" lenient="false" constraint="no empty"
|
||||||
|
maxlength="10" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label
|
||||||
|
value="${c:l('relatorioConferenciaFormularioFisicoController.lbDataFin.value')}" />
|
||||||
|
<datebox id="datFinal"
|
||||||
|
format="dd/MM/yyyy" lenient="false" constraint="no empty"
|
||||||
|
maxlength="10" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label
|
||||||
|
value="${c:l('relatorioConferenciaFormularioFisicoController.lbEmpresa.value')}" />
|
||||||
|
<combobox id="cmbEmpresa"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEmpresa"
|
||||||
|
mold="rounded" buttonVisible="true" constraint="no empty"
|
||||||
|
width="70%" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label
|
||||||
|
value="${c:l('relatorioConferenciaFormularioFisicoController.lbPuntoVenta.value')}" />
|
||||||
|
<combobox id="cmbPuntoVenta"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxPuntoVenta"
|
||||||
|
mold="rounded" buttonVisible="true"
|
||||||
|
width="70%" />
|
||||||
|
</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