fixes bug#18809
dev: qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@101549 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
5ccd5980fe
commit
01c2443377
|
@ -33,9 +33,15 @@ public class RelatorioVendasBilheteiroSintetico extends Relatorio {
|
|||
StringBuilder sql = new StringBuilder();
|
||||
|
||||
Boolean isDigitacao = parametros.get("ORGANIZADODIGITACAO")==null? false: (Boolean)parametros.get("ORGANIZADODIGITACAO");
|
||||
Boolean isFechamento = parametros.get("ORGANIZADOFECHAMENTO")==null? false: (Boolean)parametros.get("ORGANIZADOFECHAMENTO");
|
||||
|
||||
sql.append("select ");
|
||||
sql.append(" pv.NUMPUNTOVENTA, us.cveusuario , us.NOMBUSUARIO, tpv.DESCTIPO,");
|
||||
sql.append(" pv.NUMPUNTOVENTA, us.cveusuario , us.NOMBUSUARIO, tpv.DESCTIPO, ");
|
||||
|
||||
if(isFechamento) {
|
||||
sql.append(" uc.CVEUSUARIO as USUARIOFEC, pvc.NUMPUNTOVENTA as NUMPUNTOVENTAFEC, ");
|
||||
}
|
||||
|
||||
sql.append(" sum (case when ca.motivocancelacion_id is null then 1 else 0 end) qtdVendas, ");
|
||||
sql.append(" sum (case when ca.motivocancelacion_id is null then ");
|
||||
|
||||
|
@ -119,6 +125,18 @@ public class RelatorioVendasBilheteiroSintetico extends Relatorio {
|
|||
sql.append(" LEFT JOIN USUARIO_UBICACION udu on udu.USUARIO_ID = dv.USUARIO_ID and udu.ACTIVO = 1 ");
|
||||
}
|
||||
|
||||
if(isFechamento) {
|
||||
sql.append(" INNER JOIN CORTE_TURNO ct ");
|
||||
sql.append(" ON ca.FECCORTE = ct.FECCORTE ");
|
||||
sql.append(" AND ca.USUARIO_ID = ct.ASESOR_ID ");
|
||||
sql.append(" AND ca.PUNTOVENTA_ID = ct.PUNTOVENTA_ID ");
|
||||
sql.append(" AND ca.TURNO_ID = ct.TURNO_ID ");
|
||||
sql.append(" AND ca.ACTIVO = 1 ");
|
||||
sql.append(" LEFT JOIN USUARIO_UBICACION uu on uu.USUARIO_ID = ct.USUARIO_ID and uu.ACTIVO = 1 ");
|
||||
sql.append(" INNER JOIN usuario uc ON uc.usuario_id = ct.usuario_id ");
|
||||
sql.append(" INNER JOIN punto_venta pvc ON pvc.puntoventa_id = uu.puntoventa_id ");
|
||||
}
|
||||
|
||||
sql.append("where ");
|
||||
sql.append(" ca.indreimpresion = 0 ");
|
||||
sql.append(" and ca.feccorte >= :DATA_INICIAL ");
|
||||
|
@ -130,15 +148,31 @@ public class RelatorioVendasBilheteiroSintetico extends Relatorio {
|
|||
if (parametros.get("NUMPUNTOVENTA") != null && !parametros.get("NUMPUNTOVENTA").toString().contains("-1")) {
|
||||
if (isDigitacao) {
|
||||
sql.append(" and udu.puntoventa_id IN (" + parametros.get("NUMPUNTOVENTA").toString() + ")");
|
||||
}else if (isFechamento) {
|
||||
sql.append(" and uu.puntoventa_id IN (" + parametros.get("NUMPUNTOVENTA").toString() + ")");
|
||||
}else {
|
||||
sql.append(" and ca.puntoventa_id IN (" + parametros.get("NUMPUNTOVENTA").toString() + ")");
|
||||
}
|
||||
}
|
||||
|
||||
if (parametros.get("USUARIOIDS") != null && !parametros.get("USUARIOIDS").toString().contains("-1")) {
|
||||
|
||||
if (isFechamento) {
|
||||
sql.append(" and ct.usuario_id IN (" + parametros.get("USUARIOIDS").toString() + ")");
|
||||
}else {
|
||||
sql.append(" and ca.usuario_id IN (" + parametros.get("USUARIOIDS").toString() + ")");
|
||||
}
|
||||
}
|
||||
|
||||
if (parametros.get("TIPOPUNTOVENTA_ID") != null && !parametros.get("TIPOPUNTOVENTA_ID").toString().equals("-1")) {
|
||||
sql.append(" and pv.TIPOPTOVTA_ID = :TIPOPUNTOVENTA_ID ");
|
||||
}
|
||||
sql.append(" group by pv.NUMPUNTOVENTA, us.cveusuario, us.NOMBUSUARIO , tpv.DESCTIPO ");
|
||||
|
||||
if(isFechamento) {
|
||||
sql.append(" , uc.CVEUSUARIO, pvc.NUMPUNTOVENTA ");
|
||||
}
|
||||
|
||||
sql.append(" order by pv.NUMPUNTOVENTA, us.NOMBUSUARIO ");
|
||||
|
||||
NamedParameterStatement stmt = new NamedParameterStatement(conexao, sql.toString());
|
||||
|
@ -155,6 +189,7 @@ public class RelatorioVendasBilheteiroSintetico extends Relatorio {
|
|||
|
||||
ResultSet rset = stmt.executeQuery();
|
||||
|
||||
rset.setFetchSize(1000);
|
||||
while (rset.next()) {
|
||||
|
||||
Map<String, Object> dataResult = new HashMap<String, Object>();
|
||||
|
@ -167,6 +202,12 @@ public class RelatorioVendasBilheteiroSintetico extends Relatorio {
|
|||
dataResult.put("QTDCANCELADOS", rset.getInt("QTDCANCELADOS"));
|
||||
dataResult.put("VLRCANCELADOS", rset.getBigDecimal("VLRCANCELADOS"));
|
||||
dataResult.put("DESCTIPO", rset.getString("DESCTIPO"));
|
||||
|
||||
if(isFechamento) {
|
||||
dataResult.put("USUARIOFEC", rset.getString("USUARIOFEC"));
|
||||
dataResult.put("NUMPUNTOVENTAFEC", rset.getString("NUMPUNTOVENTAFEC"));
|
||||
}
|
||||
|
||||
this.dados.add(dataResult);
|
||||
|
||||
}
|
||||
|
|
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="RelatorioVendasBilheteiro" pageWidth="595" pageHeight="842" whenNoDataType="NoDataSection" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="b92fb063-a827-4619-8a69-5c78e3afbb8c">
|
||||
<property name="ireport.zoom" value="1.5"/>
|
||||
<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="RelatorioVendasBilheteiro" pageWidth="720" pageHeight="842" whenNoDataType="NoDataSection" columnWidth="680" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="b92fb063-a827-4619-8a69-5c78e3afbb8c">
|
||||
<property name="ireport.zoom" value="1.8150000000000008"/>
|
||||
<property name="net.sf.jasperreports.export.xls.exclude.origin.band.1" value="pageHeader"/>
|
||||
<property name="ireport.x" value="26"/>
|
||||
<property name="ireport.x" value="0"/>
|
||||
<property name="ireport.y" value="0"/>
|
||||
<style name="textStyle" isDefault="true" fontSize="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
|
||||
<style name="table">
|
||||
|
@ -41,6 +41,8 @@
|
|||
<field name="QTDCANCELADOS" class="java.lang.Integer"/>
|
||||
<field name="VLRCANCELADOS" class="java.math.BigDecimal"/>
|
||||
<field name="DESCTIPO" class="java.lang.String"/>
|
||||
<field name="NUMPUNTOVENTAFEC" class="java.lang.String"/>
|
||||
<field name="USUARIOFEC" class="java.lang.String"/>
|
||||
<variable name="vlrVendaTotal" class="java.math.BigDecimal" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{VLRVENDAS}]]></variableExpression>
|
||||
</variable>
|
||||
|
@ -65,7 +67,7 @@
|
|||
<pageHeader>
|
||||
<band height="53" splitType="Stretch">
|
||||
<textField pattern="dd/MM/yyyy" isBlankWhenNull="false">
|
||||
<reportElement uuid="42796e20-405c-441f-9fd9-b26238bc7cdb" mode="Transparent" x="43" y="14" width="69" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<reportElement mode="Transparent" x="43" y="14" width="69" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="42796e20-405c-441f-9fd9-b26238bc7cdb"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
|
@ -73,7 +75,7 @@
|
|||
<textFieldExpression><![CDATA[$P{DATA_INICIAL}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="" isBlankWhenNull="false">
|
||||
<reportElement uuid="d2973779-79dc-4cc8-937a-e9167c42bab0" mode="Transparent" x="0" y="0" width="257" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<reportElement mode="Transparent" x="0" y="0" width="257" height="15" forecolor="#000000" backcolor="#FFFFFF" uuid="d2973779-79dc-4cc8-937a-e9167c42bab0"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
|
@ -81,7 +83,7 @@
|
|||
<textFieldExpression><![CDATA[$P{NOME_RELATORIO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="dd/MM/yyyy" isBlankWhenNull="false">
|
||||
<reportElement uuid="8730e85b-d436-42cd-beb6-1a881bad2478" mode="Transparent" x="122" y="14" width="84" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<reportElement mode="Transparent" x="122" y="14" width="84" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="8730e85b-d436-42cd-beb6-1a881bad2478"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
|
@ -89,7 +91,7 @@
|
|||
<textFieldExpression><![CDATA[$P{DATA_FINAL}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="" isBlankWhenNull="false">
|
||||
<reportElement uuid="26bbd310-5e59-4975-a47f-b0048e80b1b6" mode="Transparent" x="0" y="14" width="44" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<reportElement mode="Transparent" x="0" y="14" width="44" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="26bbd310-5e59-4975-a47f-b0048e80b1b6"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
|
@ -97,17 +99,17 @@
|
|||
<textFieldExpression><![CDATA[$R{cabecalho.periodo}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="c486add3-94d7-419f-9f37-04f6a6da879e" x="44" y="39" width="511" height="14"/>
|
||||
<reportElement x="44" y="39" width="636" height="14" uuid="c486add3-94d7-419f-9f37-04f6a6da879e"/>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$P{FILTROS}]]></textFieldExpression>
|
||||
</textField>
|
||||
<line>
|
||||
<reportElement uuid="a179c478-4014-4b4a-abf0-4655e7588bf7" x="0" y="39" width="555" height="1"/>
|
||||
<reportElement x="0" y="39" width="680" height="1" uuid="a179c478-4014-4b4a-abf0-4655e7588bf7"/>
|
||||
</line>
|
||||
<textField pattern="" isBlankWhenNull="false">
|
||||
<reportElement uuid="9630a784-5f92-4abe-805c-fd175e4f8241" mode="Transparent" x="0" y="39" width="45" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<reportElement mode="Transparent" x="0" y="39" width="45" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="9630a784-5f92-4abe-805c-fd175e4f8241"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
|
@ -115,7 +117,7 @@
|
|||
<textFieldExpression><![CDATA[$R{cabecalho.filtros}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="dd/MM/yyyy HH:mm" isBlankWhenNull="false">
|
||||
<reportElement uuid="91cded42-c53d-469a-abc7-6eb0d59f69af" mode="Transparent" x="464" y="1" width="89" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<reportElement mode="Transparent" x="591" y="1" width="89" height="15" forecolor="#000000" backcolor="#FFFFFF" uuid="91cded42-c53d-469a-abc7-6eb0d59f69af"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
|
@ -123,7 +125,7 @@
|
|||
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="" isBlankWhenNull="false">
|
||||
<reportElement uuid="62f6ba6e-1aaf-4449-aef6-2e9d6e541856" mode="Transparent" x="434" y="29" width="119" height="12" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<reportElement mode="Transparent" x="561" y="29" width="119" height="12" forecolor="#000000" backcolor="#FFFFFF" uuid="62f6ba6e-1aaf-4449-aef6-2e9d6e541856"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
|
@ -131,7 +133,7 @@
|
|||
<textFieldExpression><![CDATA[$R{cabecalho.impressorPor}+" "+$P{USUARIO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField evaluationTime="Report" pattern="" isBlankWhenNull="false">
|
||||
<reportElement uuid="985f839c-258a-47eb-b72b-bec819b7bdbb" mode="Transparent" x="538" y="15" width="15" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<reportElement mode="Transparent" x="665" y="15" width="15" height="15" forecolor="#000000" backcolor="#FFFFFF" uuid="985f839c-258a-47eb-b72b-bec819b7bdbb"/>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
|
@ -139,7 +141,7 @@
|
|||
<textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="" isBlankWhenNull="false">
|
||||
<reportElement uuid="ba831a24-59f4-4f8f-888f-fd69711018e9" mode="Transparent" x="434" y="15" width="105" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<reportElement mode="Transparent" x="553" y="15" width="105" height="15" forecolor="#000000" backcolor="#FFFFFF" uuid="ba831a24-59f4-4f8f-888f-fd69711018e9"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
|
@ -147,14 +149,14 @@
|
|||
<textFieldExpression><![CDATA[$R{cabecalho.pagina}+" "+$V{PAGE_NUMBER}+" "+$R{cabecalho.de}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="5cbb57ef-bd5e-4d1b-a077-d0ff398df801" x="385" y="1" width="80" height="15"/>
|
||||
<reportElement x="511" y="1" width="80" height="15" uuid="5cbb57ef-bd5e-4d1b-a077-d0ff398df801"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="9" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{cabecalho.dataHora}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="" isBlankWhenNull="false">
|
||||
<reportElement uuid="6d6ab075-006c-4796-98d5-f047ae963876" mode="Transparent" x="112" y="14" width="10" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<reportElement mode="Transparent" x="112" y="14" width="10" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="6d6ab075-006c-4796-98d5-f047ae963876"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
|
@ -162,35 +164,35 @@
|
|||
<textFieldExpression><![CDATA[$R{cabecalho.periodoA}]]></textFieldExpression>
|
||||
</textField>
|
||||
<line>
|
||||
<reportElement uuid="06344ed1-e586-42b1-826e-f9008a2ee107" x="0" y="52" width="555" height="1"/>
|
||||
<reportElement x="0" y="52" width="680" height="1" uuid="06344ed1-e586-42b1-826e-f9008a2ee107"/>
|
||||
</line>
|
||||
</band>
|
||||
</pageHeader>
|
||||
<columnHeader>
|
||||
<band height="13" splitType="Stretch">
|
||||
<band height="15" splitType="Stretch">
|
||||
<staticText>
|
||||
<reportElement uuid="9fc7e58e-8625-41c4-a8ee-6454f6382d46" x="122" y="0" width="56" height="11"/>
|
||||
<reportElement x="109" y="0" width="69" height="14" uuid="9fc7e58e-8625-41c4-a8ee-6454f6382d46"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Middle">
|
||||
<font size="7" isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Bilheteiro]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="3766fa33-6281-4576-a9d1-3b984e1976d3" x="0" y="0" width="58" height="11"/>
|
||||
<reportElement x="0" y="0" width="58" height="14" uuid="3766fa33-6281-4576-a9d1-3b984e1976d3"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Middle">
|
||||
<font size="7" isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Num. Agência]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="7e1f6b82-8a1f-4719-b942-41f0d7027aa8" x="241" y="0" width="57" height="11"/>
|
||||
<reportElement x="241" y="0" width="57" height="14" uuid="7e1f6b82-8a1f-4719-b942-41f0d7027aa8"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Middle">
|
||||
<font size="7" isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[QTD. Vendas]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="6adaca80-9b5a-4a03-a80b-5eeed4894d7f" mode="Transparent" x="298" y="0" width="60" height="11" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<reportElement mode="Transparent" x="298" y="0" width="60" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="6adaca80-9b5a-4a03-a80b-5eeed4894d7f"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="7" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
|
@ -198,7 +200,7 @@
|
|||
<text><![CDATA[VLR. Vendas]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="a39ab8f3-becb-44e3-b4f5-b7c43889508c" mode="Transparent" x="434" y="0" width="63" height="11" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<reportElement mode="Transparent" x="434" y="0" width="63" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="a39ab8f3-becb-44e3-b4f5-b7c43889508c"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="7" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
|
@ -206,14 +208,14 @@
|
|||
<text><![CDATA[VLR.Cancelados]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="8a5e97db-9b05-4fa5-9663-7795869b6b90" x="58" y="0" width="51" height="11"/>
|
||||
<reportElement x="58" y="0" width="51" height="14" uuid="8a5e97db-9b05-4fa5-9663-7795869b6b90"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Middle">
|
||||
<font size="7" isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Login]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="c0542d93-dde4-448d-932c-453d6a4a6882" mode="Transparent" x="358" y="0" width="76" height="11" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<reportElement mode="Transparent" x="358" y="0" width="76" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="c0542d93-dde4-448d-932c-453d6a4a6882"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="7" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
|
@ -221,104 +223,112 @@
|
|||
<text><![CDATA[QTD. Cancelados]]></text>
|
||||
</staticText>
|
||||
<line>
|
||||
<reportElement uuid="8ef1fe89-c398-4c2d-a263-68d3c0dc91ab" x="0" y="11" width="555" height="1"/>
|
||||
<reportElement x="0" y="14" width="680" height="1" uuid="8ef1fe89-c398-4c2d-a263-68d3c0dc91ab"/>
|
||||
</line>
|
||||
<staticText>
|
||||
<reportElement uuid="e6e0b0a7-cca5-4d73-ac88-b893f47b8b40" x="178" y="0" width="63" height="11"/>
|
||||
<reportElement x="178" y="0" width="63" height="14" uuid="e6e0b0a7-cca5-4d73-ac88-b893f47b8b40"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Middle">
|
||||
<font size="7" isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Canal Venda]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="9f165dc7-f56f-473e-8fca-de263b98198e" mode="Transparent" x="497" y="0" width="56" height="11" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<reportElement mode="Transparent" x="497" y="0" width="56" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="9f165dc7-f56f-473e-8fca-de263b98198e"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="7" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
<text><![CDATA[VLR.TOTAL]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement x="611" y="0" width="69" height="14" uuid="bfeae6bb-7769-485e-a815-aabb84447747"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Middle">
|
||||
<font size="7" isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Usuário Fec.]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement x="553" y="0" width="58" height="14" uuid="04150b7c-9427-4a1c-8cfc-bac4e9d54989"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Middle">
|
||||
<font size="7" isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Agência Fec.]]></text>
|
||||
</staticText>
|
||||
</band>
|
||||
</columnHeader>
|
||||
<detail>
|
||||
<band height="15" splitType="Stretch">
|
||||
<textField>
|
||||
<reportElement uuid="01ee8c0d-6a68-45ea-a4e1-165a48cc89d4" x="0" y="0" width="58" height="15"/>
|
||||
<textElement/>
|
||||
<reportElement x="0" y="0" width="58" height="15" uuid="01ee8c0d-6a68-45ea-a4e1-165a48cc89d4"/>
|
||||
<textFieldExpression><![CDATA[$F{NUMPUNTOVENTA}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="152742f7-1799-4416-a180-3f55ebd20eb0" x="58" y="0" width="51" height="15"/>
|
||||
<textElement/>
|
||||
<reportElement x="58" y="0" width="51" height="15" uuid="152742f7-1799-4416-a180-3f55ebd20eb0"/>
|
||||
<textFieldExpression><![CDATA[$F{CVEUSUARIO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="7456c2e1-eb6f-48ba-8097-3ebc40c96bcd" x="109" y="0" width="69" height="15"/>
|
||||
<textElement/>
|
||||
<reportElement x="109" y="0" width="69" height="15" uuid="7456c2e1-eb6f-48ba-8097-3ebc40c96bcd"/>
|
||||
<textFieldExpression><![CDATA[$F{NOMBUSUARIO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="0debe4a0-072f-46ed-957b-635c73d4c92c" x="241" y="0" width="57" height="15"/>
|
||||
<textElement/>
|
||||
<reportElement x="241" y="0" width="57" height="15" uuid="0debe4a0-072f-46ed-957b-635c73d4c92c"/>
|
||||
<textFieldExpression><![CDATA[$F{QTDVENDAS}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern=" #,##0.00">
|
||||
<reportElement uuid="de74b2a9-67c4-415c-abca-fa3549d9b0a7" x="434" y="0" width="63" height="15"/>
|
||||
<textElement/>
|
||||
<reportElement x="434" y="0" width="63" height="15" uuid="de74b2a9-67c4-415c-abca-fa3549d9b0a7"/>
|
||||
<textFieldExpression><![CDATA[$F{VLRCANCELADOS}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern=" #,##0.00">
|
||||
<reportElement uuid="da9cc79b-499f-4b9f-b1fd-7de995071fea" x="298" y="0" width="60" height="15"/>
|
||||
<textElement/>
|
||||
<reportElement x="298" y="0" width="60" height="15" uuid="da9cc79b-499f-4b9f-b1fd-7de995071fea"/>
|
||||
<textFieldExpression><![CDATA[$F{VLRVENDAS}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="49206373-b1d1-4c3e-8475-705c707b8286" x="178" y="0" width="63" height="15"/>
|
||||
<textElement/>
|
||||
<reportElement x="178" y="0" width="63" height="15" uuid="49206373-b1d1-4c3e-8475-705c707b8286"/>
|
||||
<textFieldExpression><![CDATA[$F{DESCTIPO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern=" #,##0.00">
|
||||
<reportElement uuid="c338d2a3-b762-47b8-9d83-99f3ecb20e15" x="497" y="0" width="56" height="15"/>
|
||||
<textElement/>
|
||||
<reportElement x="497" y="0" width="56" height="15" uuid="c338d2a3-b762-47b8-9d83-99f3ecb20e15"/>
|
||||
<textFieldExpression><![CDATA[$V{vlrTotal}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="cb0241c1-c8ed-446d-accf-36af4a4ab540" x="358" y="0" width="76" height="15"/>
|
||||
<textElement/>
|
||||
<reportElement x="358" y="0" width="76" height="15" uuid="cb0241c1-c8ed-446d-accf-36af4a4ab540"/>
|
||||
<textFieldExpression><![CDATA[$F{QTDCANCELADOS}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement x="611" y="0" width="69" height="15" uuid="25ed46d6-6d9c-4708-beb4-246400076ba7"/>
|
||||
<textFieldExpression><![CDATA[$F{USUARIOFEC}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||
<reportElement x="553" y="0" width="58" height="15" uuid="c7aac4e8-e722-4cb8-b787-2e7ded7b0654"/>
|
||||
<textFieldExpression><![CDATA[$F{NUMPUNTOVENTAFEC}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</detail>
|
||||
<lastPageFooter>
|
||||
<band height="22">
|
||||
<textField pattern=" #,##0.00">
|
||||
<reportElement uuid="4fe96ddc-d868-49b8-8da6-819532f96884" x="298" y="0" width="60" height="20"/>
|
||||
<textElement/>
|
||||
<reportElement x="298" y="0" width="60" height="20" uuid="4fe96ddc-d868-49b8-8da6-819532f96884"/>
|
||||
<textFieldExpression><![CDATA[$V{vlrVendaTotal}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern=" #,##0.00">
|
||||
<reportElement uuid="04a540b3-e38f-47ca-85fe-3501dbc6c6a3" x="434" y="0" width="63" height="20"/>
|
||||
<textElement/>
|
||||
<reportElement x="434" y="0" width="63" height="20" uuid="04a540b3-e38f-47ca-85fe-3501dbc6c6a3"/>
|
||||
<textFieldExpression><![CDATA[$V{vlrCanceladosTotal}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="1d047de8-99d1-4293-924e-68e503c9e3bb" x="358" y="0" width="76" height="20"/>
|
||||
<textElement/>
|
||||
<reportElement x="358" y="0" width="76" height="20" uuid="1d047de8-99d1-4293-924e-68e503c9e3bb"/>
|
||||
<textFieldExpression><![CDATA[$V{qtdCanceladosTotal}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="8635b7a5-3642-4e3c-83d0-61f00680f2e1" x="241" y="0" width="57" height="20"/>
|
||||
<textElement/>
|
||||
<reportElement x="241" y="0" width="57" height="20" uuid="8635b7a5-3642-4e3c-83d0-61f00680f2e1"/>
|
||||
<textFieldExpression><![CDATA[$V{qtdVendasTotal}]]></textFieldExpression>
|
||||
</textField>
|
||||
<staticText>
|
||||
<reportElement uuid="4b21c6f2-7b3a-4ff4-b3d3-714ece376255" x="123" y="0" width="118" height="20"/>
|
||||
<reportElement x="123" y="0" width="118" height="20" uuid="4b21c6f2-7b3a-4ff4-b3d3-714ece376255"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<text><![CDATA[Totais:]]></text>
|
||||
</staticText>
|
||||
<textField pattern=" #,##0.00">
|
||||
<reportElement uuid="ee93037d-feb2-42ec-96f7-af8d2d61f13d" x="497" y="2" width="56" height="20"/>
|
||||
<textElement/>
|
||||
<reportElement x="497" y="2" width="56" height="20" uuid="ee93037d-feb2-42ec-96f7-af8d2d61f13d"/>
|
||||
<textFieldExpression><![CDATA[$V{vlrTotalCompleto}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
|
|
|
@ -25,11 +25,12 @@ import org.zkoss.zul.Comboitem;
|
|||
import org.zkoss.zul.Datebox;
|
||||
import org.zkoss.zul.Paging;
|
||||
import org.zkoss.zul.Radio;
|
||||
import org.zkoss.zul.Radiogroup;
|
||||
import org.zkoss.zul.Textbox;
|
||||
|
||||
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
||||
import com.rjconsultores.ventaboletos.entidad.PuntoVenta;
|
||||
import com.rjconsultores.ventaboletos.entidad.TipoPuntoVenta;
|
||||
import com.rjconsultores.ventaboletos.entidad.Usuario;
|
||||
import com.rjconsultores.ventaboletos.relatorios.impl.RelatorioVendasBilheteiroSintetico;
|
||||
import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio;
|
||||
import com.rjconsultores.ventaboletos.service.EmpresaService;
|
||||
|
@ -41,6 +42,8 @@ import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
|||
import com.rjconsultores.ventaboletos.web.utilerias.MyTextbox;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.HibernateSearchObject;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.PagedListWrapper;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderRelatorioCheckinUsuario;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderRelatorioCheckinUsuariosSelecionados;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderRelatorioVendasBilheteiroSintetico;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderRelatorioVendasBilheteiroSinteticoSelecionados;
|
||||
|
||||
|
@ -48,13 +51,11 @@ import com.rjconsultores.ventaboletos.web.utilerias.render.RenderRelatorioVendas
|
|||
* @author Bruno Neves
|
||||
*
|
||||
*/
|
||||
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||
@Controller("relatorioVendasBilheteiroSinteticoController")
|
||||
@Scope("prototype")
|
||||
public class RelatorioVendasBilheteiroSinteticoController extends MyGenericForwardComposer {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
private static Logger log = Logger.getLogger(RelatorioVendasBilheteiroSinteticoController.class);
|
||||
|
||||
|
@ -78,24 +79,29 @@ public class RelatorioVendasBilheteiroSinteticoController extends MyGenericForwa
|
|||
|
||||
@Autowired
|
||||
private transient PagedListWrapper<PuntoVenta> plwPuntoVenta;
|
||||
@Autowired
|
||||
private transient PagedListWrapper<Usuario> plwUsuario;
|
||||
|
||||
private MyTextbox txtNombrePuntoVenta;
|
||||
private Bandbox bbPesquisaPuntoVenta;
|
||||
private MyListbox puntoVentaList;
|
||||
private MyListbox puntoVentaSelList;
|
||||
|
||||
private Paging pagingPuntoVenta;
|
||||
|
||||
private MyTextbox txtBilheteiro;
|
||||
|
||||
private Textbox txtPalavraPesquisa;
|
||||
private Bandbox bbPesquisaBilhetero;
|
||||
private MyListbox usuarioList;
|
||||
private MyListbox usuarioSelList;
|
||||
private Paging pagingUsuario;
|
||||
|
||||
private Checkbox checkboxTarifa;
|
||||
private Checkbox checkboxImportepedagio;
|
||||
private Checkbox checkboxImportetaxaembarque;
|
||||
private Checkbox checkboxImporteseguro;
|
||||
|
||||
private Radiogroup organizacao;
|
||||
private Radio radBilheteiro;
|
||||
private Radio radDigitacao;
|
||||
private Radio radFechamento;
|
||||
|
||||
@Override
|
||||
public void doAfterCompose(Component comp) throws Exception {
|
||||
|
@ -105,14 +111,16 @@ public class RelatorioVendasBilheteiroSinteticoController extends MyGenericForwa
|
|||
|
||||
puntoVentaList.setItemRenderer(new RenderRelatorioVendasBilheteiroSintetico());
|
||||
puntoVentaSelList.setItemRenderer(new RenderRelatorioVendasBilheteiroSinteticoSelecionados());
|
||||
|
||||
usuarioList.setItemRenderer(new RenderRelatorioCheckinUsuario());
|
||||
usuarioSelList.setItemRenderer(new RenderRelatorioCheckinUsuariosSelecionados());
|
||||
|
||||
checkboxTarifa.setChecked(true);
|
||||
checkboxImportepedagio.setChecked(true);
|
||||
checkboxImportetaxaembarque.setChecked(true);
|
||||
checkboxImporteseguro.setChecked(true);
|
||||
|
||||
radBilheteiro.setChecked(true);
|
||||
|
||||
|
||||
}
|
||||
|
||||
public List<Empresa> getLsEmpresa() {
|
||||
|
@ -165,16 +173,51 @@ public class RelatorioVendasBilheteiroSinteticoController extends MyGenericForwa
|
|||
|
||||
bbPesquisaPuntoVenta.setText("");
|
||||
}
|
||||
|
||||
public void onClick$btnLimparUsu(Event ev) {
|
||||
usuarioList.setData(new ArrayList<Usuario>());
|
||||
|
||||
bbPesquisaBilhetero.setText("");
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void onClick$btnPesquisaUsu(Event ev) {
|
||||
executarPesquisaUsu();
|
||||
}
|
||||
|
||||
public void onDoubleClick$usuarioList(Event ev) {
|
||||
Usuario usuario = (Usuario) usuarioList.getSelected();
|
||||
usuarioSelList.addItemNovo(usuario);
|
||||
}
|
||||
|
||||
private void executarPesquisaUsu() {
|
||||
HibernateSearchObject<Usuario> usuarioBusqueda =
|
||||
new HibernateSearchObject<Usuario>(Usuario.class, pagingUsuario.getPageSize());
|
||||
|
||||
usuarioBusqueda.addFilterLike("claveUsuario", "%" + txtPalavraPesquisa.getValue() + "%");
|
||||
|
||||
usuarioBusqueda.addSortAsc("nombusuario");
|
||||
|
||||
usuarioBusqueda.addFilterEqual("activo", Boolean.TRUE);
|
||||
|
||||
plwUsuario.init(usuarioBusqueda, usuarioList, pagingUsuario);
|
||||
|
||||
if (usuarioList.getData().length == 0) {
|
||||
try {
|
||||
Messagebox.show(Labels.getLabel("MSG.ningunRegistro"),
|
||||
Labels.getLabel("indexController.mniRelatorioCheckin.label"),
|
||||
Messagebox.OK, Messagebox.INFORMATION);
|
||||
} catch (InterruptedException ex) {
|
||||
log.error(ex);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void onClick$btnExecutarRelatorio(Event ev) throws Exception {
|
||||
executarRelatorio();
|
||||
}
|
||||
|
||||
/**
|
||||
* @throws Exception
|
||||
*
|
||||
*/
|
||||
@SuppressWarnings({ "rawtypes", "unchecked" })
|
||||
private void executarRelatorio() throws Exception {
|
||||
Relatorio relatorio;
|
||||
Map<String, Object> parametros = new HashMap<String, Object>();
|
||||
|
@ -206,8 +249,6 @@ public class RelatorioVendasBilheteiroSinteticoController extends MyGenericForwa
|
|||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
filtro.append("Agência: ");
|
||||
String puntoVentaIds = "";
|
||||
String puntoVentas = "";
|
||||
|
@ -228,6 +269,28 @@ public class RelatorioVendasBilheteiroSinteticoController extends MyGenericForwa
|
|||
parametros.put("NUMPUNTOVENTA", puntoVentaIds);
|
||||
}
|
||||
filtro.append(puntoVentas).append(";");
|
||||
|
||||
|
||||
filtro.append("Usuarios: ");
|
||||
String usuarioIds = "";
|
||||
String usuarios = "";
|
||||
List<Usuario> lsUsuarioSelecionados = new ArrayList(Arrays.asList(usuarioSelList.getData()));
|
||||
if (lsUsuarioSelecionados.isEmpty()) {
|
||||
usuarios = "Todos";
|
||||
} else {
|
||||
for (int i = 0; i < lsUsuarioSelecionados.size(); i++) {
|
||||
Usuario usuario = lsUsuarioSelecionados.get(i);
|
||||
usuarios = usuarios + usuario.getClaveUsuario() + ",";
|
||||
|
||||
usuarioIds = usuarioIds + usuario.getUsuarioId() + ",";
|
||||
}
|
||||
|
||||
// removendo ultima virgula
|
||||
usuarioIds = usuarioIds.substring(0, usuarioIds.length() - 1);
|
||||
usuarios = usuarios.substring(0, usuarios.length() - 1);
|
||||
parametros.put("USUARIOIDS", usuarioIds);
|
||||
}
|
||||
filtro.append(usuarios).append(";");
|
||||
|
||||
parametros.put("DATA_INICIAL", (java.util.Date) this.datInicial.getValue());
|
||||
parametros.put("DATA_FINAL", (java.util.Date) this.datFinal.getValue());
|
||||
|
@ -262,9 +325,13 @@ public class RelatorioVendasBilheteiroSinteticoController extends MyGenericForwa
|
|||
if( radDigitacao.isChecked() ) {
|
||||
filtro.append(radDigitacao.getLabel() + ";");
|
||||
parametros.put("ORGANIZADODIGITACAO", true);
|
||||
}else if(radFechamento.isChecked() ){
|
||||
filtro.append(radFechamento.getLabel() + ";");
|
||||
parametros.put("ORGANIZADOFECHAMENTO", true);
|
||||
}else {
|
||||
filtro.append(radBilheteiro.getLabel() + ";");
|
||||
parametros.put("ORGANIZADODIGITACAO", false);
|
||||
parametros.put("ORGANIZADOFECHAMENTO", false);
|
||||
}
|
||||
|
||||
parametros.put("FILTROS", filtro.toString());
|
||||
|
@ -293,4 +360,20 @@ public class RelatorioVendasBilheteiroSinteticoController extends MyGenericForwa
|
|||
this.lsTipoPuntoVenta = lsTipoPuntoVenta;
|
||||
}
|
||||
|
||||
public MyListbox getUsuarioList() {
|
||||
return usuarioList;
|
||||
}
|
||||
|
||||
public void setUsuarioList(MyListbox usuarioList) {
|
||||
this.usuarioList = usuarioList;
|
||||
}
|
||||
|
||||
public MyListbox getUsuarioSelList() {
|
||||
return usuarioSelList;
|
||||
}
|
||||
|
||||
public void setUsuarioSelList(MyListbox usuarioSelList) {
|
||||
this.usuarioSelList = usuarioSelList;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -802,6 +802,7 @@ relatorioVendasBilheteiroSinteticoController.btnLimpar.label = Limpiar
|
|||
relatorioVendasBilheteiroSinteticoController.lbNumero.value = Número punto de venta
|
||||
relatorioVendasBilheteiroSinteticoController.lbBilheteiro.value = Agente
|
||||
relatorioVendasBilheteiroSinteticoController.lbDigitacao.value = Digitacion
|
||||
relatorioVendasBilheteiroSinteticoController.lbFechamento.value = Fechamento
|
||||
relatorioVendasBilheteiroSinteticoController.lbOrganizacao.value = Organizado por:
|
||||
|
||||
#Reporte de Demandas
|
||||
|
@ -8615,8 +8616,4 @@ filtroTaxaEmbarqueW2i.tblEstoque.label = Qtd. Estoque
|
|||
filtroTaxaEmbarqueW2i.MSG.informarDatas= Favor informar a Localidade de origem.
|
||||
filtroTaxaEmbarqueW2i.MSG.NaoExisteConfiguracao = Não existe configuração de estoque para esta pesquisa.
|
||||
filtroTaxaEmbarqueW2i.MSG.erroPesquisa= Erro ao realizar pesquisa de estoque.
|
||||
filtroTaxaEmbarqueW2i.labelAviso.value= Atenção. Certifique-se que todos os dados da corrida estejam de acordo com a pesquisa. Somente a categoria da corrida pode variar se houver 'TODAS' no resultado.
|
||||
|
||||
indexController.mniLimparCacheLocalidadesAPI.label = Recarregar Cache de Localidades (API)
|
||||
limparCacheLocalidadesAPI.title = Localidades (API)
|
||||
limparCacheLocalidadesAPI.message.naoconfigurado=A constante de configuração da URL da API não foi encontrada.
|
||||
filtroTaxaEmbarqueW2i.labelAviso.value= Atenção. Certifique-se que todos os dados da corrida estejam de acordo com a pesquisa. Somente a categoria da corrida pode variar se houver 'TODAS' no resultado.
|
|
@ -844,6 +844,7 @@ relatorioVendasBilheteiroSinteticoController.btnLimpar.label = Limpar
|
|||
relatorioVendasBilheteiroSinteticoController.lbNumero.value = Número Agência
|
||||
relatorioVendasBilheteiroSinteticoController.lbBilheteiro.value = Bilheteiro
|
||||
relatorioVendasBilheteiroSinteticoController.lbDigitacao.value = Digitação
|
||||
relatorioVendasBilheteiroSinteticoController.lbFechamento.value = Fechamento
|
||||
relatorioVendasBilheteiroSinteticoController.lbOrganizacao.value = Organizado por:
|
||||
relatorioVendasBilheteiroSinteticoController.lbCanalVendas.value = Canal Vendas
|
||||
relatorioVendasBilheteiroSinteticoController.erroSemComponenteDePreco = Escolha um componente de preço
|
||||
|
@ -9158,8 +9159,4 @@ filtroTaxaEmbarqueW2i.tblEstoque.label = Qtd. Estoque
|
|||
filtroTaxaEmbarqueW2i.MSG.informarDatas= Favor informar a Localidade de origem.
|
||||
filtroTaxaEmbarqueW2i.MSG.NaoExisteConfiguracao = Não existe configuração de estoque para esta pesquisa.
|
||||
filtroTaxaEmbarqueW2i.MSG.erroPesquisa= Erro ao realizar pesquisa de estoque.
|
||||
filtroTaxaEmbarqueW2i.labelAviso.value= Atenção. Certifique-se que todos os dados da corrida estejam de acordo com a pesquisa. Somente a categoria da corrida pode variar se houver 'TODAS' no resultado.
|
||||
|
||||
indexController.mniLimparCacheLocalidadesAPI.label = Recarregar Cache de Localidades (API)
|
||||
limparCacheLocalidadesAPI.title = Localidades (API)
|
||||
limparCacheLocalidadesAPI.message.naoconfigurado=A constante de configuração da URL da API não foi encontrada.
|
||||
filtroTaxaEmbarqueW2i.labelAviso.value= Atenção. Certifique-se que todos os dados da corrida estejam de acordo com a pesquisa. Somente a categoria da corrida pode variar se houver 'TODAS' no resultado.
|
|
@ -6,7 +6,7 @@
|
|||
<zk xmlns="http://www.zkoss.org/2005/zul">
|
||||
<window id="winFiltroRelatorioVendasBilheteiroSintetico"
|
||||
apply="${relatorioVendasBilheteiroSinteticoController}"
|
||||
contentStyle="overflow:auto" height="370px" width="600px"
|
||||
contentStyle="overflow:auto" height="530px" width="600px"
|
||||
border="normal">
|
||||
|
||||
<grid fixedLayout="true">
|
||||
|
@ -60,6 +60,7 @@
|
|||
<radiogroup id="organizacao" width="200px">
|
||||
<radio id="radBilheteiro" label="${c:l('relatorioVendasBilheteiroSinteticoController.lbBilheteiro.value')}" radiogroup="organizacao" />
|
||||
<radio id="radDigitacao" label="${c:l('relatorioVendasBilheteiroSinteticoController.lbDigitacao.value')}" radiogroup="organizacao"/>
|
||||
<radio id="radFechamento" label="${c:l('relatorioVendasBilheteiroSinteticoController.lbFechamento.value')}" radiogroup="organizacao"/>
|
||||
</radiogroup>
|
||||
</row>
|
||||
<row spans="1,1,2">
|
||||
|
@ -133,6 +134,54 @@
|
|||
</listbox>
|
||||
<paging id="pagingSelPuntoVenta" pageSize="10" />
|
||||
</row>
|
||||
|
||||
<row spans="1,3">
|
||||
<label value="Usuario" />
|
||||
<bandbox id="bbPesquisaBilhetero" width="98%" mold="rounded" readonly="true">
|
||||
<bandpopup>
|
||||
<vbox>
|
||||
<hbox>
|
||||
<label
|
||||
value="${c:l('relatorioCheckinController.lbBilheteiro.label')}" />
|
||||
<textbox id="txtPalavraPesquisa"
|
||||
width="250px"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
||||
<button id="btnPesquisaUsu"
|
||||
image="/gui/img/find.png"
|
||||
label="${c:l('relatorioCheckinController.btnPesquisa.label')}" />
|
||||
<button id="btnLimparUsu"
|
||||
image="/gui/img/eraser.png"
|
||||
label="${c:l('relatorioCheckinController.btnLimpar.label')}" />
|
||||
</hbox>
|
||||
|
||||
<paging id="pagingUsuario" pageSize="20" />
|
||||
<listbox id="usuarioList" mold="paging"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||
vflex="true" height="100%" width="500px">
|
||||
<listhead>
|
||||
<listheader label="${c:l('lb.id')}" width="30%" />
|
||||
<listheader label="${c:l('relatorioCheckinController.usuarioCVE.label')}" width="30%" />
|
||||
<listheader label="${c:l('relatorioCheckinController.usuarioNome.label')}" width="60%" />
|
||||
</listhead>
|
||||
</listbox>
|
||||
</vbox>
|
||||
</bandpopup>
|
||||
</bandbox>
|
||||
</row>
|
||||
<row spans="4">
|
||||
<listbox id="usuarioSelList" mold="paging"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||
vflex="true" height="100px" width="100%">
|
||||
<listhead>
|
||||
<listheader label="${c:l('relatorioCheckinController.usuarioCVE.label')}"
|
||||
width="30%" />
|
||||
<listheader label="${c:l('relatorioCheckinController.usuarioNome.label')}"
|
||||
width="60%" />
|
||||
<listheader width="10%" />
|
||||
</listhead>
|
||||
</listbox>
|
||||
<paging id="pagingSelUsuario" pageSize="10" />
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
<toolbar>
|
||||
|
|
Loading…
Reference in New Issue