Merge remote-tracking branch 'origin/master' into AL-4824

master
Lucas 2024-08-21 20:57:07 -03:00
commit 406f5e3489
18 changed files with 508 additions and 56 deletions

View File

@ -49,10 +49,15 @@ public class RelatorioVendasBilheteiro extends Relatorio {
sql.append(" c.CORRIDA_ID SERVICO, ");
sql.append(" c.IMPORTEPEDAGIO PEDAGIO," );
sql.append(" c.IMPORTETAXAEMBARQUE TX_EMBARQUE," );
sql.append(" c.IMPORTEOUTROS OUTROS," );
sql.append(" c.IMPORTEOUTROS OUTROS,");
sql.append(" c.IMPORTESEGURO AS VALOR_SEGURO, ");
sql.append(" c.PRECIOPAGADO TARIFA," );
sql.append(" (coalesce(c.PRECIOPAGADO,0)+(coalesce(c.IMPORTEPEDAGIO,0)+ coalesce(c.IMPORTETAXAEMBARQUE,0)+ coalesce(c.IMPORTESEGURO,0)+ coalesce(c.IMPORTEOUTROS,0))) TOTAL_BILHETE, " );
sql.append(" cs.DESCCLASE CLASSE ");
sql.append(" cs.DESCCLASE CLASSE, ");
sql.append(" fp.DESCPAGO as FORMA_PAGO, ");
sql.append(" r.ruta_id as NUM_LINHA, ");
sql.append(" r.DESCRUTA as DESC_LINHA ");
sql.append(" from caja c ");
sql.append(" join PUNTO_VENTA pv on c.PUNTOVENTA_ID = pv.PUNTOVENTA_ID ");
@ -62,6 +67,11 @@ public class RelatorioVendasBilheteiro extends Relatorio {
sql.append(" join CATEGORIA ct on ct.CATEGORIA_ID = c.CATEGORIA_ID ");
sql.append(" join CLASE_SERVICIO cs on cs.CLASESERVICIO_ID = c.CLASESERVICIO_ID ");
sql.append(" join MARCA m on m.marca_id = c.marca_id ");
sql.append(" left join caja_formapago cfp on c.caja_id = cfp.caja_id and cfp.activo = 1 ");
sql.append(" left join forma_pago fp on cfp.formapago_id = fp.formapago_id and fp.activo = 1 ");
sql.append(" left join ruta r on r.ruta_id = c.ruta_id and r.activo = 1 ");
sql.append(" where ");
sql.append(" m.EMPRESA_ID = :EMPRESA_ID ");
sql.append(" and c.FECHORVENTA >= :DATA_INICIAL ");
@ -119,7 +129,10 @@ public class RelatorioVendasBilheteiro extends Relatorio {
dataResult.put("SERVICO", rset.getBigDecimal("SERVICO"));
dataResult.put("DATA_VIAGEM", rset.getDate("DATA_VIAGEM"));
dataResult.put("CLASSE", rset.getString("CLASSE"));
dataResult.put("FORMA_PAGO", rset.getString("FORMA_PAGO"));
dataResult.put("VALOR_SEGURO", rset.getBigDecimal("VALOR_SEGURO"));
dataResult.put("NUM_LINHA", rset.getString("NUM_LINHA"));
dataResult.put("DESC_LINHA", rset.getString("DESC_LINHA"));
this.dados.add(dataResult);
}

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="RelatorioVendasBilheteiro" pageWidth="1900" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="1860" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="b92fb063-a827-4619-8a69-5c78e3afbb8c">
<property name="ireport.zoom" value="1.7715610000000048"/>
<property name="ireport.x" value="2276"/>
<property name="ireport.x" value="1222"/>
<property name="ireport.y" value="0"/>
<property name="net.sf.jasperreports.export.xls.exclude.origin.band.2" value="pageHeader"/>
<property name="net.sf.jasperreports.export.xls.exclude.origin.keep.first.band.2" value="columnHeader"/>
@ -32,6 +32,10 @@
<field name="TOTAL_BILHETE" class="java.math.BigDecimal"/>
<field name="CLASSE" class="java.lang.String"/>
<field name="OUTROS" class="java.math.BigDecimal"/>
<field name="FORMA_PAGO" class="java.lang.String"/>
<field name="NUM_LINHA" class="java.lang.String"/>
<field name="DESC_LINHA" class="java.lang.String"/>
<field name="VALOR_SEGURO" class="java.math.BigDecimal"/>
<background>
<band splitType="Stretch"/>
</background>
@ -129,38 +133,38 @@
</band>
</pageHeader>
<columnHeader>
<band height="15" splitType="Stretch">
<band height="17" splitType="Stretch">
<staticText>
<reportElement uuid="148c467d-8b63-428c-8221-9219699357ba" x="244" y="0" width="92" height="15"/>
<reportElement uuid="148c467d-8b63-428c-8221-9219699357ba" x="197" y="1" width="70" height="15"/>
<textElement textAlignment="Left" markup="none">
<font size="8" isBold="true"/>
</textElement>
<text><![CDATA[Cód. Bilheteiro]]></text>
</staticText>
<staticText>
<reportElement uuid="8e3279f3-98b6-4f3d-9804-91dd4a58dd96" x="0" y="0" width="84" height="15"/>
<reportElement uuid="8e3279f3-98b6-4f3d-9804-91dd4a58dd96" x="0" y="1" width="57" height="15"/>
<textElement textAlignment="Left" markup="none">
<font size="8" isBold="true"/>
</textElement>
<text><![CDATA[Cód. Agência]]></text>
</staticText>
<staticText>
<reportElement uuid="10b5fd24-35e6-4e26-b46c-d57521e8225a" x="336" y="0" width="175" height="15"/>
<reportElement uuid="10b5fd24-35e6-4e26-b46c-d57521e8225a" x="267" y="1" width="147" height="15"/>
<textElement textAlignment="Left" markup="none">
<font size="8" isBold="true"/>
</textElement>
<text><![CDATA[Nome Bilheteiro]]></text>
</staticText>
<staticText>
<reportElement uuid="b58aa408-1e97-42ca-9908-20720337c538" mode="Transparent" x="512" y="0" width="91" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="b58aa408-1e97-42ca-9908-20720337c538" mode="Transparent" x="414" y="1" width="53" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<text><![CDATA[Num. Passagem]]></text>
<text><![CDATA[Num. Passag.]]></text>
</staticText>
<staticText>
<reportElement uuid="f3e8c856-93bd-41f2-8da5-3a1898409894" mode="Transparent" x="1239" y="0" width="50" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="f3e8c856-93bd-41f2-8da5-3a1898409894" mode="Transparent" x="1381" y="1" width="36" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -168,7 +172,7 @@
<text><![CDATA[Pedágio]]></text>
</staticText>
<staticText>
<reportElement uuid="9819c745-3e18-49a6-a9f0-67386dc37552" mode="Transparent" x="814" y="0" width="210" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="9819c745-3e18-49a6-a9f0-67386dc37552" mode="Transparent" x="666" y="1" width="199" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -176,7 +180,7 @@
<text><![CDATA[Destino]]></text>
</staticText>
<staticText>
<reportElement uuid="0f12e71c-4bea-4274-bd7e-e58a5e265bc4" mode="Transparent" x="1289" y="0" width="50" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="0f12e71c-4bea-4274-bd7e-e58a5e265bc4" mode="Transparent" x="1417" y="1" width="50" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -184,14 +188,14 @@
<text><![CDATA[Tarifa]]></text>
</staticText>
<staticText>
<reportElement uuid="cba6abf0-5eaa-44cf-9011-8a532a8281b7" x="84" y="0" width="160" height="15"/>
<reportElement uuid="cba6abf0-5eaa-44cf-9011-8a532a8281b7" x="57" y="1" width="140" height="15"/>
<textElement textAlignment="Left" markup="none">
<font size="8" isBold="true"/>
</textElement>
<text><![CDATA[ Descrição Agência]]></text>
</staticText>
<staticText>
<reportElement uuid="3e99e1ff-08e3-4832-8053-8108eee2b7a7" mode="Transparent" x="603" y="0" width="210" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="3e99e1ff-08e3-4832-8053-8108eee2b7a7" mode="Transparent" x="467" y="1" width="199" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -199,7 +203,7 @@
<text><![CDATA[Origem]]></text>
</staticText>
<staticText>
<reportElement uuid="83f66491-4f20-403b-8e81-7487d5a03d5f" mode="Transparent" x="1167" y="0" width="72" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="83f66491-4f20-403b-8e81-7487d5a03d5f" mode="Transparent" x="1328" y="1" width="53" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -207,7 +211,7 @@
<text><![CDATA[T. Embarque]]></text>
</staticText>
<staticText>
<reportElement uuid="3c0dca5a-1295-4922-aeaa-0f96aab0b9b9" mode="Transparent" x="1024" y="0" width="143" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="3c0dca5a-1295-4922-aeaa-0f96aab0b9b9" mode="Transparent" x="1086" y="1" width="72" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -215,7 +219,7 @@
<text><![CDATA[Tipo do Bilhete]]></text>
</staticText>
<staticText>
<reportElement uuid="c5ac6452-b793-4851-a3d9-c82827933b06" mode="Transparent" x="1389" y="0" width="70" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="c5ac6452-b793-4851-a3d9-c82827933b06" mode="Transparent" x="1517" y="1" width="69" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -223,7 +227,7 @@
<text><![CDATA[Total Bilhetes]]></text>
</staticText>
<staticText>
<reportElement uuid="39b203b7-c27c-474e-a12b-a3fe0e1fd88a" mode="Transparent" x="1459" y="0" width="135" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="39b203b7-c27c-474e-a12b-a3fe0e1fd88a" mode="Transparent" x="1586" y="1" width="82" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -231,7 +235,7 @@
<text><![CDATA[Status da Passagem]]></text>
</staticText>
<staticText>
<reportElement uuid="f9b05f2d-0048-4518-ba5f-36311649801a" mode="Transparent" x="1594" y="0" width="45" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="f9b05f2d-0048-4518-ba5f-36311649801a" mode="Transparent" x="1668" y="1" width="33" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -239,7 +243,7 @@
<text><![CDATA[Serviço]]></text>
</staticText>
<staticText>
<reportElement uuid="9e64f28e-32bb-41a5-bcda-fe0b863830bd" mode="Transparent" x="1780" y="0" width="80" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="9e64f28e-32bb-41a5-bcda-fe0b863830bd" mode="Transparent" x="1805" y="1" width="54" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
@ -247,143 +251,203 @@
<text><![CDATA[Data Viagem]]></text>
</staticText>
<staticText>
<reportElement uuid="60a0ad6b-68e7-4b8f-819e-ac863ac6ba68" x="1639" y="0" width="141" height="15"/>
<reportElement uuid="60a0ad6b-68e7-4b8f-819e-ac863ac6ba68" x="1701" y="1" width="103" height="15"/>
<textElement markup="none">
<font size="8" isBold="true"/>
</textElement>
<text><![CDATA[Classe]]></text>
</staticText>
<staticText>
<reportElement uuid="875633e7-1078-4040-95e2-6e414146fcac" mode="Transparent" x="1339" y="0" width="50" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<reportElement uuid="875633e7-1078-4040-95e2-6e414146fcac" mode="Transparent" x="1467" y="1" width="50" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<text><![CDATA[Outros]]></text>
</staticText>
<staticText>
<reportElement uuid="a587db5b-1f80-4be7-8739-4511621fa0ff" mode="Transparent" x="1158" y="1" width="109" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<text><![CDATA[F. Pagamento]]></text>
</staticText>
<staticText>
<reportElement uuid="109a40f6-7c21-4975-a560-0486a9111282" mode="Transparent" x="1267" y="1" width="61" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<text><![CDATA[Seguro]]></text>
</staticText>
<staticText>
<reportElement uuid="c9977b3d-0e56-4e5f-912e-bebb6577f879" mode="Transparent" x="865" y="1" width="61" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<text><![CDATA[Num. Linha]]></text>
</staticText>
<staticText>
<reportElement uuid="72adc966-5f40-4a08-9bcc-02c7f4397370" mode="Transparent" x="926" y="1" width="159" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<text><![CDATA[Desc. Linha]]></text>
</staticText>
</band>
</columnHeader>
<detail>
<band height="15" splitType="Stretch">
<band height="17" splitType="Stretch">
<textField isStretchWithOverflow="true" isBlankWhenNull="false">
<reportElement uuid="bc091860-adab-47d8-8352-982bc8e484a3" x="0" y="0" width="84" height="15"/>
<reportElement uuid="bc091860-adab-47d8-8352-982bc8e484a3" x="0" y="1" width="57" height="15"/>
<textElement textAlignment="Left">
<font fontName="SansSerif" size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{CODIGO_AGENCIA}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="false">
<reportElement uuid="e3a43e5d-2326-47c4-9d47-8c4d69d18d99" x="84" y="0" width="160" height="15"/>
<reportElement uuid="e3a43e5d-2326-47c4-9d47-8c4d69d18d99" x="57" y="1" width="140" height="15"/>
<textElement textAlignment="Left">
<font fontName="SansSerif" size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{NOME_AGENCIA}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="false">
<reportElement uuid="82c36c16-1662-4af9-a285-c935ab350e79" x="244" y="0" width="92" height="15"/>
<reportElement uuid="82c36c16-1662-4af9-a285-c935ab350e79" x="197" y="1" width="70" height="15"/>
<textElement textAlignment="Left">
<font fontName="SansSerif" size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{CODIGO_BILHETEIRO}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="false">
<reportElement uuid="ef45dd24-19e8-4e92-9759-f8e7a5c990eb" x="336" y="0" width="175" height="15"/>
<reportElement uuid="ef45dd24-19e8-4e92-9759-f8e7a5c990eb" x="267" y="1" width="147" height="15"/>
<textElement textAlignment="Left">
<font fontName="SansSerif" size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{NOME_BILHETEIRO}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="false">
<reportElement uuid="4cd8a33f-6aaa-47cb-949e-38c6b74d3d39" x="512" y="0" width="91" height="15"/>
<reportElement uuid="4cd8a33f-6aaa-47cb-949e-38c6b74d3d39" x="414" y="1" width="53" height="15"/>
<textElement textAlignment="Left">
<font fontName="SansSerif" size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{NUMERO_PASSAGEM}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="false">
<reportElement uuid="17011486-0d4c-4e22-b534-48e0bb025673" x="603" y="0" width="210" height="15"/>
<reportElement uuid="17011486-0d4c-4e22-b534-48e0bb025673" x="467" y="1" width="199" height="15"/>
<textElement textAlignment="Left">
<font fontName="SansSerif" size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{ORIGEM}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="false">
<reportElement uuid="a89c84e4-0e13-4e85-a565-9eb0bc6e5423" x="814" y="0" width="210" height="15"/>
<reportElement uuid="a89c84e4-0e13-4e85-a565-9eb0bc6e5423" x="666" y="1" width="199" height="15"/>
<textElement textAlignment="Left">
<font fontName="SansSerif" size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{DESTINO}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="false">
<reportElement uuid="7be97f5f-b36b-4679-befb-e5f2b4532963" x="1024" y="0" width="143" height="15"/>
<reportElement uuid="7be97f5f-b36b-4679-befb-e5f2b4532963" x="1086" y="0" width="72" height="15"/>
<textElement textAlignment="Left">
<font fontName="SansSerif" size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{TIPO_BILHETE}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="false">
<reportElement uuid="7c1e2d86-f9ce-4730-866c-dc6cbdd0cf2c" x="1167" y="0" width="72" height="15"/>
<reportElement uuid="7c1e2d86-f9ce-4730-866c-dc6cbdd0cf2c" x="1328" y="1" width="53" height="15"/>
<textElement textAlignment="Left">
<font fontName="SansSerif" size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{TX_EMBARQUE}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="false">
<reportElement uuid="7c0246f5-739b-440c-a242-915117bd9fd1" x="1239" y="0" width="50" height="15"/>
<reportElement uuid="7c0246f5-739b-440c-a242-915117bd9fd1" x="1381" y="1" width="36" height="15"/>
<textElement textAlignment="Left">
<font fontName="SansSerif" size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{PEDAGIO}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="false">
<reportElement uuid="dd401917-6047-4e1b-9722-31fe8d096594" x="1289" y="0" width="50" height="15"/>
<reportElement uuid="dd401917-6047-4e1b-9722-31fe8d096594" x="1417" y="1" width="50" height="15"/>
<textElement textAlignment="Left">
<font fontName="SansSerif" size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{TARIFA}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="false">
<reportElement uuid="4dafd61b-ce2b-4690-b029-2a1382113099" x="1389" y="0" width="70" height="15"/>
<reportElement uuid="4dafd61b-ce2b-4690-b029-2a1382113099" x="1517" y="1" width="69" height="15"/>
<textElement textAlignment="Left">
<font fontName="SansSerif" size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{TOTAL_BILHETE}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="false">
<reportElement uuid="8ad565b3-b12c-4fef-a1c7-836e7415436d" x="1459" y="0" width="135" height="15"/>
<reportElement uuid="8ad565b3-b12c-4fef-a1c7-836e7415436d" x="1586" y="1" width="82" height="15"/>
<textElement textAlignment="Left">
<font fontName="SansSerif" size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{STATUS_PASSAGEM}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="false">
<reportElement uuid="b0200cfc-1b6b-4636-9f4b-5fe5d87c2687" x="1594" y="0" width="45" height="15"/>
<reportElement uuid="b0200cfc-1b6b-4636-9f4b-5fe5d87c2687" x="1668" y="1" width="33" height="15"/>
<textElement textAlignment="Left">
<font fontName="SansSerif" size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{SERVICO}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="false">
<reportElement uuid="27ec5d64-d949-4b02-a4a7-d6c5db93b3bd" x="1780" y="0" width="80" height="15"/>
<reportElement uuid="27ec5d64-d949-4b02-a4a7-d6c5db93b3bd" x="1805" y="1" width="54" height="15"/>
<textElement textAlignment="Left">
<font fontName="SansSerif" size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{DATA_VIAGEM}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="false">
<reportElement uuid="f5f01da5-4ea3-41ba-8b58-b1f7e8e70601" x="1639" y="0" width="141" height="15"/>
<reportElement uuid="f5f01da5-4ea3-41ba-8b58-b1f7e8e70601" x="1701" y="1" width="103" height="15"/>
<textElement textAlignment="Left">
<font fontName="SansSerif" size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{CLASSE}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="false">
<reportElement uuid="8ea95b30-4077-4b9c-843a-0ec275a5a2e9" x="1339" y="0" width="50" height="15"/>
<reportElement uuid="8ea95b30-4077-4b9c-843a-0ec275a5a2e9" x="1467" y="1" width="50" height="15"/>
<textElement textAlignment="Left">
<font fontName="SansSerif" size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{OUTROS}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="false">
<reportElement uuid="f9b933fd-8935-4e7e-8413-9cfeb26acead" x="1158" y="0" width="109" height="15"/>
<textElement textAlignment="Left">
<font fontName="SansSerif" size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{FORMA_PAGO}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="false">
<reportElement uuid="13ac6ae0-ff26-4126-9df9-8b50705990aa" x="1267" y="1" width="61" height="15"/>
<textElement textAlignment="Left">
<font fontName="SansSerif" size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{VALOR_SEGURO}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="false">
<reportElement uuid="b94b4ed0-8c08-4d1c-996a-4f2d843a0feb" x="926" y="1" width="159" height="15"/>
<textElement textAlignment="Left">
<font fontName="SansSerif" size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{DESC_LINHA}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="false">
<reportElement uuid="1958e57a-de97-4d73-8e9f-b17d9ea660c7" x="865" y="1" width="61" height="15"/>
<textElement textAlignment="Left">
<font fontName="SansSerif" size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{NUM_LINHA}]]></textFieldExpression>
</textField>
</band>
</detail>
<noData>

View File

@ -108,12 +108,12 @@ public class CargaContratoExpressosController extends MyGenericForwardComposer{
Date fechaInicio = txtFechaInicio.getValue();
if(fechaInicio != null) {
buscarExpresos.addFilterGreaterOrEqual("FECSOLICITUD", fechaInicio);
buscarExpresos.addFilterGreaterOrEqual("fechaSolicitud", fechaInicio);
}
Date fechaFin = txtFechaFin.getValue();
if(fechaFin != null) {
buscarExpresos.addFilterLessOrEqual("FECSOLICITUD", fechaFin);
buscarExpresos.addFilterLessOrEqual("fechaSolicitud", fechaFin);
}
if(ckServiciosInactivos.isChecked()) {

View File

@ -104,12 +104,12 @@ public class CumplimientoServicioExpresosController extends MyGenericForwardComp
Date fechaInicio = txtFechaInicio.getValue();
if(fechaInicio != null) {
buscarExpresos.addFilterGreaterOrEqual("FECSOLICITUD", fechaInicio);
buscarExpresos.addFilterGreaterOrEqual("fechaSolicitud", fechaInicio);
}
Date fechaFin = txtFechaFin.getValue();
if(fechaFin != null) {
buscarExpresos.addFilterLessOrEqual("FECSOLICITUD", fechaFin);
buscarExpresos.addFilterLessOrEqual("fechaSolicitud", fechaFin);
}
if(ckServiciosInactivos.isChecked()) {

View File

@ -62,12 +62,12 @@ public class DocumentosExpresosController extends MyGenericForwardComposer{
Date fechaInicio = txtFechaInicio.getValue();
if(fechaInicio != null) {
buscarExpresos.addFilterGreaterOrEqual("FECSOLICITUD", fechaInicio);
buscarExpresos.addFilterGreaterOrEqual("fechaSolicitud", fechaInicio);
}
Date fechaFin = txtFechaFin.getValue();
if(fechaFin != null) {
buscarExpresos.addFilterLessOrEqual("FECSOLICITUD", fechaFin);
buscarExpresos.addFilterLessOrEqual("fechaSolicitud", fechaFin);
}
if(ckServiciosInactivos.isChecked()) {

View File

@ -87,12 +87,12 @@ public class ExpressosPorCotizarController extends MyGenericForwardComposer{
Date fechaInicio = txtFechaInicio.getValue();
if(fechaInicio != null) {
buscarExpresos.addFilterGreaterOrEqual("FECSOLICITUD", fechaInicio);
buscarExpresos.addFilterGreaterOrEqual("fechaSolicitud", fechaInicio);
}
Date fechaFin = txtFechaFin.getValue();
if(fechaFin != null) {
buscarExpresos.addFilterLessOrEqual("FECSOLICITUD", fechaFin);
buscarExpresos.addFilterLessOrEqual("fechaSolicitud", fechaFin);
}
if(ckServiciosInactivos.isChecked()) {

View File

@ -0,0 +1,94 @@
package com.rjconsultores.ventaboletos.web.gui.controladores.expressos;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
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.Messagebox;
import org.zkoss.zul.Paging;
import com.rjconsultores.ventaboletos.entidad.SolicitudExpreso;
import com.rjconsultores.ventaboletos.entidad.TrayectosExpresos;
import com.rjconsultores.ventaboletos.service.SolicitudExpresosService;
import com.rjconsultores.ventaboletos.utilerias.DateUtil;
import com.rjconsultores.ventaboletos.web.utilerias.MyDatebox;
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.HibernateSearchObject;
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.PagedListWrapper;
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderExpresosPorCotizar;
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderInformeViajesOcasionales;
@Controller("informeViajesOcasionalesExpresosController")
@Scope("prototype")
public class InformeViajesOcasionalesExpresosController extends MyGenericForwardComposer{
private static final long serialVersionUID = 1L;
@Autowired
private transient PagedListWrapper<TrayectosExpresos> plwTrayectosExpresos;
private MyDatebox dtInicio;
private MyDatebox dtFim;
private MyListbox expresosList;
private Paging pagingExpresos;
@Override
public void doAfterCompose(Component comp) throws Exception {
super.doAfterCompose(comp);
expresosList.setItemRenderer(new RenderInformeViajesOcasionales());
refreshLista();
}
private void refreshLista() throws InterruptedException {
HibernateSearchObject<TrayectosExpresos> buscarExpresos =
new HibernateSearchObject<TrayectosExpresos>(TrayectosExpresos.class, pagingExpresos.getPageSize());
Date fechaInicio = dtInicio.getValue();
if(fechaInicio != null) {
buscarExpresos.addFilterGreaterOrEqual("solicitudExpresoId.fechaSolicitud", DateUtil.inicioFecha(fechaInicio));
}else {
Messagebox.show(
Labels.getLabel("MSG.Error.dataObrigatoria"),
Labels.getLabel("winInformeViajesOcasionalesExpresos.title"),
Messagebox.OK, Messagebox.ERROR);
return;
}
Date fechaFin = dtFim.getValue();
if(fechaFin != null) {
buscarExpresos.addFilterLessOrEqual("solicitudExpresoId.fechaSolicitud", DateUtil.fimFecha(fechaFin));
}else {
Messagebox.show(
Labels.getLabel("MSG.Error.dataObrigatoria"),
Labels.getLabel("winInformeViajesOcasionalesExpresos.title"),
Messagebox.OK, Messagebox.ERROR);
return;
}
plwTrayectosExpresos.init(buscarExpresos, expresosList, pagingExpresos);
}
public void onClick$btnPesquisa(Event ev) throws InterruptedException {
refreshLista();
}
public void onClick$btnImprimir(Event ev) throws InterruptedException {}
public MyListbox getExpresosList() {
return expresosList;
}
public void setExpresosList(MyListbox expresosList) {
this.expresosList = expresosList;
}
}

View File

@ -57,12 +57,12 @@ private static final long serialVersionUID = 1L;
Date fechaInicio = txtFechaInicio.getValue();
if(fechaInicio != null) {
buscarExpresos.addFilterGreaterOrEqual("FECSOLICITUD", fechaInicio);
buscarExpresos.addFilterGreaterOrEqual("fechaSolicitud", fechaInicio);
}
Date fechaFin = txtFechaFin.getValue();
if(fechaFin != null) {
buscarExpresos.addFilterLessOrEqual("FECSOLICITUD", fechaFin);
buscarExpresos.addFilterLessOrEqual("fechaSolicitud", fechaFin);
}
if(ckServiciosInactivos.isChecked()) {

View File

@ -0,0 +1,25 @@
package com.rjconsultores.ventaboletos.web.utilerias.menu.item.expressos;
import org.zkoss.util.resource.Labels;
import com.rjconsultores.ventaboletos.web.utilerias.PantallaUtileria;
import com.rjconsultores.ventaboletos.web.utilerias.menu.DefaultItemMenuSistema;
public class ItemMenuInformeViajesOcasionales extends DefaultItemMenuSistema {
public ItemMenuInformeViajesOcasionales() {
super("indexController.mniExpressosInformeViajesOcasionales.label");
}
@Override
public String getClaveMenu() {
return "COM.RJCONSULTORES.ADMINISTRACION.GUI.EXPRESSOS.INFORMEVIAJESOCASIONALES";
}
@Override
public void ejecutar() {
PantallaUtileria.openWindow("/gui/expressos/informeViajesOcasionales.zul",
Labels.getLabel("indexController.mniExpressosInformeViajesOcasionales.label"),
getArgs(), desktop);
}
}

View File

@ -367,7 +367,7 @@ expressos.programacionVehiculo=com.rjconsultores.ventaboletos.web.utilerias.menu
expressos.documentos=com.rjconsultores.ventaboletos.web.utilerias.menu.item.expressos.ItemMenuDocumentos
expressos.cumplimientoServicio=com.rjconsultores.ventaboletos.web.utilerias.menu.item.expressos.ItemMenuCumplimientoServicio
expressos.log=com.rjconsultores.ventaboletos.web.utilerias.menu.item.expressos.ItemMenuLog
#expressos.InformeViajesOcasionales=com.rjconsultores.ventaboletos.web.utilerias.menu.item.expressos.ItemMenuInformeViajesOcasionales
expressos.InformeViajesOcasionales=com.rjconsultores.ventaboletos.web.utilerias.menu.item.expressos.ItemMenuInformeViajesOcasionales
#expressos.seguimientoExpresos=com.rjconsultores.ventaboletos.web.utilerias.menu.item.expressos.ItemMenuSeguimientoExpresos
ayuda=com.rjconsultores.ventaboletos.web.utilerias.menu.item.ayuda.MenuAyuda
ayuda.version=com.rjconsultores.ventaboletos.web.utilerias.menu.item.ayuda.ItemMenuVersion

View File

@ -0,0 +1,114 @@
package com.rjconsultores.ventaboletos.web.utilerias.render;
import org.springframework.beans.factory.annotation.Autowired;
import org.zkoss.util.resource.Labels;
import org.zkoss.zul.Listcell;
import org.zkoss.zul.Listitem;
import org.zkoss.zul.ListitemRenderer;
import com.rjconsultores.ventaboletos.entidad.Constante;
import com.rjconsultores.ventaboletos.entidad.SolicitudExpreso;
import com.rjconsultores.ventaboletos.entidad.TrayectosExpresos;
import com.rjconsultores.ventaboletos.entidad.Usuario;
import com.rjconsultores.ventaboletos.service.ConstanteService;
import com.rjconsultores.ventaboletos.service.UsuarioService;
import com.rjconsultores.ventaboletos.utilerias.DateUtil;
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
import com.rjconsultores.ventaboletos.web.utilerias.spring.AppContext;
public class RenderInformeViajesOcasionales implements ListitemRenderer {
public RenderInformeViajesOcasionales() {
super();
}
@Override
public void render(Listitem item, Object data) throws Exception {
TrayectosExpresos expresos = (TrayectosExpresos) data;
Listcell lc = new Listcell(""); //Empresa
lc.setParent(item);
lc = new Listcell(DateUtil.getStringDate(expresos.getSolicitudExpresoId().getFechaSolicitud(), "dd/MM/yyyy")); //Fecha solicitud
lc.setParent(item);
lc = new Listcell(expresos.getSolicitudExpresoId().getSolicitudExpresoId().toString()); //# solicitud
lc.setParent(item);
lc = new Listcell(""); //Agencia contrató
lc.setParent(item);
lc = new Listcell(expresos.getSolicitudExpresoId().getStatusSolicitudExpresoId().toString()); //Estado
lc.setParent(item);
lc = new Listcell(""); //NIT
lc.setParent(item);
lc = new Listcell(""); //Razón social empresa solicitó
lc.setParent(item);
//Forma pgo
ConstanteService constanteService = (ConstanteService)AppContext.getApplicationContext().getBean("constanteService");
Constante constante = constanteService.buscarPorNomeConstante("FORMAPAGOCREDITO_ID");
String pagoCreditoConstante = constante == null ? "" : constante.getValorconstante();
if(expresos.getSolicitudExpresoId().getFormaPagoId() == null || expresos.getSolicitudExpresoId().getFormaPagoId() != Integer.valueOf(pagoCreditoConstante)) {
lc = new Listcell(Labels.getLabel("label.classePagamento.contado"));
lc.setParent(item);
}else {
lc = new Listcell(Labels.getLabel("expresosController.lbl.pagadoCredito"));
lc.setParent(item);
}
lc = new Listcell(expresos.getSolicitudExpresoId().getValorCotizacion().toString()); //Valor expreso
lc.setParent(item);
//Usuario
UsuarioService usuarioService = (UsuarioService)AppContext.getApplicationContext().getBean("usuarioService");
Usuario usuario = usuarioService.obtenerCompletoID(expresos.getUsuarioId());
lc = new Listcell(usuario.getNombUsuarioCompleto());
lc.setParent(item);
lc = new Listcell(expresos.getTrayectoExpresoId().toString()); //ID trayecto
lc.setParent(item);
lc = new Listcell(expresos.getSolicitudExpresoId().getCiudadOrigen().getNombciudad()); //Origen
lc.setParent(item);
lc = new Listcell(expresos.getSolicitudExpresoId().getCiudadDestino().getNombciudad()); //Destino
lc.setParent(item);
lc = new Listcell(""); //Observaciones
lc.setParent(item);
lc = new Listcell(DateUtil.getStringDate(expresos.getSolicitudExpresoId().getFechaHoraIda()), "dd/MM/yyyy hh:mm:ss"); //Fecha salida
lc.setParent(item);
lc = new Listcell(""); //Servicio
lc.setParent(item);
lc = new Listcell(""); //# Despacho
lc.setParent(item);
lc = new Listcell(""); //Inteno
lc.setParent(item);
lc = new Listcell(expresos.getNumPlaca() == null ? "N/A" : expresos.getNumPlaca().toString()); //Placa
lc.setParent(item);
lc = new Listcell(expresos.getSolicitudExpresoId().getCantidadPasajeros() == null ? "N/A" : expresos.getSolicitudExpresoId().getCantidadPasajeros().toString()); //Pasajeros
lc.setParent(item);
lc = new Listcell(expresos.getValorTrayecto() == null ? "N/A" : expresos.getValorTrayecto().toString()); //valor trayecto
lc.setParent(item);
lc = new Listcell(""); //Fecha despacho
lc.setParent(item);
lc = new Listcell(""); //Kilómetros
lc.setParent(item);
item.setAttribute("data", expresos);
}
}

View File

@ -12,8 +12,6 @@ public class RenderLogAuditoria implements ListitemRenderer {
public void render(Listitem lstm, Object o) throws Exception {
LogAuditoria logAuditoria = (LogAuditoria) o;
System.out.println(logAuditoria.toString());
Listcell lc = new Listcell(DateUtil.getStringDate(logAuditoria.getFecmodif(), "dd/MM/yyyy HH:mm"));
lc.setParent(lstm);

View File

@ -7365,21 +7365,31 @@ expressosPorCotizarController.lblAgregarTrayecto.label = Add Trip
expressosPorCotizarController.lblDestino.label = Destination
expressosPorCotizarController.lblOrigen.label = Origin
expressosPorCotizarController.lhAdjuntarCotizacion.label = Attach Quote
expressosPorCotizarController.lhAgenciaContrato.label = Agency that hired
expressosPorCotizarController.lhCantidadPasajeros.label = Number of Passengers
expressosPorCotizarController.lhCantidadVehiculos.label = Vehicle Quantity
expressosPorCotizarController.lhCodigoViaje.label = Trip Code
expressosPorCotizarController.lhEstadiaConductor.label = Driver Stay
expressosPorCotizarController.lhEstado.label = State
expressosPorCotizarController.lhFechaDespacho.label = Run date
expressosPorCotizarController.lhFechaIda.label = Departure date
expressosPorCotizarController.lhFechaRegreso.label = Return Date
expressosPorCotizarController.lhFechaSolicitud.label = Application date
expressosPorCotizarController.lhFluecPlanilla.label = FLUEC - Occasional Return
expressosPorCotizarController.lhFormaPago.label = Method of payment
expressosPorCotizarController.lhIdaRegreso.label = Round trip
expressosPorCotizarController.lhInterno.label = Interno
expressosPorCotizarController.lhKilometros.label = Km
expressosPorCotizarController.lhNit.label = Nit
expressosPorCotizarController.lhNumDespacho.label = # Run
expressosPorCotizarController.lhNumSolicitud.label = # Application
expressosPorCotizarController.lblObservaciones.label = Observaciones
expressosPorCotizarController.lhPlacaVehiculo.label = Plate
expressosPorCotizarController.lhRazonSocial.label = Company Name
expressosPorCotizarController.lhRuta.label = Route
expressosPorCotizarController.lhSitioRecogidaIda.label = Site Pickup Going
expressosPorCotizarController.lhSitioRecogidaRegreso.label = Site Pickup Return
expressosPorCotizarController.lhTipoServicio.label = Service type
expressosPorCotizarController.lhTrayecto.label = Journey
expressosPorCotizarController.lhValorTrayecto.label = Trip Value
expressosPorCotizarCotizarController.lblDesc.label = Quote
@ -7753,6 +7763,8 @@ indexController.mniExportacaoFiscalRMD.label = RMD
indexController.mniExpressosCargaContrato.label = Contract Charge
indexController.mniExpressosCumplimientoServicio.label = Service Compliance
indexController.mniExpressosDocumentos.label = Documents
indexController.mniExpressosInformeViajesOcasionales.label = Occasional Travel Report
indexController.mniExpressosPorCotizar.label = Express to be quoted
indexController.mniExpressosLog.label = Log
indexController.mniExpressosPorCotizar.label = Express to be quoted
indexController.mniExpressosProgramacionVehiculos.label = Vehicle Programming

View File

@ -7371,21 +7371,31 @@ expressosPorCotizarController.lblAgregarTrayecto.label = Agregar Trayecto
expressosPorCotizarController.lblDestino.label = Destino
expressosPorCotizarController.lblOrigen.label = Origen
expressosPorCotizarController.lhAdjuntarCotizacion.label = Adjuntar Cotización
expressosPorCotizarController.lhAgenciaContrato.label = Agencia Contrató
expressosPorCotizarController.lhCantidadPasajeros.label = Cantidad de Pasajeros
expressosPorCotizarController.lhCantidadVehiculos.label = Cantidad Vehículos
expressosPorCotizarController.lhCodigoViaje.label = Código Viaje
expressosPorCotizarController.lhEstadiaConductor.label = Estadia Conductor
expressosPorCotizarController.lhEstado.label = Estado
expressosPorCotizarController.lhFechaDespacho.label = Fecha despacho
expressosPorCotizarController.lhFechaIda.label = Fecha Ida
expressosPorCotizarController.lhFechaRegreso.label = Fecha Regreso
expressosPorCotizarController.lhFechaSolicitud.label = Fecha Solicitud
expressosPorCotizarController.lhFluecPlanilla.label = FLUEC - Planilla Ocasional
expressosPorCotizarController.lhFormaPago.label = Forma pago
expressosPorCotizarController.lhIdaRegreso.label = Ida y Regreso
expressosPorCotizarController.lhInterno.label = Interno
expressosPorCotizarController.lhNit.label = Nit
expressosPorCotizarController.lhKilometros.label = Km
expressosPorCotizarController.lhNumDespacho.label = # Despacho
expressosPorCotizarController.lhNumSolicitud.label = # Solicitud
expressosPorCotizarController.lblObservaciones.label = Observaciones
expressosPorCotizarController.lhPlacaVehiculo.label = Placa
expressosPorCotizarController.lhRazonSocial.label = Razón Social
expressosPorCotizarController.lhRuta.label = Ruta
expressosPorCotizarController.lhSitioRecogidaIda.label = Sitio Recogida Ida
expressosPorCotizarController.lhSitioRecogidaRegreso.label = Sitio Recogida Regreso
expressosPorCotizarController.lhTipoServicio.label = Tipo servicio
expressosPorCotizarController.lhTrayecto.label = Trayecto
expressosPorCotizarController.lhValorTrayecto.label = Valor Trayecto
expressosPorCotizarCotizarController.lblDesc.label = Cotizar
@ -7759,6 +7769,7 @@ indexController.mniExportacaoFiscalRMD.label = RMD
indexController.mniExpressosCargaContrato.label = Carga de Contrato
indexController.mniExpressosCumplimientoServicio.label = Cumplimiento de Servicio
indexController.mniExpressosDocumentos.label = Documentos
indexController.mniExpressosInformeViajesOcasionales.label = Informe de Viajes Ocasionales
indexController.mniExpressosLog.label = Log
indexController.mniExpressosPorCotizar.label = Expresos por cotizar
indexController.mniExpressosProgramacionVehiculos.label = Programación de Vehículos

View File

@ -7365,21 +7365,31 @@ expressosPorCotizarController.lblAgregarTrayecto.label = Ajouter un voyage
expressosPorCotizarController.lblDestino.label = Destination
expressosPorCotizarController.lblOrigen.label = Origine
expressosPorCotizarController.lhAdjuntarCotizacion.label = Joindre un devis
expressosPorCotizarController.lhAgenciaContrato.label = Agence qui a embauché
expressosPorCotizarController.lhCantidadPasajeros.label = Nombre de passagers
expressosPorCotizarController.lhCantidadVehiculos.label = Quantité de véhicule
expressosPorCotizarController.lhCodigoViaje.label = Code de voyage
expressosPorCotizarController.lhEstadiaConductor.label = Séjour chauffeur
expressosPorCotizarController.lhEstado.label = État
expressosPorCotizarController.lhFechaDespacho.label = Date d'exécution
expressosPorCotizarController.lhFechaIda.label = Date de départ
expressosPorCotizarController.lhFechaRegreso.label = Date de retour
expressosPorCotizarController.lhFechaSolicitud.label = Date de la demande
expressosPorCotizarController.lhFluecPlanilla.label = FLUEC - Retour occasionnel
expressosPorCotizarController.lhFormaPago.label = Mode de paiement
expressosPorCotizarController.lhIdaRegreso.label = Aller-retour
expressosPorCotizarController.lhInterno.label = Interno
expressosPorCotizarController.lhKilometros.label = Km
expressosPorCotizarController.lhNit.label = Nit
expressosPorCotizarController.lhNumDespacho.label = # d'exécution
expressosPorCotizarController.lhNumSolicitud.label = # Application
expressosPorCotizarController.lblObservaciones.label = Observaciones
expressosPorCotizarController.lhPlacaVehiculo.label = Plaque
expressosPorCotizarController.lhRazonSocial.label = Nom de l'entreprise
expressosPorCotizarController.lhRuta.label = Itinéraire
expressosPorCotizarController.lhSitioRecogidaIda.label = Site de ramassage aller simple
expressosPorCotizarController.lhSitioRecogidaRegreso.label = Retour de ramassage sur site
expressosPorCotizarController.lhTipoServicio.label = Type de prestation
expressosPorCotizarController.lhTrayecto.label = Trajet
expressosPorCotizarController.lhValorTrayecto.label = Valeur du voyage
expressosPorCotizarCotizarController.lblDesc.label = Citation
@ -7753,6 +7763,8 @@ indexController.mniExportacaoFiscalRMD.label = RMD
indexController.mniExpressosCargaContrato.label = Frais de contrat
indexController.mniExpressosCumplimientoServicio.label = Conformité des services
indexController.mniExpressosDocumentos.label = Documents
indexController.mniExpressosInformeViajesOcasionales.label = Rapport de voyage occasionnel
indexController.mniExpressosPorCotizar.label = Express à devis
indexController.mniExpressosLog.label = Log
indexController.mniExpressosPorCotizar.label = Express à devis
indexController.mniExpressosProgramacionVehiculos.label = Programmation du véhicule

View File

@ -7350,20 +7350,30 @@ expressosPorCotizarController.lblAgregarTrayecto.label = Adicionar viagem
expressosPorCotizarController.lblDestino.label = Destino
expressosPorCotizarController.lblOrigen.label = Origem
expressosPorCotizarController.lhAdjuntarCotizacion.label = Anexar orçamento
expressosPorCotizarController.lhAgenciaContrato.label = Agência que contratou
expressosPorCotizarController.lhCantidadPasajeros.label = Número de passageiros
expressosPorCotizarController.lhCantidadVehiculos.label = Quantidade de veículos
expressosPorCotizarController.lhCodigoViaje.label = Código de viagem
expressosPorCotizarController.lhEstadiaConductor.label = Estadia do motorista
expressosPorCotizarController.lhFechaDespacho.label = Data Execução
expressosPorCotizarController.lhFechaIda.label = Data de partida
expressosPorCotizarController.lhFechaRegreso.label = Data de retorno
expressosPorCotizarController.lhFechaSolicitud.label = Data da inscrição
expressosPorCotizarController.lhFluecPlanilla.label = FLUEC - Retorno Ocasional
expressosPorCotizarController.lhFormaPago.label = Método de pagamento
expressosPorCotizarController.lhIdaRegreso.label = Ida e volta
expressosPorCotizarController.lhInterno.label = Interno
expressosPorCotizarController.lhKilometros.label = Km
expressosPorCotizarController.lhNit.label = Nit
expressosPorCotizarController.lhNumDespacho.label = # Execução
expressosPorCotizarController.lhNumSolicitud.label = # Aplicativo
expressosPorCotizarController.lblObservaciones.label = Observaciones
expressosPorCotizarController.lhPlacaVehiculo.label = Placa
expressosPorCotizarController.lhRazonSocial.label = Nome da empresa
expressosPorCotizarController.lhRuta.label = Rota
expressosPorCotizarController.lhSitioRecogidaIda.label = Local de coleta unidirecional
expressosPorCotizarController.lhSitioRecogidaRegreso.label = Devolução de retirada no local
expressosPorCotizarController.lhTipoServicio.label = Tipo de serviço
expressosPorCotizarController.lhTrayecto.label = trajetória
expressosPorCotizarController.lhValorTrayecto.label = Valor da viagem
expressosPorCotizarCotizarController.lblDesc.label = Cotação
@ -7736,6 +7746,8 @@ indexController.mniExportacaoFiscalECF.label = ECF
indexController.mniExportacaoFiscalRMD.label = RMD
indexController.mniExpressosCargaContrato.label = Taxa de contrato
indexController.mniExpressosDocumentos.label = Documentos
indexController.mniExpressosInformeViajesOcasionales.label = Relatório de viagens ocasionais
indexController.mniExpressosPorCotizar.label = Expresso a ser cotado
indexController.mniExpressosLog.label = Log
indexController.mniExpressosPorCotizar.label = Expresso a ser cotado
indexController.mniExpressosProgramacionVehiculos.label = Programação de veículos

View File

@ -0,0 +1,97 @@
<?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="winInformeViajesOcasionalesExpresos"?>
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
<zk xmlns="http://www.zkoss.org/2005/zul">
<window id="winInformeViajesOcasionalesExpresos" title="${c:l('winInformeViajesOcasionalesExpresos.title')}"
border="normal" height="484px" width="1200px" position="center" mode="overlapped"
apply="${informeViajesOcasionalesExpresosController}">
<toolbar>
<button id="btnCerrar" onClick="winInformeViajesOcasionalesExpresos.detach()" image="/gui/img/exit.png" width="35px"
tooltiptext="${c:l('busquedaLogAuditoriaController.btnCerrar.tooltiptext')}"/>
</toolbar>
<grid fixedLayout="true">
<columns>
<column width="17%" />
<column width="35%" />
<column width="13%" />
<column width="35%" />
</columns>
<rows>
<row>
<label
value="${c:l('lb.dataIni.value')}" />
<datebox id="dtInicio" width="40%" mold="rounded"
use="com.rjconsultores.ventaboletos.web.utilerias.MyDatebox"
format="dd/MM/yyyy" maxlength="10" />
<label
value="${c:l('lb.dataFin.value')}" />
<datebox id="dtFim" width="40%" mold="rounded"
use="com.rjconsultores.ventaboletos.web.utilerias.MyDatebox"
format="dd/MM/yyyy" maxlength="10" />
</row>
</rows>
</grid>
<toolbar>
<button id="btnPesquisa" image="/gui/img/find.png"
label="${c:l('tooltiptext.btnPesquisa')}"/>
<button id="btnImprimir" image="/gui/img/pdf.png"
label="${c:l('tooltiptext.btnImprimir')}"/>
</toolbar>
<paging id="pagingExpresos" pageSize="20" />
<listbox id="expresosList" use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
multiple="false" height="50%" vflex="true">
<listhead sizable="true">
<listheader image="/gui/img/create_doc.gif"
label="${c:l('expressosPorCotizarEmpresaController.lblDesc.label')}" width="110px"/>
<listheader image="/gui/img/create_doc.gif"
label="${c:l('expressosPorCotizarController.lhFechaSolicitud.label')}" width="120px"/>
<listheader image="/gui/img/create_doc.gif"
label="${c:l('expressosPorCotizarController.lhNumSolicitud.label')}" width="100px"/>
<listheader image="/gui/img/create_doc.gif"
label="${c:l('expressosPorCotizarController.lhAgenciaContrato.label')}" width="130px"/>
<listheader image="/gui/img/create_doc.gif"
label="${c:l('expressosPorCotizarController.lhEstado.label')}" width="110px"/>
<listheader image="/gui/img/create_doc.gif"
label="${c:l('expressosPorCotizarController.lhNit.label')}" width="100px"/>
<listheader image="/gui/img/create_doc.gif"
label="${c:l('expressosPorCotizarController.lhRazonSocial.label')}" width="130px"/>
<listheader image="/gui/img/create_doc.gif"
label="${c:l('expressosPorCotizarController.lhFormaPago.label')}" width="120px"/>
<listheader image="/gui/img/create_doc.gif"
label="${c:l('expressosPorCotizarController.lhValorTrayecto.label')}" width="120px"/>
<listheader image="/gui/img/create_doc.gif"
label="${c:l('auditoriaController.lhUsuario.label')}" width="120px"/>
<listheader image="/gui/img/create_doc.gif"
label="${c:l('expressosPorCotizarController.lhTrayecto.label')}" width="120px"/>
<listheader image="/gui/img/create_doc.gif"
label="${c:l('expressosPorCotizarController.lblOrigen.label')}" width="120px"/>
<listheader image="/gui/img/create_doc.gif"
label="${c:l('expressosPorCotizarController.lblDestino.label')}" width="120px"/>
<listheader image="/gui/img/create_doc.gif"
label="${c:l('expressosPorCotizarController.lblObservaciones.label')}" width="240px"/>
<listheader image="/gui/img/create_doc.gif"
label="${c:l('expressosPorCotizarController.lhFechaIda.label')}" width="120px"/>
<listheader image="/gui/img/create_doc.gif"
label="${c:l('expressosPorCotizarController.lhTipoServicio.label')}" width="120px"/>
<listheader image="/gui/img/create_doc.gif"
label="${c:l('expressosPorCotizarController.lhNumDespacho.label')}" width="120px"/>
<listheader image="/gui/img/create_doc.gif"
label="${c:l('expressosPorCotizarController.lhInterno.label')}" width="100px"/>
<listheader image="/gui/img/create_doc.gif"
label="${c:l('expressosPorCotizarController.lhPlacaVehiculo.label')}" width="100px"/>
<listheader image="/gui/img/create_doc.gif"
label="${c:l('expressosPorCotizarController.lhCantidadPasajeros.label')}" width="150px"/>
<listheader image="/gui/img/create_doc.gif"
label="${c:l('expressosPorCotizarController.lhValorTrayecto.label')}" width="150px"/>
<listheader image="/gui/img/create_doc.gif"
label="${c:l('expressosPorCotizarController.lhFechaDespacho.label')}" width="130px"/>
<listheader image="/gui/img/create_doc.gif"
label="${c:l('expressosPorCotizarController.lhKilometros.label')}" width="100px"/>
</listhead>
</listbox>
</window>
</zk>