Se agrega funcionalidad de carga de placa y carga de FUEC#AL-4551
commit
024eddb26d
10
pom.xml
10
pom.xml
|
@ -4,12 +4,12 @@
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>br.com.rjconsultores</groupId>
|
<groupId>br.com.rjconsultores</groupId>
|
||||||
<artifactId>ventaboletosadm</artifactId>
|
<artifactId>ventaboletosadm</artifactId>
|
||||||
<version>1.116.4</version>
|
<version>1.119.3</version>
|
||||||
<packaging>war</packaging>
|
<packaging>war</packaging>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<modelWeb.version>1.88.3</modelWeb.version>
|
<modelWeb.version>1.91.0</modelWeb.version>
|
||||||
<flyway.version>1.76.1</flyway.version>
|
<flyway.version>1.78.1</flyway.version>
|
||||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
|
@ -82,7 +82,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>br.com.rjconsultores</groupId>
|
<groupId>br.com.rjconsultores</groupId>
|
||||||
<artifactId>IntegracaoReceitaDespesa</artifactId>
|
<artifactId>IntegracaoReceitaDespesa</artifactId>
|
||||||
<version>1.6.0</version>
|
<version>1.6.1</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
|
@ -126,7 +126,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>br.com.rjconsultores</groupId>
|
<groupId>br.com.rjconsultores</groupId>
|
||||||
<artifactId>GeneradorBoletosCNAB</artifactId>
|
<artifactId>GeneradorBoletosCNAB</artifactId>
|
||||||
<version>1.7.1</version>
|
<version>1.8.0</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|
Binary file not shown.
|
@ -376,7 +376,7 @@
|
||||||
</band>
|
</band>
|
||||||
</pageHeader>
|
</pageHeader>
|
||||||
<columnHeader>
|
<columnHeader>
|
||||||
<band height="13">
|
<band height="20">
|
||||||
<line>
|
<line>
|
||||||
<reportElement uuid="04a75f17-3686-484b-be43-7b7e22e9def7" x="0" y="1" width="554" height="1"/>
|
<reportElement uuid="04a75f17-3686-484b-be43-7b7e22e9def7" x="0" y="1" width="554" height="1"/>
|
||||||
<graphicElement>
|
<graphicElement>
|
||||||
|
@ -384,28 +384,28 @@
|
||||||
</graphicElement>
|
</graphicElement>
|
||||||
</line>
|
</line>
|
||||||
<staticText>
|
<staticText>
|
||||||
<reportElement uuid="9c579f27-ee14-4804-b73d-64994a6e41ec" x="0" y="1" width="31" height="11" isPrintWhenDetailOverflows="true"/>
|
<reportElement uuid="9c579f27-ee14-4804-b73d-64994a6e41ec" x="0" y="6" width="31" height="11" isPrintWhenDetailOverflows="true"/>
|
||||||
<textElement>
|
<textElement>
|
||||||
<font size="7"/>
|
<font size="7"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<text><![CDATA[Prefixo]]></text>
|
<text><![CDATA[Prefixo]]></text>
|
||||||
</staticText>
|
</staticText>
|
||||||
<staticText>
|
<staticText>
|
||||||
<reportElement uuid="7b8a8f38-e513-4a8c-a82b-a9c6ffd21f6f" x="31" y="1" width="61" height="11" isPrintWhenDetailOverflows="true"/>
|
<reportElement uuid="7b8a8f38-e513-4a8c-a82b-a9c6ffd21f6f" x="31" y="6" width="61" height="11" isPrintWhenDetailOverflows="true"/>
|
||||||
<textElement>
|
<textElement>
|
||||||
<font size="7"/>
|
<font size="7"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<text><![CDATA[Origem]]></text>
|
<text><![CDATA[Origem]]></text>
|
||||||
</staticText>
|
</staticText>
|
||||||
<staticText>
|
<staticText>
|
||||||
<reportElement uuid="4f8fcbb3-73e7-4b15-9687-30ff12bb1526" x="93" y="1" width="61" height="11" isPrintWhenDetailOverflows="true"/>
|
<reportElement uuid="4f8fcbb3-73e7-4b15-9687-30ff12bb1526" x="92" y="6" width="61" height="11" isPrintWhenDetailOverflows="true"/>
|
||||||
<textElement>
|
<textElement>
|
||||||
<font size="7"/>
|
<font size="7"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<text><![CDATA[Destino]]></text>
|
<text><![CDATA[Destino]]></text>
|
||||||
</staticText>
|
</staticText>
|
||||||
<staticText>
|
<staticText>
|
||||||
<reportElement uuid="7b817589-f754-49f1-bf53-856be52946fb" mode="Transparent" x="186" y="1" width="25" height="11" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF">
|
<reportElement uuid="7b817589-f754-49f1-bf53-856be52946fb" mode="Transparent" x="187" y="6" width="24" height="11" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF">
|
||||||
<printWhenExpression><![CDATA[$P{IS_TX_EMBARQUE}]]></printWhenExpression>
|
<printWhenExpression><![CDATA[$P{IS_TX_EMBARQUE}]]></printWhenExpression>
|
||||||
</reportElement>
|
</reportElement>
|
||||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
|
@ -415,7 +415,7 @@
|
||||||
<text><![CDATA[Emb.]]></text>
|
<text><![CDATA[Emb.]]></text>
|
||||||
</staticText>
|
</staticText>
|
||||||
<staticText>
|
<staticText>
|
||||||
<reportElement uuid="93a5880a-7547-4e53-85f4-09a6c22d5699" mode="Transparent" x="211" y="1" width="25" height="11" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF">
|
<reportElement uuid="93a5880a-7547-4e53-85f4-09a6c22d5699" mode="Transparent" x="211" y="6" width="25" height="11" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF">
|
||||||
<printWhenExpression><![CDATA[$P{IS_PEDAGIO}]]></printWhenExpression>
|
<printWhenExpression><![CDATA[$P{IS_PEDAGIO}]]></printWhenExpression>
|
||||||
</reportElement>
|
</reportElement>
|
||||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
|
@ -425,7 +425,7 @@
|
||||||
<text><![CDATA[Ped.]]></text>
|
<text><![CDATA[Ped.]]></text>
|
||||||
</staticText>
|
</staticText>
|
||||||
<staticText>
|
<staticText>
|
||||||
<reportElement uuid="1d4f5650-a014-468d-a9b2-c58887492ace" mode="Transparent" x="236" y="1" width="25" height="11" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF">
|
<reportElement uuid="1d4f5650-a014-468d-a9b2-c58887492ace" mode="Transparent" x="236" y="6" width="25" height="11" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF">
|
||||||
<printWhenExpression><![CDATA[$P{IS_SEGURO}]]></printWhenExpression>
|
<printWhenExpression><![CDATA[$P{IS_SEGURO}]]></printWhenExpression>
|
||||||
</reportElement>
|
</reportElement>
|
||||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
|
@ -435,7 +435,7 @@
|
||||||
<text><![CDATA[Seg.]]></text>
|
<text><![CDATA[Seg.]]></text>
|
||||||
</staticText>
|
</staticText>
|
||||||
<staticText>
|
<staticText>
|
||||||
<reportElement uuid="9b724ccc-0e90-4271-9e51-54128161d074" mode="Transparent" x="341" y="1" width="30" height="11" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF">
|
<reportElement uuid="9b724ccc-0e90-4271-9e51-54128161d074" mode="Transparent" x="341" y="6" width="30" height="11" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF">
|
||||||
<printWhenExpression><![CDATA[$P{IS_TX_EMBARQUE}]]></printWhenExpression>
|
<printWhenExpression><![CDATA[$P{IS_TX_EMBARQUE}]]></printWhenExpression>
|
||||||
</reportElement>
|
</reportElement>
|
||||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
|
@ -445,7 +445,7 @@
|
||||||
<text><![CDATA[T. Emb.]]></text>
|
<text><![CDATA[T. Emb.]]></text>
|
||||||
</staticText>
|
</staticText>
|
||||||
<staticText>
|
<staticText>
|
||||||
<reportElement uuid="88be8133-60fd-45a5-9c81-363647bb3002" mode="Transparent" x="371" y="1" width="30" height="11" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF">
|
<reportElement uuid="88be8133-60fd-45a5-9c81-363647bb3002" mode="Transparent" x="371" y="6" width="30" height="11" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF">
|
||||||
<printWhenExpression><![CDATA[$P{IS_PEDAGIO}]]></printWhenExpression>
|
<printWhenExpression><![CDATA[$P{IS_PEDAGIO}]]></printWhenExpression>
|
||||||
</reportElement>
|
</reportElement>
|
||||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
|
@ -455,7 +455,7 @@
|
||||||
<text><![CDATA[T. Ped.]]></text>
|
<text><![CDATA[T. Ped.]]></text>
|
||||||
</staticText>
|
</staticText>
|
||||||
<staticText>
|
<staticText>
|
||||||
<reportElement uuid="bb5f610e-adc6-4f73-ba16-11ce1ec169a3" mode="Transparent" x="401" y="1" width="30" height="11" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF">
|
<reportElement uuid="bb5f610e-adc6-4f73-ba16-11ce1ec169a3" mode="Transparent" x="401" y="6" width="30" height="11" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF">
|
||||||
<printWhenExpression><![CDATA[$P{IS_SEGURO}]]></printWhenExpression>
|
<printWhenExpression><![CDATA[$P{IS_SEGURO}]]></printWhenExpression>
|
||||||
</reportElement>
|
</reportElement>
|
||||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
|
@ -465,7 +465,7 @@
|
||||||
<text><![CDATA[T. Seg.]]></text>
|
<text><![CDATA[T. Seg.]]></text>
|
||||||
</staticText>
|
</staticText>
|
||||||
<staticText>
|
<staticText>
|
||||||
<reportElement uuid="c41834a6-5ca0-4bba-a5ac-0cc2dd7a35b5" mode="Transparent" x="261" y="1" width="25" height="11" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF">
|
<reportElement uuid="c41834a6-5ca0-4bba-a5ac-0cc2dd7a35b5" mode="Transparent" x="261" y="6" width="25" height="11" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF">
|
||||||
<printWhenExpression><![CDATA[$P{IS_TX_EMBARQUE}]]></printWhenExpression>
|
<printWhenExpression><![CDATA[$P{IS_TX_EMBARQUE}]]></printWhenExpression>
|
||||||
</reportElement>
|
</reportElement>
|
||||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
|
@ -475,7 +475,7 @@
|
||||||
<text><![CDATA[Q. Emb]]></text>
|
<text><![CDATA[Q. Emb]]></text>
|
||||||
</staticText>
|
</staticText>
|
||||||
<staticText>
|
<staticText>
|
||||||
<reportElement uuid="88257609-1874-4558-b57a-bc6f811f7896" mode="Transparent" x="286" y="1" width="30" height="11" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF">
|
<reportElement uuid="88257609-1874-4558-b57a-bc6f811f7896" mode="Transparent" x="286" y="6" width="30" height="11" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF">
|
||||||
<printWhenExpression><![CDATA[$P{IS_PEDAGIO}]]></printWhenExpression>
|
<printWhenExpression><![CDATA[$P{IS_PEDAGIO}]]></printWhenExpression>
|
||||||
</reportElement>
|
</reportElement>
|
||||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
|
@ -485,7 +485,7 @@
|
||||||
<text><![CDATA[Q. Ped]]></text>
|
<text><![CDATA[Q. Ped]]></text>
|
||||||
</staticText>
|
</staticText>
|
||||||
<staticText>
|
<staticText>
|
||||||
<reportElement uuid="276a9b95-f7ce-44e7-a3a9-65f7fd6944fd" mode="Transparent" x="316" y="1" width="25" height="11" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF">
|
<reportElement uuid="276a9b95-f7ce-44e7-a3a9-65f7fd6944fd" mode="Transparent" x="316" y="6" width="25" height="11" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF">
|
||||||
<printWhenExpression><![CDATA[$P{IS_SEGURO}]]></printWhenExpression>
|
<printWhenExpression><![CDATA[$P{IS_SEGURO}]]></printWhenExpression>
|
||||||
</reportElement>
|
</reportElement>
|
||||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
|
@ -495,7 +495,7 @@
|
||||||
<text><![CDATA[Q. Seg]]></text>
|
<text><![CDATA[Q. Seg]]></text>
|
||||||
</staticText>
|
</staticText>
|
||||||
<staticText>
|
<staticText>
|
||||||
<reportElement uuid="b5fde6f7-0dce-4379-bd51-9ca891f2ee64" mode="Transparent" x="433" y="1" width="27" height="11" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF">
|
<reportElement uuid="b5fde6f7-0dce-4379-bd51-9ca891f2ee64" mode="Transparent" x="433" y="6" width="27" height="11" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF">
|
||||||
<printWhenExpression><![CDATA[$P{IS_SEGUROOPCIONAL}]]></printWhenExpression>
|
<printWhenExpression><![CDATA[$P{IS_SEGUROOPCIONAL}]]></printWhenExpression>
|
||||||
</reportElement>
|
</reportElement>
|
||||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
|
@ -505,7 +505,7 @@
|
||||||
<text><![CDATA[Q. SO.C]]></text>
|
<text><![CDATA[Q. SO.C]]></text>
|
||||||
</staticText>
|
</staticText>
|
||||||
<staticText>
|
<staticText>
|
||||||
<reportElement uuid="8234630e-a75c-41eb-8bdf-5f4741e30a18" mode="Transparent" x="461" y="1" width="33" height="11" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF">
|
<reportElement uuid="8234630e-a75c-41eb-8bdf-5f4741e30a18" mode="Transparent" x="461" y="6" width="33" height="11" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF">
|
||||||
<printWhenExpression><![CDATA[$P{IS_SEGUROOPCIONAL}]]></printWhenExpression>
|
<printWhenExpression><![CDATA[$P{IS_SEGUROOPCIONAL}]]></printWhenExpression>
|
||||||
</reportElement>
|
</reportElement>
|
||||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
|
@ -515,7 +515,7 @@
|
||||||
<text><![CDATA[T. SO.C]]></text>
|
<text><![CDATA[T. SO.C]]></text>
|
||||||
</staticText>
|
</staticText>
|
||||||
<staticText>
|
<staticText>
|
||||||
<reportElement uuid="8ec41c30-637d-47bf-9034-7bf2325a340c" mode="Transparent" x="495" y="1" width="25" height="11" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF">
|
<reportElement uuid="8ec41c30-637d-47bf-9034-7bf2325a340c" mode="Transparent" x="495" y="6" width="25" height="11" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF">
|
||||||
<printWhenExpression><![CDATA[$P{IS_SEGUROOPCIONAL}]]></printWhenExpression>
|
<printWhenExpression><![CDATA[$P{IS_SEGUROOPCIONAL}]]></printWhenExpression>
|
||||||
</reportElement>
|
</reportElement>
|
||||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
|
@ -525,7 +525,7 @@
|
||||||
<text><![CDATA[Q. SO]]></text>
|
<text><![CDATA[Q. SO]]></text>
|
||||||
</staticText>
|
</staticText>
|
||||||
<staticText>
|
<staticText>
|
||||||
<reportElement uuid="24525295-120f-4704-bc9a-ea2fdd548246" mode="Transparent" x="520" y="1" width="34" height="11" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF">
|
<reportElement uuid="24525295-120f-4704-bc9a-ea2fdd548246" mode="Transparent" x="520" y="6" width="34" height="11" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF">
|
||||||
<printWhenExpression><![CDATA[$P{IS_SEGUROOPCIONAL}]]></printWhenExpression>
|
<printWhenExpression><![CDATA[$P{IS_SEGUROOPCIONAL}]]></printWhenExpression>
|
||||||
</reportElement>
|
</reportElement>
|
||||||
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
|
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
|
@ -535,12 +535,12 @@
|
||||||
<text><![CDATA[T. SO]]></text>
|
<text><![CDATA[T. SO]]></text>
|
||||||
</staticText>
|
</staticText>
|
||||||
<staticText>
|
<staticText>
|
||||||
<reportElement uuid="8f6976c6-bd48-447f-a07f-f6bbbc33b8f6" mode="Transparent" x="154" y="1" width="32" height="11" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
|
<reportElement uuid="8f6976c6-bd48-447f-a07f-f6bbbc33b8f6" stretchType="RelativeToTallestObject" mode="Transparent" x="153" y="1" width="34" height="19" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||||
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
<paragraph lineSpacing="Single"/>
|
<paragraph lineSpacing="Single"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<text><![CDATA[Data Emi.]]></text>
|
<text><![CDATA[Data Emissão]]></text>
|
||||||
</staticText>
|
</staticText>
|
||||||
</band>
|
</band>
|
||||||
</columnHeader>
|
</columnHeader>
|
||||||
|
@ -549,115 +549,149 @@
|
||||||
<textField>
|
<textField>
|
||||||
<reportElement uuid="b12cbc2b-3eac-4c2c-b94c-cac2e746b2c2" x="0" y="1" width="31" height="11"/>
|
<reportElement uuid="b12cbc2b-3eac-4c2c-b94c-cac2e746b2c2" x="0" y="1" width="31" height="11"/>
|
||||||
<box rightPadding="5"/>
|
<box rightPadding="5"/>
|
||||||
<textElement/>
|
<textElement>
|
||||||
|
<font size="5"/>
|
||||||
|
</textElement>
|
||||||
<textFieldExpression><![CDATA[$F{PREFIXO}]]></textFieldExpression>
|
<textFieldExpression><![CDATA[$F{PREFIXO}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField>
|
<textField>
|
||||||
<reportElement uuid="d19cff45-ad13-4a6b-b6f3-3e871a6d8d58" x="93" y="1" width="61" height="11"/>
|
<reportElement uuid="d19cff45-ad13-4a6b-b6f3-3e871a6d8d58" x="92" y="1" width="61" height="11"/>
|
||||||
<box rightPadding="5"/>
|
<box rightPadding="5"/>
|
||||||
<textElement/>
|
<textElement>
|
||||||
|
<font size="5"/>
|
||||||
|
</textElement>
|
||||||
<textFieldExpression><![CDATA[$F{CIDADE_DESTINO}]]></textFieldExpression>
|
<textFieldExpression><![CDATA[$F{CIDADE_DESTINO}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField>
|
<textField>
|
||||||
<reportElement uuid="f868a599-c0bb-4187-97b6-7681b753abbf" x="31" y="1" width="61" height="11"/>
|
<reportElement uuid="f868a599-c0bb-4187-97b6-7681b753abbf" x="31" y="1" width="61" height="11"/>
|
||||||
<box rightPadding="5"/>
|
<box rightPadding="5"/>
|
||||||
<textElement/>
|
<textElement>
|
||||||
|
<font size="5"/>
|
||||||
|
</textElement>
|
||||||
<textFieldExpression><![CDATA[$F{CIDADE_ORIGEM}]]></textFieldExpression>
|
<textFieldExpression><![CDATA[$F{CIDADE_ORIGEM}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField pattern="#,##0.00">
|
<textField pattern="#,##0.00">
|
||||||
<reportElement uuid="6454beed-fb72-4aa5-8bff-7eb4ea6c26ba" x="186" y="1" width="25" height="11">
|
<reportElement uuid="6454beed-fb72-4aa5-8bff-7eb4ea6c26ba" x="187" y="1" width="24" height="11">
|
||||||
<printWhenExpression><![CDATA[$P{IS_TX_EMBARQUE}]]></printWhenExpression>
|
<printWhenExpression><![CDATA[$P{IS_TX_EMBARQUE}]]></printWhenExpression>
|
||||||
</reportElement>
|
</reportElement>
|
||||||
<textElement textAlignment="Right" markup="none"/>
|
<textElement textAlignment="Right" markup="none">
|
||||||
|
<font size="5"/>
|
||||||
|
</textElement>
|
||||||
<textFieldExpression><![CDATA[$F{IMPORTETAXAEMBARQUE}]]></textFieldExpression>
|
<textFieldExpression><![CDATA[$F{IMPORTETAXAEMBARQUE}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField pattern="#,##0.00">
|
<textField pattern="#,##0.00">
|
||||||
<reportElement uuid="1242bccb-ce44-47d6-ac13-6f4df97f707e" x="211" y="1" width="25" height="11">
|
<reportElement uuid="1242bccb-ce44-47d6-ac13-6f4df97f707e" x="211" y="1" width="25" height="11">
|
||||||
<printWhenExpression><![CDATA[$P{IS_PEDAGIO}]]></printWhenExpression>
|
<printWhenExpression><![CDATA[$P{IS_PEDAGIO}]]></printWhenExpression>
|
||||||
</reportElement>
|
</reportElement>
|
||||||
<textElement textAlignment="Right"/>
|
<textElement textAlignment="Right">
|
||||||
|
<font size="5"/>
|
||||||
|
</textElement>
|
||||||
<textFieldExpression><![CDATA[$F{IMPORTEPEDAGIO}]]></textFieldExpression>
|
<textFieldExpression><![CDATA[$F{IMPORTEPEDAGIO}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField pattern="#,##0.00">
|
<textField pattern="#,##0.00">
|
||||||
<reportElement uuid="2184d556-1501-4525-8d09-510f9d798b86" x="236" y="1" width="25" height="11">
|
<reportElement uuid="2184d556-1501-4525-8d09-510f9d798b86" x="236" y="1" width="25" height="11">
|
||||||
<printWhenExpression><![CDATA[$P{IS_SEGURO}]]></printWhenExpression>
|
<printWhenExpression><![CDATA[$P{IS_SEGURO}]]></printWhenExpression>
|
||||||
</reportElement>
|
</reportElement>
|
||||||
<textElement textAlignment="Right"/>
|
<textElement textAlignment="Right">
|
||||||
|
<font size="5"/>
|
||||||
|
</textElement>
|
||||||
<textFieldExpression><![CDATA[$F{IMPORTESEGURO}]]></textFieldExpression>
|
<textFieldExpression><![CDATA[$F{IMPORTESEGURO}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField pattern="#,##0.00">
|
<textField pattern="#,##0.00">
|
||||||
<reportElement uuid="58c1e14e-9c44-4e34-8b57-fbb6af384ce3" x="341" y="1" width="30" height="11">
|
<reportElement uuid="58c1e14e-9c44-4e34-8b57-fbb6af384ce3" x="341" y="1" width="30" height="11">
|
||||||
<printWhenExpression><![CDATA[$P{IS_TX_EMBARQUE}]]></printWhenExpression>
|
<printWhenExpression><![CDATA[$P{IS_TX_EMBARQUE}]]></printWhenExpression>
|
||||||
</reportElement>
|
</reportElement>
|
||||||
<textElement textAlignment="Right"/>
|
<textElement textAlignment="Right">
|
||||||
|
<font size="5"/>
|
||||||
|
</textElement>
|
||||||
<textFieldExpression><![CDATA[$F{TOTAL_EMBARQUE}]]></textFieldExpression>
|
<textFieldExpression><![CDATA[$F{TOTAL_EMBARQUE}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField pattern="#,##0.00">
|
<textField pattern="#,##0.00">
|
||||||
<reportElement uuid="05426ccc-ff54-4381-8406-ae0c4290a54b" x="371" y="1" width="30" height="11">
|
<reportElement uuid="05426ccc-ff54-4381-8406-ae0c4290a54b" x="371" y="1" width="30" height="11">
|
||||||
<printWhenExpression><![CDATA[$P{IS_PEDAGIO}]]></printWhenExpression>
|
<printWhenExpression><![CDATA[$P{IS_PEDAGIO}]]></printWhenExpression>
|
||||||
</reportElement>
|
</reportElement>
|
||||||
<textElement textAlignment="Right"/>
|
<textElement textAlignment="Right">
|
||||||
|
<font size="5"/>
|
||||||
|
</textElement>
|
||||||
<textFieldExpression><![CDATA[$F{TOTAL_PEDAGIO}]]></textFieldExpression>
|
<textFieldExpression><![CDATA[$F{TOTAL_PEDAGIO}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField pattern="#,##0.00">
|
<textField pattern="#,##0.00">
|
||||||
<reportElement uuid="8a365def-0ad3-48e8-b942-5d00f5d74a21" x="401" y="1" width="30" height="11">
|
<reportElement uuid="8a365def-0ad3-48e8-b942-5d00f5d74a21" x="401" y="1" width="30" height="11">
|
||||||
<printWhenExpression><![CDATA[$P{IS_SEGURO}]]></printWhenExpression>
|
<printWhenExpression><![CDATA[$P{IS_SEGURO}]]></printWhenExpression>
|
||||||
</reportElement>
|
</reportElement>
|
||||||
<textElement textAlignment="Right"/>
|
<textElement textAlignment="Right">
|
||||||
|
<font size="5"/>
|
||||||
|
</textElement>
|
||||||
<textFieldExpression><![CDATA[$F{TOTAL_SEGURO}]]></textFieldExpression>
|
<textFieldExpression><![CDATA[$F{TOTAL_SEGURO}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField>
|
<textField>
|
||||||
<reportElement uuid="7059069b-3c22-416a-afc1-d05473a3d429" x="261" y="1" width="25" height="11">
|
<reportElement uuid="7059069b-3c22-416a-afc1-d05473a3d429" x="261" y="1" width="25" height="11">
|
||||||
<printWhenExpression><![CDATA[$P{IS_TX_EMBARQUE}]]></printWhenExpression>
|
<printWhenExpression><![CDATA[$P{IS_TX_EMBARQUE}]]></printWhenExpression>
|
||||||
</reportElement>
|
</reportElement>
|
||||||
<textElement textAlignment="Right"/>
|
<textElement textAlignment="Right">
|
||||||
|
<font size="5"/>
|
||||||
|
</textElement>
|
||||||
<textFieldExpression><![CDATA[$F{EMBARQUE_VENDIDOS}]]></textFieldExpression>
|
<textFieldExpression><![CDATA[$F{EMBARQUE_VENDIDOS}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField>
|
<textField>
|
||||||
<reportElement uuid="049ba79a-5ee9-4ee2-80d7-d498ad7d7125" x="286" y="1" width="30" height="11">
|
<reportElement uuid="049ba79a-5ee9-4ee2-80d7-d498ad7d7125" x="286" y="1" width="30" height="11">
|
||||||
<printWhenExpression><![CDATA[$P{IS_PEDAGIO}]]></printWhenExpression>
|
<printWhenExpression><![CDATA[$P{IS_PEDAGIO}]]></printWhenExpression>
|
||||||
</reportElement>
|
</reportElement>
|
||||||
<textElement textAlignment="Right"/>
|
<textElement textAlignment="Right">
|
||||||
|
<font size="5"/>
|
||||||
|
</textElement>
|
||||||
<textFieldExpression><![CDATA[$F{PEDAGIO_VENDIDOS}]]></textFieldExpression>
|
<textFieldExpression><![CDATA[$F{PEDAGIO_VENDIDOS}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField>
|
<textField>
|
||||||
<reportElement uuid="c15ba1bc-2040-4a73-a221-52d574fbedb4" x="316" y="1" width="25" height="11">
|
<reportElement uuid="c15ba1bc-2040-4a73-a221-52d574fbedb4" x="316" y="1" width="25" height="11">
|
||||||
<printWhenExpression><![CDATA[$P{IS_SEGURO}]]></printWhenExpression>
|
<printWhenExpression><![CDATA[$P{IS_SEGURO}]]></printWhenExpression>
|
||||||
</reportElement>
|
</reportElement>
|
||||||
<textElement textAlignment="Right"/>
|
<textElement textAlignment="Right">
|
||||||
|
<font size="5"/>
|
||||||
|
</textElement>
|
||||||
<textFieldExpression><![CDATA[$F{SEGURO_VENDIDOS}]]></textFieldExpression>
|
<textFieldExpression><![CDATA[$F{SEGURO_VENDIDOS}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField pattern="#,##0.00">
|
<textField pattern="#,##0.00">
|
||||||
<reportElement uuid="14366362-112f-4407-af42-1d4bb373340a" x="461" y="1" width="33" height="11">
|
<reportElement uuid="14366362-112f-4407-af42-1d4bb373340a" x="461" y="1" width="33" height="11">
|
||||||
<printWhenExpression><![CDATA[$P{IS_SEGUROOPCIONAL}]]></printWhenExpression>
|
<printWhenExpression><![CDATA[$P{IS_SEGUROOPCIONAL}]]></printWhenExpression>
|
||||||
</reportElement>
|
</reportElement>
|
||||||
<textElement textAlignment="Right"/>
|
<textElement textAlignment="Right">
|
||||||
|
<font size="5"/>
|
||||||
|
</textElement>
|
||||||
<textFieldExpression><![CDATA[$F{totalValorSeguroOpcionalCancelado}]]></textFieldExpression>
|
<textFieldExpression><![CDATA[$F{totalValorSeguroOpcionalCancelado}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField pattern="">
|
<textField pattern="">
|
||||||
<reportElement uuid="9921ad8d-d1bd-4789-becc-583210c0b4e9" x="433" y="1" width="27" height="11">
|
<reportElement uuid="9921ad8d-d1bd-4789-becc-583210c0b4e9" x="433" y="1" width="27" height="11">
|
||||||
<printWhenExpression><![CDATA[$P{IS_SEGUROOPCIONAL}]]></printWhenExpression>
|
<printWhenExpression><![CDATA[$P{IS_SEGUROOPCIONAL}]]></printWhenExpression>
|
||||||
</reportElement>
|
</reportElement>
|
||||||
<textElement textAlignment="Right"/>
|
<textElement textAlignment="Right">
|
||||||
|
<font size="5"/>
|
||||||
|
</textElement>
|
||||||
<textFieldExpression><![CDATA[$F{qtdSeguroOpcionalCancelado}]]></textFieldExpression>
|
<textFieldExpression><![CDATA[$F{qtdSeguroOpcionalCancelado}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField pattern="">
|
<textField pattern="">
|
||||||
<reportElement uuid="1d0ddaa7-506e-4e81-b798-d6832489da83" x="495" y="1" width="25" height="11">
|
<reportElement uuid="1d0ddaa7-506e-4e81-b798-d6832489da83" x="495" y="1" width="25" height="11">
|
||||||
<printWhenExpression><![CDATA[$P{IS_SEGUROOPCIONAL}]]></printWhenExpression>
|
<printWhenExpression><![CDATA[$P{IS_SEGUROOPCIONAL}]]></printWhenExpression>
|
||||||
</reportElement>
|
</reportElement>
|
||||||
<textElement textAlignment="Right"/>
|
<textElement textAlignment="Right">
|
||||||
|
<font size="5"/>
|
||||||
|
</textElement>
|
||||||
<textFieldExpression><![CDATA[$F{qtdSeguroOpcionalVendidos}]]></textFieldExpression>
|
<textFieldExpression><![CDATA[$F{qtdSeguroOpcionalVendidos}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField pattern="#,##0.00">
|
<textField pattern="#,##0.00">
|
||||||
<reportElement uuid="fb64c49c-1370-47fd-a0b0-e4d5f24d02d9" x="520" y="1" width="34" height="11">
|
<reportElement uuid="fb64c49c-1370-47fd-a0b0-e4d5f24d02d9" x="520" y="1" width="34" height="11">
|
||||||
<printWhenExpression><![CDATA[$P{IS_SEGUROOPCIONAL}]]></printWhenExpression>
|
<printWhenExpression><![CDATA[$P{IS_SEGUROOPCIONAL}]]></printWhenExpression>
|
||||||
</reportElement>
|
</reportElement>
|
||||||
<textElement textAlignment="Center"/>
|
<textElement textAlignment="Center">
|
||||||
|
<font size="5"/>
|
||||||
|
</textElement>
|
||||||
<textFieldExpression><![CDATA[$F{totalValorseguroOpcionalVendido}]]></textFieldExpression>
|
<textFieldExpression><![CDATA[$F{totalValorseguroOpcionalVendido}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField pattern="dd/MM/yyyy" isBlankWhenNull="true">
|
<textField pattern="dd/MM/yyyy" isBlankWhenNull="true">
|
||||||
<reportElement uuid="da706924-1662-451e-8841-3b6559657b90" x="154" y="1" width="32" height="11"/>
|
<reportElement uuid="da706924-1662-451e-8841-3b6559657b90" x="153" y="1" width="34" height="11"/>
|
||||||
<textElement textAlignment="Right" markup="none"/>
|
<textElement textAlignment="Center" markup="none">
|
||||||
|
<font size="5"/>
|
||||||
|
</textElement>
|
||||||
<textFieldExpression><![CDATA[$F{fecHorventa}]]></textFieldExpression>
|
<textFieldExpression><![CDATA[$F{fecHorventa}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
</band>
|
</band>
|
||||||
|
|
|
@ -0,0 +1,191 @@
|
||||||
|
package com.rjconsultores.ventaboletos.web.gui.controladores.configuracioneccomerciales;
|
||||||
|
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.HashMap;
|
||||||
|
import java.util.List;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
|
import org.apache.commons.lang.StringUtils;
|
||||||
|
import org.apache.logging.log4j.LogManager;
|
||||||
|
import org.apache.logging.log4j.Logger;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.context.annotation.Scope;
|
||||||
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.zkoss.util.resource.Labels;
|
||||||
|
import org.zkoss.zhtml.Messagebox;
|
||||||
|
import org.zkoss.zk.ui.Component;
|
||||||
|
import org.zkoss.zk.ui.event.Event;
|
||||||
|
import org.zkoss.zk.ui.event.EventListener;
|
||||||
|
import org.zkoss.zul.Checkbox;
|
||||||
|
import org.zkoss.zul.Combobox;
|
||||||
|
import org.zkoss.zul.Datebox;
|
||||||
|
import org.zkoss.zul.Longbox;
|
||||||
|
import org.zkoss.zul.Paging;
|
||||||
|
import org.zkoss.zul.Textbox;
|
||||||
|
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.Parada;
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.Voucher;
|
||||||
|
import com.rjconsultores.ventaboletos.service.ParadaService;
|
||||||
|
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.RenderPadrao;
|
||||||
|
|
||||||
|
@Controller("busquedaVoucherController")
|
||||||
|
@Scope("prototype")
|
||||||
|
public class BusquedaVoucherController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
|
private static Logger log = LogManager.getLogger(BusquedaVoucherController.class);
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
@Autowired
|
||||||
|
private transient PagedListWrapper<Voucher> plwpagingVoucher;
|
||||||
|
@Autowired
|
||||||
|
private ParadaService paradaService;
|
||||||
|
|
||||||
|
private MyListbox voucherList;
|
||||||
|
private Paging pagingVoucher;
|
||||||
|
private Longbox txtNumVoucher;
|
||||||
|
private Textbox txtNumContrato;
|
||||||
|
private Textbox txtNit;
|
||||||
|
private Textbox txtNome;
|
||||||
|
private Datebox datInicial;
|
||||||
|
private Datebox datFinal;
|
||||||
|
private Combobox cmbOrigem;
|
||||||
|
private Combobox cmbDestino;
|
||||||
|
private Checkbox chkEmitido;
|
||||||
|
private Checkbox chkLegalizado;
|
||||||
|
private Checkbox chkFaturado;
|
||||||
|
private Checkbox chkCancelado;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void doAfterCompose(Component comp) throws Exception {
|
||||||
|
super.doAfterCompose(comp);
|
||||||
|
|
||||||
|
voucherList.setItemRenderer(new RenderPadrao<Voucher>(Voucher.class));
|
||||||
|
voucherList.addEventListener("onDoubleClick", new EventListener() {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onEvent(Event event) throws Exception {
|
||||||
|
Voucher cc = (Voucher) voucherList.getSelected();
|
||||||
|
verVoucher(cc);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
refreshLista();
|
||||||
|
|
||||||
|
txtNumVoucher.focus();
|
||||||
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings({ "rawtypes", "unchecked" })
|
||||||
|
private void verVoucher(Voucher gc) {
|
||||||
|
if (gc == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
Map args = new HashMap();
|
||||||
|
args.put("voucher", gc);
|
||||||
|
args.put("voucherList", voucherList);
|
||||||
|
|
||||||
|
openWindow("/gui/configuraciones_comerciales/negcorporativos/editarVoucher.zul",
|
||||||
|
Labels.getLabel("editarVoucherController.window.title"), args, MODAL);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void refreshLista() {
|
||||||
|
HibernateSearchObject<Voucher> configBusqueda = new HibernateSearchObject<Voucher>(Voucher.class,pagingVoucher.getPageSize());
|
||||||
|
|
||||||
|
if (txtNumVoucher.getText().length() > 0) {
|
||||||
|
configBusqueda.addFilterEqual("voucherId", txtNumVoucher.getValue());
|
||||||
|
}
|
||||||
|
|
||||||
|
if (txtNumContrato.getText().length() > 0) {
|
||||||
|
configBusqueda.addFilterEqual("numContrato", txtNumContrato.getText());
|
||||||
|
}
|
||||||
|
|
||||||
|
if (txtNit.getText().length() > 0) {
|
||||||
|
configBusqueda.addFilterEqual("transportadora.nit", txtNit.getText());
|
||||||
|
}
|
||||||
|
|
||||||
|
if (txtNome.getText().length() > 0) {
|
||||||
|
configBusqueda.addFilterLike("transportadora.nomeTransportadora", "%" + txtNome.getText().trim().concat("%"));
|
||||||
|
}
|
||||||
|
|
||||||
|
if (datInicial.getValue() != null ) {
|
||||||
|
configBusqueda.addFilterGreaterOrEqual("dataValidade", datInicial.getValue());
|
||||||
|
}
|
||||||
|
|
||||||
|
if (datFinal.getValue() != null ) {
|
||||||
|
configBusqueda.addFilterLessOrEqual("dataValidade", datFinal.getValue());
|
||||||
|
}
|
||||||
|
|
||||||
|
if (cmbOrigem.getSelectedItem() != null ) {
|
||||||
|
Parada origem = (Parada)cmbOrigem.getSelectedItem().getValue();
|
||||||
|
configBusqueda.addFilterEqual("origenId", origem.getParadaId());
|
||||||
|
}
|
||||||
|
|
||||||
|
if (cmbDestino.getSelectedItem() != null ) {
|
||||||
|
Parada destino = (Parada)cmbDestino.getSelectedItem().getValue();
|
||||||
|
configBusqueda.addFilterEqual("destinoId", destino.getParadaId());
|
||||||
|
}
|
||||||
|
|
||||||
|
List<Integer> statusList = new ArrayList<Integer>();
|
||||||
|
if(chkEmitido.isChecked())
|
||||||
|
statusList.add( Integer.valueOf( chkEmitido.getValue()));
|
||||||
|
|
||||||
|
if(chkLegalizado.isChecked())
|
||||||
|
statusList.add( Integer.valueOf( chkLegalizado.getValue()));
|
||||||
|
|
||||||
|
if(chkFaturado.isChecked())
|
||||||
|
statusList.add( Integer.valueOf( chkFaturado.getValue()));
|
||||||
|
|
||||||
|
if(chkCancelado.isChecked())
|
||||||
|
statusList.add( Integer.valueOf( chkCancelado.getValue()));
|
||||||
|
|
||||||
|
if(! statusList.isEmpty() ) {
|
||||||
|
configBusqueda.addFilterIn( "status", statusList );
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
configBusqueda.addFilterEqual("activo", Boolean.TRUE);
|
||||||
|
configBusqueda.addSortAsc("voucherId");
|
||||||
|
|
||||||
|
plwpagingVoucher.init(configBusqueda, voucherList, pagingVoucher);
|
||||||
|
|
||||||
|
if (voucherList.getData().length == 0) {
|
||||||
|
try {
|
||||||
|
Messagebox.show(Labels.getLabel("MSG.ningunRegistro"),
|
||||||
|
Labels.getLabel("busquedaVoucherController.window.title"),
|
||||||
|
Messagebox.OK, Messagebox.INFORMATION);
|
||||||
|
} catch (InterruptedException ex) {
|
||||||
|
log.error(ex);
|
||||||
|
}
|
||||||
|
}else {
|
||||||
|
preencheComplemento();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$btnPesquisa(Event ev) {
|
||||||
|
refreshLista();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$btnRefresh(Event ev) {
|
||||||
|
refreshLista();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$btnNovo(Event ev) {
|
||||||
|
verVoucher(new Voucher());
|
||||||
|
}
|
||||||
|
|
||||||
|
private void preencheComplemento() {
|
||||||
|
for (Object item : voucherList.getListData()) {
|
||||||
|
Voucher obj = (Voucher)item;
|
||||||
|
if( StringUtils.isEmpty(obj.getDescOrigem())) {
|
||||||
|
obj.setDescOrigem( paradaService.obtenerID(obj.getOrigenId()).getDescparada() );
|
||||||
|
}
|
||||||
|
|
||||||
|
if( StringUtils.isEmpty(obj.getDescDestino() )) {
|
||||||
|
obj.setDescDestino( paradaService.obtenerID(obj.getDestinoId()).getDescparada() );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -1458,6 +1458,43 @@ public class EditarConvenioController extends MyGenericForwardComposer {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void onClick$btnAdicionarPuntoVenta(Event ev) throws InterruptedException {
|
||||||
|
if (cmbPuntoVenta.getSelectedItem() != null) {
|
||||||
|
PuntoVenta puntoVenta = (PuntoVenta) cmbPuntoVenta.getSelectedItem().getValue();
|
||||||
|
|
||||||
|
ConvenioPuntoVenta convenioPuntoVentaToAdd = new ConvenioPuntoVenta();
|
||||||
|
convenioPuntoVentaToAdd.setActivo(Boolean.TRUE);
|
||||||
|
convenioPuntoVentaToAdd.setConvenio(convenio);
|
||||||
|
convenioPuntoVentaToAdd.setFecmodif(Calendar.getInstance().getTime());
|
||||||
|
convenioPuntoVentaToAdd.setUsuarioId(UsuarioLogado.getUsuarioLogado().getUsuarioId());
|
||||||
|
convenioPuntoVentaToAdd.setPuntoVenta(puntoVenta);
|
||||||
|
|
||||||
|
boolean achou = Boolean.FALSE;
|
||||||
|
for (ConvenioPuntoVenta convenioPuntoVentaInTheList : lsConvenioPuntoVenta) {
|
||||||
|
if (convenioPuntoVentaInTheList.getPuntoVenta().equals(convenioPuntoVentaToAdd.getPuntoVenta()) && convenioPuntoVentaInTheList.getActivo()) {
|
||||||
|
achou = Boolean.TRUE;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if(!achou) {
|
||||||
|
lsConvenioPuntoVenta.add(convenioPuntoVentaToAdd);
|
||||||
|
convenio.setConvenioPuntoVentaList(lsConvenioPuntoVenta);
|
||||||
|
}
|
||||||
|
|
||||||
|
List<ConvenioPuntoVenta> tempList = new ArrayList<ConvenioPuntoVenta>();
|
||||||
|
if(lsConvenioPuntoVenta != null) {
|
||||||
|
for (ConvenioPuntoVenta convenioPuntoVenta : lsConvenioPuntoVenta) {
|
||||||
|
if(convenioPuntoVenta.getActivo()) {
|
||||||
|
tempList.add(convenioPuntoVenta);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
convenioPuntoVentaList.setData(tempList);
|
||||||
|
cmbPuntoVenta.setSelectedItem(null);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public void onClick$btnRemoverPuntoVenta(Event ev) {
|
public void onClick$btnRemoverPuntoVenta(Event ev) {
|
||||||
try {
|
try {
|
||||||
ConvenioPuntoVenta convenioPuntoVentaToRemove = (ConvenioPuntoVenta) convenioPuntoVentaList.getSelected();
|
ConvenioPuntoVenta convenioPuntoVentaToRemove = (ConvenioPuntoVenta) convenioPuntoVentaList.getSelected();
|
||||||
|
|
|
@ -0,0 +1,193 @@
|
||||||
|
package com.rjconsultores.ventaboletos.web.gui.controladores.configuracioneccomerciales;
|
||||||
|
|
||||||
|
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.Executions;
|
||||||
|
import org.zkoss.zk.ui.event.Event;
|
||||||
|
import org.zkoss.zul.Button;
|
||||||
|
import org.zkoss.zul.Combobox;
|
||||||
|
import org.zkoss.zul.Comboitem;
|
||||||
|
import org.zkoss.zul.Datebox;
|
||||||
|
import org.zkoss.zul.Decimalbox;
|
||||||
|
import org.zkoss.zul.Label;
|
||||||
|
import org.zkoss.zul.Messagebox;
|
||||||
|
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.ClienteCorporativo;
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.ConvenioTransportadora;
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.Transportadora;
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.Voucher;
|
||||||
|
import com.rjconsultores.ventaboletos.enums.SituacaoVoucher;
|
||||||
|
import com.rjconsultores.ventaboletos.exception.BusinessException;
|
||||||
|
import com.rjconsultores.ventaboletos.service.ClienteCorporativoService;
|
||||||
|
import com.rjconsultores.ventaboletos.service.ConvenioTransportadoraService;
|
||||||
|
import com.rjconsultores.ventaboletos.service.TransportadoraService;
|
||||||
|
import com.rjconsultores.ventaboletos.service.VoucherService;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
||||||
|
|
||||||
|
import lombok.Getter;
|
||||||
|
import lombok.Setter;
|
||||||
|
|
||||||
|
@Getter
|
||||||
|
@Setter
|
||||||
|
@Controller("editarVoucherController")
|
||||||
|
@Scope("prototype")
|
||||||
|
public class EditarVoucherController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
|
private static final String TITULO = "editarVoucherController.window.title";
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
@Autowired
|
||||||
|
private VoucherService voucherService;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private ClienteCorporativoService clienteService;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private TransportadoraService tranportadoraService;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private ConvenioTransportadoraService convenioService;
|
||||||
|
|
||||||
|
private Voucher voucher;
|
||||||
|
private MyListbox voucherList;
|
||||||
|
|
||||||
|
private List<Transportadora> lsTransportadora;
|
||||||
|
|
||||||
|
private Datebox txtDataValidade;
|
||||||
|
private Label txtCliente;
|
||||||
|
private Combobox cmbTransportadora;
|
||||||
|
private Decimalbox txtValorTransp;
|
||||||
|
private Button btnSalvar;
|
||||||
|
private Button btnLegalizar;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void doAfterCompose(Component comp) throws Exception {
|
||||||
|
|
||||||
|
setLsTransportadora(tranportadoraService.obtenerTodos());
|
||||||
|
|
||||||
|
super.doAfterCompose(comp);
|
||||||
|
|
||||||
|
voucher = (Voucher) Executions.getCurrent().getArg().get("voucher");
|
||||||
|
voucherList = (MyListbox) Executions.getCurrent().getArg().get("voucherList");
|
||||||
|
|
||||||
|
if( voucher.getClienteCorporativoId() !=null ) {
|
||||||
|
Voucher sub = voucher;
|
||||||
|
voucher = voucherService.obtenerID(voucher.getVoucherId());
|
||||||
|
voucher.setDescOrigem(sub.getDescOrigem());
|
||||||
|
voucher.setDescDestino(sub.getDescDestino());
|
||||||
|
|
||||||
|
ClienteCorporativo cliente = clienteService.obtenerID(voucher.getClienteCorporativoId());
|
||||||
|
txtCliente.setValue(cliente.getNomeClienteCorp());
|
||||||
|
}
|
||||||
|
|
||||||
|
if( voucher.getSituacaoVoucher().equals(SituacaoVoucher.CANCELADO)) {
|
||||||
|
btnSalvar.setVisible(false);
|
||||||
|
btnLegalizar.setVisible(false);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$btnSalvar(Event ev) throws InterruptedException {
|
||||||
|
try {
|
||||||
|
|
||||||
|
Comboitem transp = cmbTransportadora.getSelectedItem();
|
||||||
|
if( transp != null ) {
|
||||||
|
voucher.setTransportadora(((Transportadora)transp.getValue()) );
|
||||||
|
}
|
||||||
|
|
||||||
|
validaCampos();
|
||||||
|
|
||||||
|
voucher = voucherService.actualizacion(voucher);
|
||||||
|
voucherList.updateItem(voucher);
|
||||||
|
|
||||||
|
Messagebox.show(
|
||||||
|
Labels.getLabel("MSG.suscribirOK"),
|
||||||
|
Labels.getLabel(TITULO),
|
||||||
|
Messagebox.OK, Messagebox.INFORMATION);
|
||||||
|
|
||||||
|
closeWindow();
|
||||||
|
} catch (BusinessException bex) {
|
||||||
|
Messagebox.show(
|
||||||
|
bex.getMessage(),
|
||||||
|
Labels.getLabel(TITULO),
|
||||||
|
Messagebox.OK, Messagebox.ERROR);
|
||||||
|
} catch (Exception ex) {
|
||||||
|
Messagebox.show(
|
||||||
|
Labels.getLabel("MSG.Error"),
|
||||||
|
Labels.getLabel(TITULO),
|
||||||
|
Messagebox.OK, Messagebox.ERROR);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$btnLegalizar(Event ev) throws InterruptedException {
|
||||||
|
try {
|
||||||
|
Comboitem transp = cmbTransportadora.getSelectedItem();
|
||||||
|
if( transp != null ) {
|
||||||
|
voucher.setTransportadora(((Transportadora)transp.getValue()) );
|
||||||
|
}
|
||||||
|
|
||||||
|
validaLegalizacao();
|
||||||
|
|
||||||
|
voucher.setStatus(SituacaoVoucher.LEGALIZADO.getValor());
|
||||||
|
|
||||||
|
voucher = voucherService.actualizacion(voucher);
|
||||||
|
voucherList.updateItem(voucher);
|
||||||
|
|
||||||
|
Messagebox.show(
|
||||||
|
Labels.getLabel("MSG.suscribirOK"),
|
||||||
|
Labels.getLabel(TITULO),
|
||||||
|
Messagebox.OK, Messagebox.INFORMATION);
|
||||||
|
|
||||||
|
closeWindow();
|
||||||
|
} catch (BusinessException bex) {
|
||||||
|
Messagebox.show(
|
||||||
|
bex.getMessage(),
|
||||||
|
Labels.getLabel(TITULO),
|
||||||
|
Messagebox.OK, Messagebox.ERROR);
|
||||||
|
} catch (Exception ex) {
|
||||||
|
Messagebox.show(
|
||||||
|
Labels.getLabel("MSG.Error"),
|
||||||
|
Labels.getLabel(TITULO),
|
||||||
|
Messagebox.OK, Messagebox.ERROR);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void validaLegalizacao() throws BusinessException {
|
||||||
|
if ( voucher.getValorLegalizado() == null
|
||||||
|
|| voucher.getValorLicitado() == null
|
||||||
|
|| voucher.getTransportadora() == null ){
|
||||||
|
throw new BusinessException("editarVoucherController.MSG.camposObrigatoriosLegalizar");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void validaCampos() throws BusinessException {
|
||||||
|
if ( voucher.getDataValidade() == null ){
|
||||||
|
throw new BusinessException("editarVoucherController.MSG.camposObrigatorios");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onChange$cmbTransportadora(Event ev) {
|
||||||
|
preencheConvenio();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void preencheConvenio() {
|
||||||
|
ConvenioTransportadora convenio = null;
|
||||||
|
Comboitem transp = cmbTransportadora.getSelectedItem();
|
||||||
|
if( transp != null ) {
|
||||||
|
|
||||||
|
convenio = convenioService.buscarPelaTransportadoraId(
|
||||||
|
((Transportadora)transp.getValue()).getTransportadoraId());
|
||||||
|
|
||||||
|
voucher.setValorLegalizado(convenio.getValor());
|
||||||
|
txtValorTransp.setDisabled(true);
|
||||||
|
}else {
|
||||||
|
txtValorTransp.setDisabled(false);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -1,24 +1,33 @@
|
||||||
package com.rjconsultores.ventaboletos.web.gui.controladores.esquemaoperacional;
|
package com.rjconsultores.ventaboletos.web.gui.controladores.esquemaoperacional;
|
||||||
|
|
||||||
|
import java.util.Arrays;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.context.annotation.Scope;
|
import org.springframework.context.annotation.Scope;
|
||||||
import org.springframework.stereotype.Controller;
|
import org.springframework.stereotype.Controller;
|
||||||
import org.zkoss.util.resource.Labels;
|
import org.zkoss.util.resource.Labels;
|
||||||
import org.zkoss.zul.Messagebox;
|
|
||||||
import org.zkoss.zul.Textbox;
|
|
||||||
import org.zkoss.zk.ui.Component;
|
import org.zkoss.zk.ui.Component;
|
||||||
import org.zkoss.zk.ui.Executions;
|
import org.zkoss.zk.ui.Executions;
|
||||||
import org.zkoss.zk.ui.event.Event;
|
import org.zkoss.zk.ui.event.Event;
|
||||||
|
import org.zkoss.zkplus.databind.BindingListModelList;
|
||||||
|
import org.zkoss.zul.Checkbox;
|
||||||
|
import org.zkoss.zul.Comboitem;
|
||||||
|
import org.zkoss.zul.Messagebox;
|
||||||
|
import org.zkoss.zul.Textbox;
|
||||||
|
|
||||||
import com.rjconsultores.ventaboletos.entidad.AliasClasse;
|
import com.rjconsultores.ventaboletos.entidad.AliasClasse;
|
||||||
import com.rjconsultores.ventaboletos.entidad.ClaseServicio;
|
import com.rjconsultores.ventaboletos.entidad.ClaseServicio;
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
||||||
import com.rjconsultores.ventaboletos.entidad.OrgaoConcedente;
|
import com.rjconsultores.ventaboletos.entidad.OrgaoConcedente;
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.Ruta;
|
||||||
|
import com.rjconsultores.ventaboletos.enums.EnumClasseServicoConfortoMonitrip;
|
||||||
import com.rjconsultores.ventaboletos.exception.BusinessException;
|
import com.rjconsultores.ventaboletos.exception.BusinessException;
|
||||||
import com.rjconsultores.ventaboletos.service.AliasClasseService;
|
import com.rjconsultores.ventaboletos.service.AliasClasseService;
|
||||||
import com.rjconsultores.ventaboletos.service.ClaseServicioService;
|
import com.rjconsultores.ventaboletos.service.ClaseServicioService;
|
||||||
|
import com.rjconsultores.ventaboletos.service.EmpresaService;
|
||||||
import com.rjconsultores.ventaboletos.service.OrgaoConcedenteService;
|
import com.rjconsultores.ventaboletos.service.OrgaoConcedenteService;
|
||||||
|
import com.rjconsultores.ventaboletos.service.RutaService;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar;
|
import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
||||||
|
@ -35,32 +44,45 @@ public class EditarAliasClasseController extends MyGenericForwardComposer {
|
||||||
private ClaseServicioService claseServicioService;
|
private ClaseServicioService claseServicioService;
|
||||||
@Autowired
|
@Autowired
|
||||||
private OrgaoConcedenteService orgaoConcedenteService;
|
private OrgaoConcedenteService orgaoConcedenteService;
|
||||||
|
@Autowired
|
||||||
|
private EmpresaService empresaService;
|
||||||
|
@Autowired
|
||||||
|
private RutaService rutaService;
|
||||||
|
|
||||||
private AliasClasse aliasClasse;
|
private AliasClasse aliasClasse;
|
||||||
private MyListbox aliasClasseList;
|
private MyListbox aliasClasseList;
|
||||||
|
|
||||||
private List<ClaseServicio> lsClasse;
|
private List<ClaseServicio> lsClasse;
|
||||||
private List<OrgaoConcedente> lsOrgaoConcedente;
|
private List<OrgaoConcedente> lsOrgaoConcedente;
|
||||||
|
private List<EnumClasseServicoConfortoMonitrip> lsClasseServicoConfortoMonitrip;
|
||||||
|
private List<Ruta> lsRuta;;
|
||||||
private MyComboboxEstandar cmbClasse;
|
private MyComboboxEstandar cmbClasse;
|
||||||
private MyComboboxEstandar cmbAlias;
|
private MyComboboxEstandar cmbAlias;
|
||||||
private MyComboboxEstandar cmbOrgaoConcedente;
|
private MyComboboxEstandar cmbOrgaoConcedente;
|
||||||
|
private MyComboboxEstandar cmbRuta;
|
||||||
private Textbox txtMensagem;
|
private Textbox txtMensagem;
|
||||||
|
private MyComboboxEstandar cmbEmpresa;
|
||||||
|
private List<Empresa> lsEmpresa;
|
||||||
|
private Checkbox chkSomenteImpressao;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void doAfterCompose(Component comp) throws Exception {
|
public void doAfterCompose(Component comp) throws Exception {
|
||||||
setLsClasse(claseServicioService.buscarTodosExceto(-1));
|
|
||||||
setLsOrgaoConcedente(orgaoConcedenteService.obtenerTodos());
|
|
||||||
|
|
||||||
super.doAfterCompose(comp);
|
super.doAfterCompose(comp);
|
||||||
|
setLsClasse(claseServicioService.buscarTodosExceto(-1));
|
||||||
|
setLsOrgaoConcedente(orgaoConcedenteService.obtenerTodos());
|
||||||
|
setLsClasseServicoConfortoMonitrip(EnumClasseServicoConfortoMonitrip.getList());
|
||||||
|
lsEmpresa = empresaService.obtenerTodos();
|
||||||
aliasClasse = (AliasClasse) Executions.getCurrent().getArg().get("aliasClasse");
|
aliasClasse = (AliasClasse) Executions.getCurrent().getArg().get("aliasClasse");
|
||||||
aliasClasseList = (MyListbox) Executions.getCurrent().getArg().get("aliasClasseList");
|
aliasClasseList = (MyListbox) Executions.getCurrent().getArg().get("aliasClasseList");
|
||||||
|
setLsRuta(buscarRutasPorEmpresaOrgaoConcedenteClaseServicio());
|
||||||
|
chkSomenteImpressao.setChecked(aliasClasse.getIndSomenteImpressao());
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onClick$btnSalvar(Event ev) throws InterruptedException {
|
public void onClick$btnSalvar(Event ev) throws InterruptedException {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
aliasClasse.setIndSomenteImpressao(chkSomenteImpressao.isChecked() ? Boolean.TRUE : Boolean.FALSE);
|
||||||
aliasClasseService.suscribirActualizar(aliasClasse);
|
aliasClasseService.suscribirActualizar(aliasClasse);
|
||||||
aliasClasseList.updateItem(aliasClasse);
|
aliasClasseList.updateItem(aliasClasse);
|
||||||
|
|
||||||
|
@ -104,6 +126,38 @@ public class EditarAliasClasseController extends MyGenericForwardComposer {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void onChange$cmbEmpresa(Event ev) throws InterruptedException {
|
||||||
|
|
||||||
|
Comboitem itemEmpresa = cmbEmpresa.getSelectedItem();
|
||||||
|
Comboitem itemOrgaoConcedente = cmbOrgaoConcedente.getSelectedItem();
|
||||||
|
Comboitem itemClaseServicio= cmbClasse.getSelectedItem();
|
||||||
|
|
||||||
|
if (itemEmpresa == null || (itemEmpresa != null && itemEmpresa.getValue() == null) ){
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (itemOrgaoConcedente == null || (itemOrgaoConcedente != null && itemOrgaoConcedente.getValue() == null) ){
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (itemOrgaoConcedente == null || (itemOrgaoConcedente != null && itemOrgaoConcedente.getValue() == null) ){
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (itemClaseServicio == null || (itemClaseServicio != null && itemClaseServicio.getValue() == null) ){
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
Empresa empresa = (Empresa) itemEmpresa.getValue();
|
||||||
|
OrgaoConcedente orgaoConcedente = (OrgaoConcedente) itemOrgaoConcedente.getValue();
|
||||||
|
ClaseServicio claseServicio = (ClaseServicio) itemClaseServicio.getValue();
|
||||||
|
|
||||||
|
List<Ruta> lsRuta = rutaService.buscarRutasPorEmpresaOrgaoConcedenteClaseServicio(empresa, orgaoConcedente, claseServicio);
|
||||||
|
cmbRuta.setModel(new BindingListModelList(lsRuta, false));
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private List<Ruta> buscarRutasPorEmpresaOrgaoConcedenteClaseServicio() {
|
||||||
|
return rutaService.buscarRutasPorEmpresaOrgaoConcedenteClaseServicio(aliasClasse.getEmpresa(), aliasClasse.getOrgaoConcedente(), aliasClasse.getClasse());
|
||||||
|
}
|
||||||
|
|
||||||
public AliasClasse getAliasClasse() {
|
public AliasClasse getAliasClasse() {
|
||||||
return aliasClasse;
|
return aliasClasse;
|
||||||
}
|
}
|
||||||
|
@ -159,4 +213,29 @@ public class EditarAliasClasseController extends MyGenericForwardComposer {
|
||||||
public void setTxtMensagem(Textbox txtMensagem) {
|
public void setTxtMensagem(Textbox txtMensagem) {
|
||||||
this.txtMensagem = txtMensagem;
|
this.txtMensagem = txtMensagem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public List<Empresa> getLsEmpresa() {
|
||||||
|
return lsEmpresa;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setLsEmpresa(List<Empresa> lsEmpresa) {
|
||||||
|
this.lsEmpresa = lsEmpresa;
|
||||||
|
}
|
||||||
|
|
||||||
|
public List<EnumClasseServicoConfortoMonitrip> getLsClasseServicoConfortoMonitrip() {
|
||||||
|
return lsClasseServicoConfortoMonitrip;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setLsClasseServicoConfortoMonitrip(List<EnumClasseServicoConfortoMonitrip> lsClasseServicoConfortoMonitrip) {
|
||||||
|
this.lsClasseServicoConfortoMonitrip = lsClasseServicoConfortoMonitrip;
|
||||||
|
}
|
||||||
|
|
||||||
|
public List<Ruta> getLsRuta() {
|
||||||
|
return lsRuta;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setLsRuta(List<Ruta> lsRuta) {
|
||||||
|
this.lsRuta = lsRuta;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,6 +36,9 @@ public class AsignarBusExpresosController extends MyGenericForwardComposer{
|
||||||
@Autowired
|
@Autowired
|
||||||
private transient PagedListWrapper<TrayectosExpresos> plwTrayectosExpresos;
|
private transient PagedListWrapper<TrayectosExpresos> plwTrayectosExpresos;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
TrayectosExpresosService trayectoService;
|
||||||
|
|
||||||
MyTextbox txtNumSolicitud;
|
MyTextbox txtNumSolicitud;
|
||||||
MyTextbox txtRuta;
|
MyTextbox txtRuta;
|
||||||
MyTextbox txtIdaRegreso;
|
MyTextbox txtIdaRegreso;
|
||||||
|
@ -52,9 +55,6 @@ public class AsignarBusExpresosController extends MyGenericForwardComposer{
|
||||||
SolicitudExpreso expreso;
|
SolicitudExpreso expreso;
|
||||||
TrayectosExpresos trayecto;
|
TrayectosExpresos trayecto;
|
||||||
|
|
||||||
@Autowired
|
|
||||||
TrayectosExpresosService trayectoService;
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void doAfterCompose(Component comp) throws Exception {
|
public void doAfterCompose(Component comp) throws Exception {
|
||||||
expreso = (SolicitudExpreso) Executions.getCurrent().getArg().get("expreso");
|
expreso = (SolicitudExpreso) Executions.getCurrent().getArg().get("expreso");
|
||||||
|
|
|
@ -2,12 +2,38 @@ package com.rjconsultores.ventaboletos.web.gui.controladores.expressos;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
||||||
|
import java.security.KeyManagementException;
|
||||||
|
import java.security.KeyStoreException;
|
||||||
|
import java.security.NoSuchAlgorithmException;
|
||||||
|
import java.security.cert.CertificateException;
|
||||||
|
import java.security.cert.X509Certificate;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
|
import javax.xml.bind.DatatypeConverter;
|
||||||
|
|
||||||
|
import org.apache.http.client.methods.CloseableHttpResponse;
|
||||||
|
import org.apache.http.client.methods.HttpPost;
|
||||||
|
import org.apache.http.client.methods.HttpUriRequest;
|
||||||
|
import org.apache.commons.codec.binary.Base64;
|
||||||
import org.apache.commons.io.IOUtils;
|
import org.apache.commons.io.IOUtils;
|
||||||
|
import org.apache.commons.lang.StringUtils;
|
||||||
|
import org.apache.http.HttpEntity;
|
||||||
|
import org.apache.http.HttpResponse;
|
||||||
|
import org.apache.http.NameValuePair;
|
||||||
|
import org.apache.http.client.ClientProtocolException;
|
||||||
|
import org.apache.http.client.HttpClient;
|
||||||
|
import org.apache.http.client.entity.UrlEncodedFormEntity;
|
||||||
|
import org.apache.http.conn.ssl.NoopHostnameVerifier;
|
||||||
|
import org.apache.http.entity.mime.MultipartEntityBuilder;
|
||||||
|
import org.apache.http.impl.client.CloseableHttpClient;
|
||||||
|
import org.apache.http.impl.client.HttpClientBuilder;
|
||||||
|
import org.apache.http.impl.client.HttpClients;
|
||||||
|
import org.apache.http.message.BasicNameValuePair;
|
||||||
|
import org.apache.http.ssl.SSLContextBuilder;
|
||||||
|
import org.apache.http.ssl.TrustStrategy;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.context.annotation.Scope;
|
import org.springframework.context.annotation.Scope;
|
||||||
import org.springframework.stereotype.Controller;
|
import org.springframework.stereotype.Controller;
|
||||||
|
@ -27,10 +53,12 @@ import org.zkoss.zul.Paging;
|
||||||
|
|
||||||
import com.rjconsultores.ventaboletos.entidad.Articulo;
|
import com.rjconsultores.ventaboletos.entidad.Articulo;
|
||||||
import com.rjconsultores.ventaboletos.entidad.Ciudad;
|
import com.rjconsultores.ventaboletos.entidad.Ciudad;
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.Constante;
|
||||||
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
||||||
import com.rjconsultores.ventaboletos.entidad.SolicitudExpreso;
|
import com.rjconsultores.ventaboletos.entidad.SolicitudExpreso;
|
||||||
import com.rjconsultores.ventaboletos.entidad.TrayectosExpresos;
|
import com.rjconsultores.ventaboletos.entidad.TrayectosExpresos;
|
||||||
import com.rjconsultores.ventaboletos.service.CiudadService;
|
import com.rjconsultores.ventaboletos.service.CiudadService;
|
||||||
|
import com.rjconsultores.ventaboletos.service.ConstanteService;
|
||||||
import com.rjconsultores.ventaboletos.service.SolicitudExpresosService;
|
import com.rjconsultores.ventaboletos.service.SolicitudExpresosService;
|
||||||
import com.rjconsultores.ventaboletos.service.TrayectosExpresosService;
|
import com.rjconsultores.ventaboletos.service.TrayectosExpresosService;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||||
|
@ -39,6 +67,7 @@ import com.rjconsultores.ventaboletos.web.utilerias.MyTextbox;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.HibernateSearchObject;
|
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.HibernateSearchObject;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.PagedListWrapper;
|
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.PagedListWrapper;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderTrayectosExpreso;
|
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderTrayectosExpreso;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.spring.AppContext;
|
||||||
|
|
||||||
@Controller("cotizarExpresoController")
|
@Controller("cotizarExpresoController")
|
||||||
@Scope("prototype")
|
@Scope("prototype")
|
||||||
|
@ -58,6 +87,9 @@ public class CotizarExpresoController extends MyGenericForwardComposer{
|
||||||
@Autowired
|
@Autowired
|
||||||
SolicitudExpresosService solicitudExpresosService;
|
SolicitudExpresosService solicitudExpresosService;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
ConstanteService constanteService;
|
||||||
|
|
||||||
SolicitudExpreso expreso;
|
SolicitudExpreso expreso;
|
||||||
TrayectosExpresos trayecto;
|
TrayectosExpresos trayecto;
|
||||||
|
|
||||||
|
@ -109,7 +141,7 @@ public class CotizarExpresoController extends MyGenericForwardComposer{
|
||||||
|
|
||||||
txtNumSolicitud.setValue(expreso.getSolicitudExpresoId().toString());
|
txtNumSolicitud.setValue(expreso.getSolicitudExpresoId().toString());
|
||||||
txtRuta.setValue(expreso.getCiudadOrigen().getNombciudad() + " - " + expreso.getCiudadDestino().getNombciudad());
|
txtRuta.setValue(expreso.getCiudadOrigen().getNombciudad() + " - " + expreso.getCiudadDestino().getNombciudad());
|
||||||
txtIdaRegreso.setValue(expreso.getIndViajeRedondo() == true ? "Ida y Regreso" : "Ida");
|
txtIdaRegreso.setValue(expreso.getIndViajeRedondo() == true ? Labels.getLabel("expresosController.lbl.idaVuelta") : Labels.getLabel("expresosController.lbl.ida"));
|
||||||
txtCantPasajeros.setValue(expreso.getCantidadPasajeros().toString());
|
txtCantPasajeros.setValue(expreso.getCantidadPasajeros().toString());
|
||||||
txtFechaIda.setValue(expreso.getFechaHoraIda().toString());
|
txtFechaIda.setValue(expreso.getFechaHoraIda().toString());
|
||||||
txtFechaRegreso.setValue(expreso.getFechaHoraRegreso().toString());
|
txtFechaRegreso.setValue(expreso.getFechaHoraRegreso().toString());
|
||||||
|
@ -156,7 +188,7 @@ public class CotizarExpresoController extends MyGenericForwardComposer{
|
||||||
refreshLista();
|
refreshLista();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onClick$btnGuardarCotizacion(Event event) throws Exception {
|
public void onClick$btnGuardarCotizacion(Event event) throws KeyManagementException, NoSuchAlgorithmException, KeyStoreException, Exception {
|
||||||
if(docCotizacion == null) {
|
if(docCotizacion == null) {
|
||||||
Messagebox.show(
|
Messagebox.show(
|
||||||
Labels.getLabel("expresoController.MSG.errorArchivo"),
|
Labels.getLabel("expresoController.MSG.errorArchivo"),
|
||||||
|
@ -166,6 +198,8 @@ public class CotizarExpresoController extends MyGenericForwardComposer{
|
||||||
expreso.setDocCotizacion(docCotizacion);
|
expreso.setDocCotizacion(docCotizacion);
|
||||||
expreso.setStatusSolicitudExpresoId(2);
|
expreso.setStatusSolicitudExpresoId(2);
|
||||||
solicitudExpresosService.actualizacion(expreso);
|
solicitudExpresosService.actualizacion(expreso);
|
||||||
|
|
||||||
|
enviarEmail();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -186,6 +220,58 @@ public class CotizarExpresoController extends MyGenericForwardComposer{
|
||||||
refreshLista();
|
refreshLista();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void enviarEmail() throws KeyManagementException, NoSuchAlgorithmException, KeyStoreException, ClientProtocolException, IOException, InterruptedException {
|
||||||
|
|
||||||
|
String urlAPIRJ = valorConstante("URL_API_RJ_INFOBIP");
|
||||||
|
String credenciais = valorConstante("CREDENCIAIS_API_RJ");
|
||||||
|
String tenant = valorConstante("TENANT_API_RJ");
|
||||||
|
String empresaId = valorConstante("EMPRESA_NOTIFICACOES_BOLIVARIANO");
|
||||||
|
|
||||||
|
urlAPIRJ = urlAPIRJ.concat("EnviarEmailGenerico");
|
||||||
|
|
||||||
|
CloseableHttpClient httpClient = HttpClients.createDefault();
|
||||||
|
|
||||||
|
HttpPost request = new HttpPost(urlAPIRJ);
|
||||||
|
|
||||||
|
List<NameValuePair> urlParameters = new ArrayList<NameValuePair>();
|
||||||
|
urlParameters.add(new BasicNameValuePair("emailCliente", expreso.getDescEmail()));
|
||||||
|
urlParameters.add(new BasicNameValuePair("assunto", Labels.getLabel("expresoController.MSG.asuntoCorreoCotizacion")));
|
||||||
|
urlParameters.add(new BasicNameValuePair("texto", Labels.getLabel("expresoController.MSG.cuerpoCorreoCotizacion", new Object[] { expreso.getDescNombre() + " " + expreso.getDescApellidos(), "[INSERT LINK HERE]" })));
|
||||||
|
urlParameters.add(new BasicNameValuePair("empresaId", empresaId));
|
||||||
|
|
||||||
|
UrlEncodedFormEntity params = new UrlEncodedFormEntity(urlParameters, "UTF-8");
|
||||||
|
|
||||||
|
request.addHeader("Authorization", "Basic " + new String(Base64.encodeBase64(credenciais.getBytes())));
|
||||||
|
|
||||||
|
if (StringUtils.isNotBlank(tenant)){
|
||||||
|
request.addHeader("x-tenant-id", tenant);
|
||||||
|
}
|
||||||
|
|
||||||
|
request.setEntity(params);
|
||||||
|
|
||||||
|
CloseableHttpResponse response = httpClient.execute(request);
|
||||||
|
|
||||||
|
if(response.getStatusLine().getStatusCode() == 200 && response.getStatusLine().getReasonPhrase().equalsIgnoreCase("OK")) {
|
||||||
|
Messagebox.show(
|
||||||
|
Labels.getLabel("cotizarExpresoController.MSG.emailEnviado"),
|
||||||
|
Labels.getLabel("expresosPorCotizarCotizar.window.title"),
|
||||||
|
Messagebox.OK, Messagebox.INFORMATION);
|
||||||
|
} else {
|
||||||
|
Messagebox.show(
|
||||||
|
Labels.getLabel("cotizarExpresoController.MSG.emailNoEnviado"),
|
||||||
|
Labels.getLabel("expresosPorCotizarCotizar.window.title"),
|
||||||
|
Messagebox.OK, Messagebox.ERROR);
|
||||||
|
}
|
||||||
|
|
||||||
|
this.closeWindow();
|
||||||
|
}
|
||||||
|
|
||||||
|
public String valorConstante(String nombreConstante) {
|
||||||
|
Constante constante = constanteService.buscarPorNomeConstante(nombreConstante);
|
||||||
|
|
||||||
|
return constante != null ? constante.getValorconstante() : null ;
|
||||||
|
}
|
||||||
|
|
||||||
public SolicitudExpreso getExpreso() {
|
public SolicitudExpreso getExpreso() {
|
||||||
return expreso;
|
return expreso;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
package com.rjconsultores.ventaboletos.web.gui.controladores.expressos;
|
package com.rjconsultores.ventaboletos.web.gui.controladores.expressos;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
import java.util.Calendar;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
@ -19,15 +20,20 @@ import org.zkoss.zul.Combobox;
|
||||||
import org.zkoss.zul.Comboitem;
|
import org.zkoss.zul.Comboitem;
|
||||||
import org.zkoss.zul.Paging;
|
import org.zkoss.zul.Paging;
|
||||||
|
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.Constante;
|
||||||
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
||||||
import com.rjconsultores.ventaboletos.entidad.FormaPago;
|
import com.rjconsultores.ventaboletos.entidad.FormaPago;
|
||||||
import com.rjconsultores.ventaboletos.entidad.GrupoCortesia;
|
import com.rjconsultores.ventaboletos.entidad.GrupoCortesia;
|
||||||
import com.rjconsultores.ventaboletos.entidad.SolicitudExpreso;
|
import com.rjconsultores.ventaboletos.entidad.SolicitudExpreso;
|
||||||
import com.rjconsultores.ventaboletos.entidad.TipoCortesia;
|
import com.rjconsultores.ventaboletos.entidad.TipoCortesia;
|
||||||
import com.rjconsultores.ventaboletos.entidad.TipoIdentificacion;
|
import com.rjconsultores.ventaboletos.entidad.TipoIdentificacion;
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.Usuario;
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.SolicitudExpreso;
|
||||||
|
import com.rjconsultores.ventaboletos.service.ConstanteService;
|
||||||
import com.rjconsultores.ventaboletos.service.EmpresaService;
|
import com.rjconsultores.ventaboletos.service.EmpresaService;
|
||||||
import com.rjconsultores.ventaboletos.service.SolicitudExpresosService;
|
import com.rjconsultores.ventaboletos.service.SolicitudExpresosService;
|
||||||
import com.rjconsultores.ventaboletos.service.TipoIdentificacionService;
|
import com.rjconsultores.ventaboletos.service.TipoIdentificacionService;
|
||||||
|
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar;
|
import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.MyDatebox;
|
import com.rjconsultores.ventaboletos.web.utilerias.MyDatebox;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||||
|
@ -36,6 +42,7 @@ import com.rjconsultores.ventaboletos.web.utilerias.paginacion.HibernateSearchOb
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.PagedListWrapper;
|
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.PagedListWrapper;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderExpresosPorCotizar;
|
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderExpresosPorCotizar;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderHistoricoFormaPagoSelecao;
|
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderHistoricoFormaPagoSelecao;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.spring.AppContext;
|
||||||
import com.trg.search.Filter;
|
import com.trg.search.Filter;
|
||||||
|
|
||||||
@Controller("expressosPorCotizarController")
|
@Controller("expressosPorCotizarController")
|
||||||
|
@ -50,6 +57,9 @@ public class ExpressosPorCotizarController extends MyGenericForwardComposer{
|
||||||
@Autowired
|
@Autowired
|
||||||
private EmpresaService empresaService;
|
private EmpresaService empresaService;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
SolicitudExpresosService solicitudExpresosService;
|
||||||
|
|
||||||
private List<Empresa> lsEmpresa;
|
private List<Empresa> lsEmpresa;
|
||||||
private Combobox cmbEmpresa;
|
private Combobox cmbEmpresa;
|
||||||
private MyListbox expresosList;
|
private MyListbox expresosList;
|
||||||
|
@ -61,33 +71,12 @@ public class ExpressosPorCotizarController extends MyGenericForwardComposer{
|
||||||
|
|
||||||
SolicitudExpreso expreso;
|
SolicitudExpreso expreso;
|
||||||
|
|
||||||
@Autowired
|
|
||||||
SolicitudExpresosService solicitudExpresosService;
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void doAfterCompose(Component comp) throws Exception {
|
public void doAfterCompose(Component comp) throws Exception {
|
||||||
lsEmpresa = empresaService.obtenerTodos();
|
lsEmpresa = empresaService.obtenerTodos();
|
||||||
super.doAfterCompose(comp);
|
super.doAfterCompose(comp);
|
||||||
|
|
||||||
expresosList.setItemRenderer(new RenderExpresosPorCotizar(this, new EventListener() {
|
expresosList.setItemRenderer(new RenderExpresosPorCotizar(this));
|
||||||
@Override
|
|
||||||
public void onEvent(Event arg0) throws Exception {
|
|
||||||
expreso = (SolicitudExpreso)arg0.getTarget().getAttribute("data");
|
|
||||||
|
|
||||||
//expreso.setStatusSolicitudExpresoId(); -- UPDATE ID SOLICITUD A CRÉDITO
|
|
||||||
|
|
||||||
solicitudExpresosService.actualizacion(expreso);
|
|
||||||
|
|
||||||
refreshLista();
|
|
||||||
}
|
|
||||||
}));
|
|
||||||
expresosList.addEventListener("onClick", new EventListener() {
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void onEvent(Event event) throws Exception {
|
|
||||||
expreso = (SolicitudExpreso) expresosList.getSelected();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
refreshLista();
|
refreshLista();
|
||||||
}
|
}
|
||||||
|
@ -119,6 +108,10 @@ public class ExpressosPorCotizarController extends MyGenericForwardComposer{
|
||||||
plwTrayectosExpresos.init(buscarExpresos, expresosList, pagingExpresos);
|
plwTrayectosExpresos.init(buscarExpresos, expresosList, pagingExpresos);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void onClick$btnRefresh(Event ev) {
|
||||||
|
refreshLista();
|
||||||
|
}
|
||||||
|
|
||||||
public List<Empresa> getLsEmpresa() {
|
public List<Empresa> getLsEmpresa() {
|
||||||
return lsEmpresa;
|
return lsEmpresa;
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,25 @@
|
||||||
|
package com.rjconsultores.ventaboletos.web.utilerias.menu.item.negcorporativos;
|
||||||
|
|
||||||
|
import org.zkoss.util.resource.Labels;
|
||||||
|
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.PantallaUtileria;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.menu.DefaultItemMenuSistema;
|
||||||
|
|
||||||
|
public class ItemMenuVoucher extends DefaultItemMenuSistema {
|
||||||
|
|
||||||
|
public ItemMenuVoucher() {
|
||||||
|
super("indexController.mniVoucher.label");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getClaveMenu() {
|
||||||
|
return "COM.RJCONSULTORES.ADMINISTRACION.GUI.CONFIGURACIONECCOMERCIALES.MENU.VOUCHER";
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void ejecutar() {
|
||||||
|
PantallaUtileria.openWindow("/gui/configuraciones_comerciales/negcorporativos/busquedaVoucher.zul",
|
||||||
|
Labels.getLabel("busquedaVoucherController.window.title"), getArgs() ,desktop);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -64,6 +64,7 @@ confComerciales.negCorporativos.clienteCorporativo=com.rjconsultores.ventaboleto
|
||||||
confComerciales.negCorporativos.grupoContrato=com.rjconsultores.ventaboletos.web.utilerias.menu.item.negcorporativos.ItemMenuGrupoContrato
|
confComerciales.negCorporativos.grupoContrato=com.rjconsultores.ventaboletos.web.utilerias.menu.item.negcorporativos.ItemMenuGrupoContrato
|
||||||
confComerciales.negCorporativos.Contrato=com.rjconsultores.ventaboletos.web.utilerias.menu.item.negcorporativos.ItemMenuContrato
|
confComerciales.negCorporativos.Contrato=com.rjconsultores.ventaboletos.web.utilerias.menu.item.negcorporativos.ItemMenuContrato
|
||||||
confComerciales.negCorporativos.Transportadora=com.rjconsultores.ventaboletos.web.utilerias.menu.item.negcorporativos.ItemMenuTransportadora
|
confComerciales.negCorporativos.Transportadora=com.rjconsultores.ventaboletos.web.utilerias.menu.item.negcorporativos.ItemMenuTransportadora
|
||||||
|
confComerciales.negCorporativos.Voucher=com.rjconsultores.ventaboletos.web.utilerias.menu.item.negcorporativos.ItemMenuVoucher
|
||||||
confComerciales.impressaofiscal=com.rjconsultores.ventaboletos.web.utilerias.menu.item.impressaofiscal.SubMenuImpressaoFiscal
|
confComerciales.impressaofiscal=com.rjconsultores.ventaboletos.web.utilerias.menu.item.impressaofiscal.SubMenuImpressaoFiscal
|
||||||
confComerciales.impressaofiscal.totnaofiscalEmpresa=com.rjconsultores.ventaboletos.web.utilerias.menu.item.impressaofiscal.ItemMenuTotnaofiscalEmpresa
|
confComerciales.impressaofiscal.totnaofiscalEmpresa=com.rjconsultores.ventaboletos.web.utilerias.menu.item.impressaofiscal.ItemMenuTotnaofiscalEmpresa
|
||||||
confComerciales.impressaofiscal.formapagoEmpresa=com.rjconsultores.ventaboletos.web.utilerias.menu.item.impressaofiscal.ItemMenuFormapagoEmpresa
|
confComerciales.impressaofiscal.formapagoEmpresa=com.rjconsultores.ventaboletos.web.utilerias.menu.item.impressaofiscal.ItemMenuFormapagoEmpresa
|
||||||
|
|
|
@ -63,13 +63,13 @@ public class RenderCargaContratoExpresos implements ListitemRenderer{
|
||||||
lc.setParent(item);
|
lc.setParent(item);
|
||||||
|
|
||||||
if(expresos.getIndViajeRedondo() == false) {
|
if(expresos.getIndViajeRedondo() == false) {
|
||||||
lc = new Listcell("Ida");
|
lc = new Listcell(Labels.getLabel("expresosController.lbl.ida"));
|
||||||
lc.setParent(item);
|
lc.setParent(item);
|
||||||
}else if (expresos.getIndViajeRedondo() == true) {
|
}else if (expresos.getIndViajeRedondo() == true) {
|
||||||
lc = new Listcell("Ida y Regreso");
|
lc = new Listcell(Labels.getLabel("expresosController.lbl.idaVuelta"));
|
||||||
lc.setParent(item);
|
lc.setParent(item);
|
||||||
}else {
|
}else {
|
||||||
lc = new Listcell("N/A");
|
lc = new Listcell();
|
||||||
lc.setParent(item);
|
lc.setParent(item);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -50,13 +50,13 @@ public class RenderDocumentosExpresos implements ListitemRenderer {
|
||||||
lc.setParent(item);
|
lc.setParent(item);
|
||||||
|
|
||||||
if(expresos.getIndViajeRedondo() == false) {
|
if(expresos.getIndViajeRedondo() == false) {
|
||||||
lc = new Listcell("Ida");
|
lc = new Listcell(Labels.getLabel("expresosController.lbl.ida"));
|
||||||
lc.setParent(item);
|
lc.setParent(item);
|
||||||
}else if (expresos.getIndViajeRedondo() == true) {
|
}else if (expresos.getIndViajeRedondo() == true) {
|
||||||
lc = new Listcell("Ida y Regreso");
|
lc = new Listcell(Labels.getLabel("expresosController.lbl.idaVuelta"));
|
||||||
lc.setParent(item);
|
lc.setParent(item);
|
||||||
}else {
|
}else {
|
||||||
lc = new Listcell("N/A");
|
lc = new Listcell();
|
||||||
lc.setParent(item);
|
lc.setParent(item);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
package com.rjconsultores.ventaboletos.web.utilerias.render;
|
package com.rjconsultores.ventaboletos.web.utilerias.render;
|
||||||
|
|
||||||
|
import java.util.Calendar;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
|
@ -14,30 +15,37 @@ import org.zkoss.zul.ListitemRenderer;
|
||||||
|
|
||||||
import com.rjconsultores.ventaboletos.entidad.Categoria;
|
import com.rjconsultores.ventaboletos.entidad.Categoria;
|
||||||
import com.rjconsultores.ventaboletos.entidad.Cliente;
|
import com.rjconsultores.ventaboletos.entidad.Cliente;
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.Constante;
|
||||||
import com.rjconsultores.ventaboletos.entidad.SolicitudExpreso;
|
import com.rjconsultores.ventaboletos.entidad.SolicitudExpreso;
|
||||||
import com.rjconsultores.ventaboletos.entidad.TipoCortesia;
|
import com.rjconsultores.ventaboletos.entidad.TipoCortesia;
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.Usuario;
|
||||||
|
import com.rjconsultores.ventaboletos.service.ConstanteService;
|
||||||
import com.rjconsultores.ventaboletos.service.SolicitudExpresosService;
|
import com.rjconsultores.ventaboletos.service.SolicitudExpresosService;
|
||||||
import com.rjconsultores.ventaboletos.utilerias.DateUtil;
|
import com.rjconsultores.ventaboletos.utilerias.DateUtil;
|
||||||
|
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
|
||||||
import com.rjconsultores.ventaboletos.web.gui.controladores.esquemaoperacional.BusquedaConfRestricaoCanalVentaController;
|
import com.rjconsultores.ventaboletos.web.gui.controladores.esquemaoperacional.BusquedaConfRestricaoCanalVentaController;
|
||||||
import com.rjconsultores.ventaboletos.web.gui.controladores.expressos.ExpressosPorCotizarController;
|
import com.rjconsultores.ventaboletos.web.gui.controladores.expressos.ExpressosPorCotizarController;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.PantallaUtileria;
|
import com.rjconsultores.ventaboletos.web.utilerias.PantallaUtileria;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.spring.AppContext;
|
||||||
|
|
||||||
public class RenderExpresosPorCotizar implements ListitemRenderer {
|
public class RenderExpresosPorCotizar implements ListitemRenderer {
|
||||||
|
|
||||||
private EventListener listenerGenerico;
|
|
||||||
|
|
||||||
private ExpressosPorCotizarController expresosControllerWindow;
|
private ExpressosPorCotizarController expresosControllerWindow;
|
||||||
|
|
||||||
private SolicitudExpreso expreso;
|
private SolicitudExpreso expreso;
|
||||||
|
|
||||||
|
private Usuario usuario;
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
SolicitudExpresosService expresosService;
|
SolicitudExpresosService expresosService;
|
||||||
|
|
||||||
public RenderExpresosPorCotizar(ExpressosPorCotizarController window, EventListener listenerGenerico) {
|
@Autowired
|
||||||
|
ConstanteService constanteService;
|
||||||
|
|
||||||
|
public RenderExpresosPorCotizar(ExpressosPorCotizarController window) {
|
||||||
super();
|
super();
|
||||||
expresosControllerWindow = window;
|
expresosControllerWindow = window;
|
||||||
this.listenerGenerico = listenerGenerico;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -55,10 +63,10 @@ public class RenderExpresosPorCotizar implements ListitemRenderer {
|
||||||
lc.setParent(item);
|
lc.setParent(item);
|
||||||
|
|
||||||
if(expresos.getIndViajeRedondo() == false) {
|
if(expresos.getIndViajeRedondo() == false) {
|
||||||
lc = new Listcell("Ida");
|
lc = new Listcell(Labels.getLabel("expresosController.lbl.idaVuelta"));
|
||||||
lc.setParent(item);
|
lc.setParent(item);
|
||||||
}else if (expresos.getIndViajeRedondo() == true) {
|
}else if (expresos.getIndViajeRedondo() == true) {
|
||||||
lc = new Listcell("Ida y Regreso");
|
lc = new Listcell(Labels.getLabel("expresosController.lbl.idaVuelta"));
|
||||||
lc.setParent(item);
|
lc.setParent(item);
|
||||||
}else {
|
}else {
|
||||||
lc = new Listcell("N/A");
|
lc = new Listcell("N/A");
|
||||||
|
@ -128,12 +136,30 @@ public class RenderExpresosPorCotizar implements ListitemRenderer {
|
||||||
|
|
||||||
lc.appendChild(btnCotizar); break;
|
lc.appendChild(btnCotizar); break;
|
||||||
case 2:
|
case 2:
|
||||||
Button btnPagoCredito = new Button(Labels.getLabel("expresosController.lbl.pagoCredito"));
|
String pagoCreditoConstante = constanteService.buscarPorNomeConstante("FORMAPAGOCREDITO_ID").getValorconstante();
|
||||||
|
|
||||||
btnPagoCredito.setAttribute("data", data);
|
if(expresos.getFormaPagoId() == null || expresos.getFormaPagoId() != Integer.valueOf(pagoCreditoConstante)) {
|
||||||
btnPagoCredito.addEventListener("onClick", listenerGenerico);
|
Button btnPagoCredito = new Button("Pago Crédito");
|
||||||
|
|
||||||
lc.appendChild(btnPagoCredito);
|
btnPagoCredito.setAttribute("data", data);
|
||||||
|
btnPagoCredito.addEventListener("onClick", new EventListener() {
|
||||||
|
@Override
|
||||||
|
public void onEvent(Event event) throws Exception {
|
||||||
|
Listitem listItem = (Listitem) event.getTarget().getParent().getParent();
|
||||||
|
expreso = (SolicitudExpreso)listItem.getAttribute("data");
|
||||||
|
|
||||||
|
usuario = UsuarioLogado.getUsuarioLogado();
|
||||||
|
|
||||||
|
expreso.setFormaPagoId(Integer.valueOf(pagoCreditoConstante));
|
||||||
|
expreso.setUsuarioAutorizaCredito(usuario.getUsuarioId());
|
||||||
|
expreso.setFechaHoraAutorizaCredito(Calendar.getInstance().getTime());
|
||||||
|
|
||||||
|
expresosService.actualizacion(expreso);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
lc.appendChild(btnPagoCredito);
|
||||||
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
//case 3: break;
|
//case 3: break;
|
||||||
|
|
|
@ -6,7 +6,11 @@ import java.lang.reflect.Field;
|
||||||
import java.lang.reflect.InvocationTargetException;
|
import java.lang.reflect.InvocationTargetException;
|
||||||
import java.lang.reflect.Method;
|
import java.lang.reflect.Method;
|
||||||
import java.text.SimpleDateFormat;
|
import java.text.SimpleDateFormat;
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.Collections;
|
||||||
|
import java.util.Comparator;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
import javax.persistence.Temporal;
|
import javax.persistence.Temporal;
|
||||||
|
|
||||||
|
@ -16,80 +20,163 @@ import org.zkoss.zul.ListitemRenderer;
|
||||||
|
|
||||||
import com.rjconsultores.ventaboletos.anotacao.Renderizado;
|
import com.rjconsultores.ventaboletos.anotacao.Renderizado;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Implementa um renderizador padrão para itens de lista, usando a anotação {@link Renderizado}
|
||||||
|
* para determinar quais campos renderizar e em qual ordem.
|
||||||
|
*
|
||||||
|
* @param <E> O tipo de objeto a ser renderizado.
|
||||||
|
*/
|
||||||
public class RenderPadrao<E> implements ListitemRenderer {
|
public class RenderPadrao<E> implements ListitemRenderer {
|
||||||
|
|
||||||
private Class<E> custom;
|
private Class<E> custom;
|
||||||
private Listcell lc;
|
private Listcell lc;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constrói uma instância do renderizador com a classe especificada.
|
||||||
|
*
|
||||||
|
* @param classe A classe do tipo de objeto a ser renderizado.
|
||||||
|
*/
|
||||||
public RenderPadrao(Class<E> classe) {
|
public RenderPadrao(Class<E> classe) {
|
||||||
this.custom = classe;
|
this.custom = classe;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Renderiza um item de lista com base nos campos anotados com {@link Renderizado} da classe do objeto.
|
||||||
|
*
|
||||||
|
* @param lstm O item de lista a ser renderizado.
|
||||||
|
* @param o O objeto a ser renderizado.
|
||||||
|
* @throws Exception Se ocorrer algum erro durante a renderização.
|
||||||
|
*/
|
||||||
@Override
|
@Override
|
||||||
public void render(Listitem lstm, Object o) throws Exception {
|
public void render(Listitem lstm, Object o) throws Exception {
|
||||||
E cast = convertToE(o);
|
E cast = convertToE(o);
|
||||||
Field[] campos = cast.getClass().getDeclaredFields();
|
Field[] campos = cast.getClass().getDeclaredFields();
|
||||||
|
List<Field> camposOrdenados = new ArrayList<Field>();
|
||||||
|
|
||||||
for (Field campo : campos) {
|
for (Field campo : campos) {
|
||||||
if (campo.isAnnotationPresent(Renderizado.class)) {
|
if (campo.isAnnotationPresent(Renderizado.class)) {
|
||||||
lc = new Listcell(obterValorCampo(cast, campo).toString());
|
camposOrdenados.add(campo);
|
||||||
lc.setParent(lstm);
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
ordenacao(camposOrdenados);
|
||||||
|
|
||||||
|
for (Field campo : camposOrdenados) {
|
||||||
|
lc = new Listcell(obterValorCampo(cast, campo).toString());
|
||||||
|
lc.setParent(lstm);
|
||||||
|
}
|
||||||
|
|
||||||
lstm.setAttribute("data", cast);
|
lstm.setAttribute("data", cast);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public E convertToE(Object o) {
|
/**
|
||||||
if (o == null || !custom.isInstance(o)) {
|
* Ordena os campos anotados com {@link Renderizado} com base na posição definida na anotação.
|
||||||
throw new IllegalArgumentException("O objeto não é do tipo esperado: " + custom.getName());
|
*
|
||||||
}
|
* @param camposOrdenados A lista de campos a ser ordenada.
|
||||||
return (E) o;
|
*/
|
||||||
}
|
private void ordenacao(List<Field> camposOrdenados) {
|
||||||
|
Collections.sort(camposOrdenados, new Comparator<Field>() {
|
||||||
|
public int compare(Field f1, Field f2) {
|
||||||
|
Renderizado r1 = f1.getAnnotation(Renderizado.class);
|
||||||
|
Renderizado r2 = f2.getAnnotation(Renderizado.class);
|
||||||
|
return Integer.compare(r1.posicao(), r2.posicao());
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
private static Object obterValorCampo(Object objeto, Field campo) throws IntrospectionException, IllegalAccessException, IllegalArgumentException, InvocationTargetException, IllegalArgumentException, InstantiationException, NoSuchMethodException, SecurityException {
|
/**
|
||||||
|
* Converte o objeto fornecido para o tipo especificado na criação do renderizador.
|
||||||
|
*
|
||||||
|
* @param o O objeto a ser convertido.
|
||||||
|
* @return O objeto convertido para o tipo especificado.
|
||||||
|
* @throws IllegalArgumentException Se o objeto não for do tipo esperado.
|
||||||
|
*/
|
||||||
|
public E convertToE(Object o) {
|
||||||
|
if (o == null || !custom.isInstance(o)) {
|
||||||
|
throw new IllegalArgumentException("O objeto não é do tipo esperado: " + custom.getName());
|
||||||
|
}
|
||||||
|
return (E) o;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Obtém o valor de um campo de um objeto e aplica a conversão definida na anotação {@link Renderizado}.
|
||||||
|
*
|
||||||
|
* @param objeto O objeto do qual o valor do campo deve ser obtido.
|
||||||
|
* @param campo O campo do qual o valor deve ser obtido.
|
||||||
|
* @return O valor do campo convertido conforme definido na anotação.
|
||||||
|
* @throws IntrospectionException Se ocorrer um erro ao introspectar o campo.
|
||||||
|
* @throws IllegalAccessException Se ocorrer um erro ao acessar o campo.
|
||||||
|
* @throws IllegalArgumentException Se ocorrer um erro ao passar argumentos ao método.
|
||||||
|
* @throws InvocationTargetException Se ocorrer um erro ao invocar o método.
|
||||||
|
* @throws NoSuchMethodException Se ocorrer um erro ao encontrar o método.
|
||||||
|
* @throws SecurityException Se ocorrer um erro de segurança ao acessar o método.
|
||||||
|
*/
|
||||||
|
private static Object obterValorCampo(Object objeto, Field campo)
|
||||||
|
throws IntrospectionException, IllegalAccessException, InvocationTargetException,
|
||||||
|
IllegalArgumentException, NoSuchMethodException, SecurityException {
|
||||||
PropertyDescriptor pd = new PropertyDescriptor(campo.getName(), objeto.getClass());
|
PropertyDescriptor pd = new PropertyDescriptor(campo.getName(), objeto.getClass());
|
||||||
|
|
||||||
Method getter = pd.getReadMethod();
|
Method getter = pd.getReadMethod();
|
||||||
|
|
||||||
if (getter != null) {
|
if (getter != null) {
|
||||||
String valor = getter.invoke(objeto).toString();
|
Object raw = getter.invoke(objeto);
|
||||||
Renderizado renderizado = campo.getAnnotation(Renderizado.class);
|
|
||||||
Class<? extends Enum<?>> conversor = renderizado.conversor();
|
|
||||||
|
|
||||||
if( conversor == Renderizado.DefaultEnum.class) {
|
if(raw == null) {
|
||||||
if( campo.getType().equals(Date.class)) {
|
return "";
|
||||||
return trataData(objeto, campo, getter);
|
|
||||||
}
|
|
||||||
return valor;
|
|
||||||
}else {
|
|
||||||
try {
|
|
||||||
String nomeConversor = renderizado.metodoConversor();
|
|
||||||
Method metodoConversor = conversor.getMethod(nomeConversor, String.class);
|
|
||||||
Enum<?> enumResultado = (Enum<?>) metodoConversor.invoke(null, valor);
|
|
||||||
return enumResultado.toString();
|
|
||||||
}catch (NoSuchMethodException e) {
|
|
||||||
throw new NoSuchMethodException("Classe conversora precisa implementar o metodo 'buscarPeloValor' " + conversor.getName());
|
|
||||||
}catch (Exception e) {
|
|
||||||
return valor;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
String valor = raw.toString();
|
||||||
|
Renderizado renderizado = campo.getAnnotation(Renderizado.class);
|
||||||
|
Class<? extends Enum<?>> conversor = renderizado.conversor();
|
||||||
|
|
||||||
|
if (conversor == Renderizado.DefaultEnum.class) {
|
||||||
|
if (campo.getType().equals(Date.class)) {
|
||||||
|
return trataData(objeto, campo, getter);
|
||||||
|
}
|
||||||
|
return valor;
|
||||||
|
} else {
|
||||||
|
try {
|
||||||
|
String nomeConversor = renderizado.metodoConversor();
|
||||||
|
Method metodoConversor = conversor.getMethod(nomeConversor, String.class);
|
||||||
|
Enum<?> enumResultado = (Enum<?>) metodoConversor.invoke(null, valor);
|
||||||
|
return enumResultado.toString();
|
||||||
|
} catch (NoSuchMethodException e) {
|
||||||
|
throw new NoSuchMethodException("Classe conversora precisa implementar o metodo 'buscarPeloValor' " + conversor.getName());
|
||||||
|
} catch (Exception e) {
|
||||||
|
return valor;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
throw new IllegalArgumentException("Getter não encontrado para o campo: " + campo.getName());
|
throw new IllegalArgumentException("Getter não encontrado para o campo: " + campo.getName());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private static Object trataData(Object objeto, Field campo, Method getter) throws IllegalAccessException, InvocationTargetException {
|
/**
|
||||||
SimpleDateFormat formatter = new SimpleDateFormat("dd/MM/yyyy");
|
* Formata data obtida de um campo, aplicando o formato especificado na anotação {@link Temporal}.
|
||||||
if (campo.isAnnotationPresent(Temporal.class)) {
|
*
|
||||||
formatter = new SimpleDateFormat("dd/MM/yyyy HH:mm:ss");
|
* @param objeto O objeto do qual o valor da data deve ser obtido.
|
||||||
}
|
* @param campo O campo do qual a data deve ser obtida.
|
||||||
return formatter.format( getter.invoke(objeto) );
|
* @param getter O método getter para obter o valor da data.
|
||||||
}
|
* @return A data formatada dd/MM/yyyy, se tiver tambem anotação {@link Temporal} retorna dd/MM/yyyy HH:mm:ss.
|
||||||
|
* @throws IllegalAccessException Se ocorrer um erro ao acessar o campo.
|
||||||
|
* @throws InvocationTargetException Se ocorrer um erro ao invocar o método getter.
|
||||||
|
*/
|
||||||
|
private static Object trataData(Object objeto, Field campo, Method getter)
|
||||||
|
throws IllegalAccessException, InvocationTargetException {
|
||||||
|
SimpleDateFormat formatter = new SimpleDateFormat("dd/MM/yyyy");
|
||||||
|
if (campo.isAnnotationPresent(Temporal.class)) {
|
||||||
|
formatter = new SimpleDateFormat("dd/MM/yyyy HH:mm:ss");
|
||||||
|
}
|
||||||
|
return formatter.format(getter.invoke(objeto));
|
||||||
|
}
|
||||||
|
|
||||||
public Listcell getLc() {
|
/**
|
||||||
return lc;
|
* Obtém o último {@link Listcell} criado durante o processo de renderização.
|
||||||
}
|
*
|
||||||
|
* @return O último {@link Listcell} criado.
|
||||||
|
*/
|
||||||
|
public Listcell getLc() {
|
||||||
|
return lc;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -57,13 +57,13 @@ public class RenderProgramacionVehiculosExpresos implements ListitemRenderer {
|
||||||
lc.setParent(item);
|
lc.setParent(item);
|
||||||
|
|
||||||
if(expresos.getIndViajeRedondo() == false) {
|
if(expresos.getIndViajeRedondo() == false) {
|
||||||
lc = new Listcell("Ida");
|
lc = new Listcell(Labels.getLabel("expresosController.lbl.ida"));
|
||||||
lc.setParent(item);
|
lc.setParent(item);
|
||||||
}else if (expresos.getIndViajeRedondo() == true) {
|
}else if (expresos.getIndViajeRedondo() == true) {
|
||||||
lc = new Listcell("Ida y Regreso");
|
lc = new Listcell(Labels.getLabel("expresosController.lbl.idaVuelta"));
|
||||||
lc.setParent(item);
|
lc.setParent(item);
|
||||||
}else {
|
}else {
|
||||||
lc = new Listcell("N/A");
|
lc = new Listcell();
|
||||||
lc.setParent(item);
|
lc.setParent(item);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -481,6 +481,7 @@
|
||||||
<value>com.rjconsultores.ventaboletos.entidad.TarifaConvenioTransport</value>
|
<value>com.rjconsultores.ventaboletos.entidad.TarifaConvenioTransport</value>
|
||||||
<value>com.rjconsultores.ventaboletos.entidad.DescontoContrato</value>
|
<value>com.rjconsultores.ventaboletos.entidad.DescontoContrato</value>
|
||||||
<value>com.rjconsultores.ventaboletos.entidad.ConfComprovantePassagem</value>
|
<value>com.rjconsultores.ventaboletos.entidad.ConfComprovantePassagem</value>
|
||||||
|
<value>com.rjconsultores.ventaboletos.entidad.Voucher</value>
|
||||||
</list>
|
</list>
|
||||||
</property>
|
</property>
|
||||||
|
|
||||||
|
|
|
@ -2114,6 +2114,7 @@ busquedaVigenciaTarifaController.lhFecInicio.label = Start Date
|
||||||
busquedaVigenciaTarifaController.lhID.value = ID
|
busquedaVigenciaTarifaController.lhID.value = ID
|
||||||
# Pesquisa Vigência Tarifa
|
# Pesquisa Vigência Tarifa
|
||||||
busquedaVigenciaTarifaController.window.title = Tariff Validity
|
busquedaVigenciaTarifaController.window.title = Tariff Validity
|
||||||
|
busquedaVoucherController.window.title = Voucher Consultation
|
||||||
busquedamotivocancelacionEquivalenciaController.btnCerrar.tooltiptext = Close
|
busquedamotivocancelacionEquivalenciaController.btnCerrar.tooltiptext = Close
|
||||||
busquedamotivocancelacionEquivalenciaController.btnNovo.tooltiptext = Include
|
busquedamotivocancelacionEquivalenciaController.btnNovo.tooltiptext = Include
|
||||||
busquedamotivocancelacionEquivalenciaController.btnPesquisa.label = Search
|
busquedamotivocancelacionEquivalenciaController.btnPesquisa.label = Search
|
||||||
|
@ -2526,6 +2527,14 @@ editarAlertaCtrlController.corridaNoEncontrada.label = No service with this id w
|
||||||
editarAlertaCtrlController.window.title = Alert Configuration
|
editarAlertaCtrlController.window.title = Alert Configuration
|
||||||
#Menu Alias Classe
|
#Menu Alias Classe
|
||||||
editarAliasClasseController.window.title = Class Alias
|
editarAliasClasseController.window.title = Class Alias
|
||||||
|
editarAliasServicoController.tipoClasseConfortoMonitrip.classeConfortoMonitrip = Monitrip Comfort Class
|
||||||
|
editarAliasServicoController.indSomenteImpressao = Print Only
|
||||||
|
editarAliasServicoController.tooltiptext.indSomenteImpressao = Monitrip Service Type Code
|
||||||
|
editarAliasServicoController.tipoClasseConfortoMonitrip.cama = BED
|
||||||
|
editarAliasServicoController.tipoClasseConfortoMonitrip.leito = BED
|
||||||
|
editarAliasServicoController.tipoClasseConfortoMonitrip.semileito = SEMILEIT
|
||||||
|
editarAliasServicoController.tipoClasseConfortoMonitrip.executiva = EXECUTIVE
|
||||||
|
editarAliasServicoController.tipoClasseConfortoMonitrip.basica = BASIC
|
||||||
editarAliasServicoController.MSG.borrarOK = Alias Location deleted successfully.
|
editarAliasServicoController.MSG.borrarOK = Alias Location deleted successfully.
|
||||||
editarAliasServicoController.MSG.borrarPergunta = Do you want to delete Location Alias?
|
editarAliasServicoController.MSG.borrarPergunta = Do you want to delete Location Alias?
|
||||||
editarAliasServicoController.MSG.camposObrigatorios = It is necessary to inform the Origin, Destination and Line
|
editarAliasServicoController.MSG.camposObrigatorios = It is necessary to inform the Origin, Destination and Line
|
||||||
|
@ -2898,14 +2907,18 @@ editarCategoriaController.MSG.borrarOK = Passage Type Deleted Successfully.
|
||||||
editarCategoriaController.MSG.borrarPergunta = Do you want to delete this type of ticket?
|
editarCategoriaController.MSG.borrarPergunta = Do you want to delete this type of ticket?
|
||||||
editarCategoriaController.MSG.suscribirOK = Passage Type Registered Successfully.
|
editarCategoriaController.MSG.suscribirOK = Passage Type Registered Successfully.
|
||||||
editarCategoriaController.MSG.tiempo = Minimum time greater than maximum time
|
editarCategoriaController.MSG.tiempo = Minimum time greater than maximum time
|
||||||
|
editarCategoriaController.btnAdcionarForm.tooltiptext = Add Authorization Form
|
||||||
editarCategoriaController.btnApagar.tooltiptext = Delete
|
editarCategoriaController.btnApagar.tooltiptext = Delete
|
||||||
editarCategoriaController.btnFechar.tooltiptext = Close
|
editarCategoriaController.btnFechar.tooltiptext = Close
|
||||||
|
editarCategoriaController.btnRemoverForm.tooltiptex = Remove Authorization Form
|
||||||
editarCategoriaController.btnSalvar.tooltiptext = Save
|
editarCategoriaController.btnSalvar.tooltiptext = Save
|
||||||
|
editarCategoriaController.indEmiteFormularioAutorizacao.value = Issuance of Authorization Form
|
||||||
editarCategoriaController.indIntegracaoAGR.value = Enable AGR API Integration
|
editarCategoriaController.indIntegracaoAGR.value = Enable AGR API Integration
|
||||||
editarCategoriaController.lbCvecategoria.value = Acronym
|
editarCategoriaController.lbCvecategoria.value = Acronym
|
||||||
editarCategoriaController.lbDescImpresionGratuidade.value = Description Free Printing
|
editarCategoriaController.lbDescImpresionGratuidade.value = Description Free Printing
|
||||||
editarCategoriaController.lbDescontoBPe.value = BPe Discount
|
editarCategoriaController.lbDescontoBPe.value = BPe Discount
|
||||||
editarCategoriaController.lbDescontoMonitrip.value = Monitrip Discount
|
editarCategoriaController.lbDescontoMonitrip.value = Monitrip Discount
|
||||||
|
editarCategoriaController.lbEmpresa.value = Company
|
||||||
editarCategoriaController.lbGrupoCategoria.value = Category Group
|
editarCategoriaController.lbGrupoCategoria.value = Category Group
|
||||||
editarCategoriaController.lbIndExigeIdentidade.value = Identification requirement
|
editarCategoriaController.lbIndExigeIdentidade.value = Identification requirement
|
||||||
editarCategoriaController.lbIndconferenciafisicacomissao.value = Require Physical Conference Committee
|
editarCategoriaController.lbIndconferenciafisicacomissao.value = Require Physical Conference Committee
|
||||||
|
@ -2913,10 +2926,7 @@ editarCategoriaController.lbIndemitetermorecusa.value = Issues Refusal Term
|
||||||
editarCategoriaController.lbIndnaousaassento.value = Do not use a seat when selling a package
|
editarCategoriaController.lbIndnaousaassento.value = Do not use a seat when selling a package
|
||||||
editarCategoriaController.lbIndvendenaapi.value = Sell on API
|
editarCategoriaController.lbIndvendenaapi.value = Sell on API
|
||||||
editarCategoriaController.lbNome.value = Description
|
editarCategoriaController.lbNome.value = Description
|
||||||
editarCategoriaController.indEmiteFormularioAutorizacao.value = Issuance of Authorization Form
|
editarCategoriaController.lbAutPassageiro.value = Passenger Authorization
|
||||||
editarCategoriaController.btnAdcionarForm.tooltiptext = Add Authorization Form
|
|
||||||
editarCategoriaController.btnRemoverForm.tooltiptex = Remove Authorization Form
|
|
||||||
editarCategoriaController.lbEmpresa.value = Company
|
|
||||||
# Pantalla Editar CategorÃa
|
# Pantalla Editar CategorÃa
|
||||||
editarCategoriaController.window.title = Passage Type
|
editarCategoriaController.window.title = Passage Type
|
||||||
editarCiudadController.MSG.borrarOK = City Deleted Successfully.
|
editarCiudadController.MSG.borrarOK = City Deleted Successfully.
|
||||||
|
@ -4135,7 +4145,7 @@ editarContigencia.tabela.motivo = REASON
|
||||||
editarContigencia.tabela.status = STATUS
|
editarContigencia.tabela.status = STATUS
|
||||||
editarContigencia.tabela.usuario = USER
|
editarContigencia.tabela.usuario = USER
|
||||||
editarContigencia.window.title = Contingency
|
editarContigencia.window.title = Contingency
|
||||||
editarContratoController.MSG.camposObrigatorios = It is necessary to inform the fields: Corporate Customer, Contract Group, Contract Number, Start Date and End Date
|
editarContratoController.MSG.camposObrigatorios = It is necessary to inform the fields: Legalized Value, Carrier Value, Carrier
|
||||||
editarContratoController.MSG.camposObrigatoriosAdicao = It is necessary to inform the fields: Value, Observation, Operation
|
editarContratoController.MSG.camposObrigatoriosAdicao = It is necessary to inform the fields: Value, Observation, Operation
|
||||||
editarContratoController.MSG.confirmacaoAdicao = This action will modify the balance of the contract, do you confirm the operation?
|
editarContratoController.MSG.confirmacaoAdicao = This action will modify the balance of the contract, do you confirm the operation?
|
||||||
editarContratoController.MSG.contratoExiste = A record with this contract number already exists.
|
editarContratoController.MSG.contratoExiste = A record with this contract number already exists.
|
||||||
|
@ -4161,6 +4171,7 @@ editarConvenioController.MSG.erro.trechosPertenceLinhas = Excerpts provided do n
|
||||||
editarConvenioController.MSG.erroDescontoNaoNormal = Non-normal discount can contain only one document in the list
|
editarConvenioController.MSG.erroDescontoNaoNormal = Non-normal discount can contain only one document in the list
|
||||||
editarConvenioController.MSG.infoQuantidade = Enter the Quantity
|
editarConvenioController.MSG.infoQuantidade = Enter the Quantity
|
||||||
editarConvenioController.MSG.necessaitaPorcentaje.value = You need to enter a percentage
|
editarConvenioController.MSG.necessaitaPorcentaje.value = You need to enter a percentage
|
||||||
|
editarConvenioController.MSG.necessaitaempresacampanha.value = Nescessita informar uma empresa para a Campanha
|
||||||
editarConvenioController.MSG.pocentaje = More than one discount allowed for different ticket ranges
|
editarConvenioController.MSG.pocentaje = More than one discount allowed for different ticket ranges
|
||||||
editarConvenioController.MSG.registroTraslapado = The document number entered overlaps with an existing one
|
editarConvenioController.MSG.registroTraslapado = The document number entered overlaps with an existing one
|
||||||
editarConvenioController.MSG.suscribirOK = Agreement Registered Successfully.
|
editarConvenioController.MSG.suscribirOK = Agreement Registered Successfully.
|
||||||
|
@ -4227,7 +4238,6 @@ editarConvenioController.tabTrecho.origem.value = Origin
|
||||||
editarConvenioController.tabUsuario.usuario.idUsuario.value = User ID
|
editarConvenioController.tabUsuario.usuario.idUsuario.value = User ID
|
||||||
editarConvenioController.tabUsuario.usuario.nomeUsuario.value = Name
|
editarConvenioController.tabUsuario.usuario.nomeUsuario.value = Name
|
||||||
editarConvenioController.tabUsuario.value = User
|
editarConvenioController.tabUsuario.value = User
|
||||||
editarConvenioController.MSG.necessaitaempresacampanha.value=Nescessita informar uma empresa para a Campanha
|
|
||||||
# Editar Convênio
|
# Editar Convênio
|
||||||
editarConvenioController.window.title = Agreement - Discount
|
editarConvenioController.window.title = Agreement - Discount
|
||||||
editarCortesiaTipoDireccionController.MSG.BorrarOK = Courtesy of Board Type Successfully Deleted.
|
editarCortesiaTipoDireccionController.MSG.BorrarOK = Courtesy of Board Type Successfully Deleted.
|
||||||
|
@ -5064,6 +5074,9 @@ editarFechamentoParamgeralController.MSG.empresaNaoInformada = Necessary to info
|
||||||
editarFechamentoParamgeralController.MSG.suscribirOK = Cta Cte and Boletoo Closing Configuration saved successfully.
|
editarFechamentoParamgeralController.MSG.suscribirOK = Cta Cte and Boletoo Closing Configuration saved successfully.
|
||||||
# Editar Configuração de Boleto
|
# Editar Configuração de Boleto
|
||||||
editarFechamentoParamgeralController.window.title = Cta Cte and Boleto Closing Configuration - Edit General Parameter
|
editarFechamentoParamgeralController.window.title = Cta Cte and Boleto Closing Configuration - Edit General Parameter
|
||||||
|
editarFormAutorizacaoController.MSG.borrarOK = Record deleted successfully.
|
||||||
|
editarFormAutorizacaoController.MSG.borrarPergunta = Do you want to delete this record ?
|
||||||
|
editarFormAutorizacaoController.window.title = Authorization Form
|
||||||
editarFormaPagoController.MSG.borrarOK = Payment Method Deleted Successfully.
|
editarFormaPagoController.MSG.borrarOK = Payment Method Deleted Successfully.
|
||||||
editarFormaPagoController.MSG.borrarPergunta = Do you want to delete payment method?
|
editarFormaPagoController.MSG.borrarPergunta = Do you want to delete payment method?
|
||||||
editarFormaPagoController.MSG.existe.registro = There is already a record with this data.
|
editarFormaPagoController.MSG.existe.registro = There is already a record with this data.
|
||||||
|
@ -5198,12 +5211,12 @@ editarImagemController.fileupload.label = Select Image
|
||||||
editarImagemController.lbNome.value = Image
|
editarImagemController.lbNome.value = Image
|
||||||
# Pantalla Editar Imagem
|
# Pantalla Editar Imagem
|
||||||
editarImagemController.window.title = Image
|
editarImagemController.window.title = Image
|
||||||
editarImpresionLayoutConfigController.btnRedesenhar.value = Redraw
|
|
||||||
editarImpresionLayoutConfigController.MSG.borrarOK = Layout Deleted Successfully.
|
editarImpresionLayoutConfigController.MSG.borrarOK = Layout Deleted Successfully.
|
||||||
editarImpresionLayoutConfigController.MSG.borrarPergunta = Delete Layout?
|
editarImpresionLayoutConfigController.MSG.borrarPergunta = Delete Layout?
|
||||||
editarImpresionLayoutConfigController.MSG.suscribirOK = Layout Registered Successfully.
|
editarImpresionLayoutConfigController.MSG.suscribirOK = Layout Registered Successfully.
|
||||||
editarImpresionLayoutConfigController.btnApagar.tooltiptext = Delete
|
editarImpresionLayoutConfigController.btnApagar.tooltiptext = Delete
|
||||||
editarImpresionLayoutConfigController.btnFechar.tooltiptext = Close
|
editarImpresionLayoutConfigController.btnFechar.tooltiptext = Close
|
||||||
|
editarImpresionLayoutConfigController.btnRedesenhar.value = Redraw
|
||||||
editarImpresionLayoutConfigController.btnSalvar.tooltiptext = Save
|
editarImpresionLayoutConfigController.btnSalvar.tooltiptext = Save
|
||||||
editarImpresionLayoutConfigController.cmbLinguagemImpresion = Language
|
editarImpresionLayoutConfigController.cmbLinguagemImpresion = Language
|
||||||
editarImpresionLayoutConfigController.window.title = Edit Voucher Layout
|
editarImpresionLayoutConfigController.window.title = Edit Voucher Layout
|
||||||
|
@ -5214,6 +5227,7 @@ editarIntComprovantePassagem.MSG.suscribirOK = Registration registered successfu
|
||||||
editarIntComprovantePassagem.URL = URL
|
editarIntComprovantePassagem.URL = URL
|
||||||
editarIntComprovantePassagem.apiKey = API KEY
|
editarIntComprovantePassagem.apiKey = API KEY
|
||||||
editarIntComprovantePassagem.empresa = Company
|
editarIntComprovantePassagem.empresa = Company
|
||||||
|
editarIntComprovantePassagem.idiomaTemplate = Language Template
|
||||||
editarIntComprovantePassagem.nomeTemplate = Template Name
|
editarIntComprovantePassagem.nomeTemplate = Template Name
|
||||||
editarIntComprovantePassagem.remetente = Sender
|
editarIntComprovantePassagem.remetente = Sender
|
||||||
editarIntComprovantePassagem.tipoIntegracao = Type Integration
|
editarIntComprovantePassagem.tipoIntegracao = Type Integration
|
||||||
|
@ -7277,6 +7291,9 @@ editarVigenciaTarifaController.btnFechar.tooltiptext = Close
|
||||||
editarVigenciaTarifaController.btnSalvar.tooltiptext = Save
|
editarVigenciaTarifaController.btnSalvar.tooltiptext = Save
|
||||||
# Editar Vigência Tarifa
|
# Editar Vigência Tarifa
|
||||||
editarVigenciaTarifaController.window.title = Tariff Validity
|
editarVigenciaTarifaController.window.title = Tariff Validity
|
||||||
|
editarVoucherController.MSG.camposObrigatoriosLegalizar = It is necessary to inform the fields: Legalized Value, Carrier Value, Carrier
|
||||||
|
editarVoucherController.tab.legalizar = Legalize
|
||||||
|
editarVoucherController.tab.voucher = Voucher
|
||||||
envioNominaController.lhEnviar.label = Send Name
|
envioNominaController.lhEnviar.label = Send Name
|
||||||
envioNominaController.window.title = Nominated Shipping
|
envioNominaController.window.title = Nominated Shipping
|
||||||
envioNominaControllerController.MSG.enviarOK = Sent the Nomina Successfully.
|
envioNominaControllerController.MSG.enviarOK = Sent the Nomina Successfully.
|
||||||
|
@ -7521,32 +7538,63 @@ indexController.mnEquivalencia.label = Equivalencia
|
||||||
indexController.mnEsquemaOperacional.label = Esquema Operacional
|
indexController.mnEsquemaOperacional.label = Esquema Operacional
|
||||||
#Expressos
|
#Expressos
|
||||||
indexController.mnExpressos.label = Express
|
indexController.mnExpressos.label = Express
|
||||||
indexController.mniExpressosPorCotizar.label = Express to quote
|
indexController.mniExpressosPorCotizar.label = Express to be quoted
|
||||||
expressosPorCotizarFechaInicioController.lblDesc.label = Start Date
|
indexController.mniExpressosCargaContrato.label = Contract Charge
|
||||||
expressosPorCotizarFechaFinController.lblDesc.label = End Date
|
indexController.mniExpressosProgramacionVehiculos.label = Vehicle Programming
|
||||||
|
|
||||||
|
verDetalleExpreso.window.title = Express Detail
|
||||||
|
expresosPorCotizarCotizar.window.title = Express Quote
|
||||||
|
|
||||||
|
expressosPorCotizarFechaInicioController.lblDesc.label = Start date
|
||||||
|
expressosPorCotizarFechaFinController.lblDesc.label = End date
|
||||||
expressosPorCotizarEmpresaController.lblDesc.label = Company
|
expressosPorCotizarEmpresaController.lblDesc.label = Company
|
||||||
expressosPorCotizarServiciosInactivosController.lblDesc.label = Inactive Services
|
expressosPorCotizarServiciosInactivosController.lblDesc.label = Inactive services
|
||||||
expressosPorCotizarController.btnPesquisa.label = Search
|
expressosPorCotizarController.btnPesquisa.label = Look for
|
||||||
expressosPorCotizarController.lhNumSolicitud.label = # Application
|
expressosPorCotizarController.lhNumSolicitud.label = # Application
|
||||||
expressosPorCotizarController.lhFechaSolicitud.label = Application Date
|
expressosPorCotizarController.lhFechaSolicitud.label = Application date
|
||||||
expressosPorCotizarController.lhRuta.label = Route
|
expressosPorCotizarController.lhRuta.label = Route
|
||||||
expressosPorCotizarController.lhIdaRegreso.label = Round Trip
|
expressosPorCotizarController.lhIdaRegreso.label = Round trip
|
||||||
expressosPorCotizarController.lhFechaIda.label = Departure Date
|
expressosPorCotizarController.lhFechaIda.label = Departure date
|
||||||
expressosPorCotizarController.lhFechaRegreso.label = Return Date
|
expressosPorCotizarController.lhFechaRegreso.label = Return Date
|
||||||
expressosPorCotizarController.lhSitioRecogidaIda.label = Pick-up Site
|
expressosPorCotizarController.lhSitioRecogidaIda.label = Site Pickup Going
|
||||||
expressosPorCotizarController.lhSitioRecogidaRegreso.label = Return Pick-up Site
|
expressosPorCotizarController.lhSitioRecogidaRegreso.label = Site Pickup Return
|
||||||
expressosPorCotizarController.lhEstadiaConductor.label = Driver Stay
|
expressosPorCotizarController.lhEstadiaConductor.label = Driver Stay
|
||||||
expressosPorCotizarBuscarController.lblDesc.label = Search
|
expressosPorCotizarBuscarController.lblDesc.label = Look for
|
||||||
expressosPorCotizarVerDetalleController.lblDesc.label = Details
|
expressosPorCotizarVerDetalleController.lblDesc.label = See detail
|
||||||
expressosPorCotizarPagoCreditoController.lblDesc.label = Payment on Credit
|
expressosPorCotizarPagoCreditoController.lblDesc.label = Credit Payment
|
||||||
expresosPorCotizarPagoCredito.window.title = Payment on Credit
|
indexController.mniExpressosPorCotizar.label = Express to be quoted
|
||||||
|
expresosPorCotizarPagoCredito.window.title = Credit Payment
|
||||||
expressosPorCotizarCotizarController.lblDesc.label = Quote
|
expressosPorCotizarCotizarController.lblDesc.label = Quote
|
||||||
expresosPorCotizarCotizar.window.title = Quote Express
|
|
||||||
expressosPorCotizarController.lhCantidadPasajeros.label = Number of Passengers
|
expressosPorCotizarController.lhCantidadPasajeros.label = Number of Passengers
|
||||||
expressosPorCotizarController.lhAdjuntarCotizacion.label = Attach Quote
|
expressosPorCotizarController.lhAdjuntarCotizacion.label = Attach Quote
|
||||||
indexController.mnCortesias.label = Courtesies for Employees
|
expressosPorCotizarController.lhCantidadVehiculos.label = Vehicle Quantity
|
||||||
indexController.mnEquivalencia.label = Equivalence
|
expressosPorCotizarController.lhValorTrayecto.label = Trip Value
|
||||||
indexController.mnEsquemaOperacional.label = Operating Scheme
|
expressosPorCotizarController.lblOrigen.label = Origin
|
||||||
|
expressosPorCotizarController.lblDestino.label = Destination
|
||||||
|
expressosPorCotizarController.lblAgregarTrayecto.label = Add Trip
|
||||||
|
cargarContratoController.lhAdjuntarContrato.label = Load Contract
|
||||||
|
expressosPorCotizarController.lhTrayecto.label = Journey
|
||||||
|
expressosPorCotizarController.lhCodigoViaje.label = Trip Code
|
||||||
|
expressosPorCotizarController.lhPlacaVehiculo.label = Plate
|
||||||
|
expressosPorCotizarController.lhFluecPlanilla.label = FLUEC - Occasional Return
|
||||||
|
asignarBusExpreso.window.title = Express Trip
|
||||||
|
expresosController.lbl.cargarFluec = Load FLUEC
|
||||||
|
expresosController.lbl.cargarPlaca = Load Plate
|
||||||
|
|
||||||
|
indexController.mniExpressosDocumentos.label = Documents
|
||||||
|
|
||||||
|
expresosController.lbl.verDetalle = See detail
|
||||||
|
expresosController.lbl.asignarBus = Assign Bus
|
||||||
|
expresosController.lbl.pagadoCredito = Paid on Credit
|
||||||
|
expresosController.lbl.idaVuelta = Round trip
|
||||||
|
expresosController.lbl.idaVuelta = Going
|
||||||
|
|
||||||
|
expresoController.MSG.errorArchivo = Invalid or null file
|
||||||
|
cargaContratoController.MSG.errorExpresoNull = Select Express to Associate Contract
|
||||||
|
cotizarExpresoController.MSG.emailEnviado = Correct Express Quote
|
||||||
|
expresoController.MSG.emailNoEnviado = There's been a problem. Please check logs
|
||||||
|
expresoController.MSG.asuntoCorreoCotizacion = Quoted Express Request
|
||||||
|
expresoController.MSG.cuerpoCorreoCotizacion = Dear {0}, the express request has been quoted, in the following link {1} you can accept the quote and make the payment.
|
||||||
#GR
|
#GR
|
||||||
indexController.mnGR.label = Passing Stock
|
indexController.mnGR.label = Passing Stock
|
||||||
#Gestao de Pricing
|
#Gestao de Pricing
|
||||||
|
@ -7874,6 +7922,14 @@ indexController.mniRelatorioRemarcacaoDevolucao.label = Redial/Refund
|
||||||
indexController.mniRelatorioRemarcacaoPassagensTransferencia.label = Ticket/Transfer Rebooking
|
indexController.mniRelatorioRemarcacaoPassagensTransferencia.label = Ticket/Transfer Rebooking
|
||||||
# Relatório CNAB
|
# Relatório CNAB
|
||||||
indexController.mniRelatorioRemessaCNAB.label = Batch Shipment (CNAB 400)
|
indexController.mniRelatorioRemessaCNAB.label = Batch Shipment (CNAB 400)
|
||||||
|
relatorioRemessaCNAB.exception.ValidacaoRemessaConvenioException=The agreement code does not match the bank code \r\nplease contact support!
|
||||||
|
relatorioRemessaCNAB.exception.ValidacaoRemessaMontagemCabecalhoException=There was an error assembling the shipping file header\r\nPlease contact support!
|
||||||
|
relatorioRemessaCNAB.exception.ValidacaoRemessaCNPJException=The CNPJ of the point of sale {0} is out of standard, please correct
|
||||||
|
relatorioRemessaCNAB.exception.ValidacaoRemessaLogradouroException=The street address of the point of sale {0} is out of standard, please correct it.
|
||||||
|
relatorioRemessaCNAB.exception.ValidacaoRemessaBairroException="The neighborhood of the point of sale {0} is out of standard, please correct
|
||||||
|
relatorioRemessaCNAB.exception.ValidacaoRemessaCidadeException=The city of the point of sale {0} is out of standard, please correct
|
||||||
|
relatorioRemessaCNAB.exception.ValidacaoRemessaEstadoException=The state of the point of sale {0} is out of standard, please correct
|
||||||
|
relatorioRemessaCNAB.exception.ValidacaoRemessaCVEEstadoException=The CVE State of the point of sale {0} is out of standard, please correct
|
||||||
indexController.mniRelatorioResumoLinhas.label = Line Summary
|
indexController.mniRelatorioResumoLinhas.label = Line Summary
|
||||||
indexController.mniRelatorioResumoVendaOrgaoConcedente.label = Sale Summary Report Granting Authority
|
indexController.mniRelatorioResumoVendaOrgaoConcedente.label = Sale Summary Report Granting Authority
|
||||||
# Retorno Bancario
|
# Retorno Bancario
|
||||||
|
@ -7971,6 +8027,7 @@ indexController.mniVersion.label = Version
|
||||||
indexController.mniVia.label = Via
|
indexController.mniVia.label = Via
|
||||||
indexController.mniVigenciaTarifa.label = Rates Validity
|
indexController.mniVigenciaTarifa.label = Rates Validity
|
||||||
indexController.mniVisualizaSenhaInstalacaoVendaEmbarcada.label = View Installation Password
|
indexController.mniVisualizaSenhaInstalacaoVendaEmbarcada.label = View Installation Password
|
||||||
|
indexController.mniVoucher.label = Voucher
|
||||||
#busquedaMensagemRecusa
|
#busquedaMensagemRecusa
|
||||||
indexController.mnimMensagemRecusa.label = Refusal Message
|
indexController.mnimMensagemRecusa.label = Refusal Message
|
||||||
indexController.mnirELRelatorioGratuidadeAGR.label = AGR Free Report
|
indexController.mnirELRelatorioGratuidadeAGR.label = AGR Free Report
|
||||||
|
@ -8072,6 +8129,7 @@ label.criacao = Creation
|
||||||
label.dataFinal = End Date
|
label.dataFinal = End Date
|
||||||
label.dataInicial = Start Date
|
label.dataInicial = Start Date
|
||||||
label.dataOperacao = Operation Date
|
label.dataOperacao = Operation Date
|
||||||
|
label.dataValidade = Expiration date
|
||||||
label.debito = Debit
|
label.debito = Debit
|
||||||
label.desconto = Discount
|
label.desconto = Discount
|
||||||
label.descricao = Description
|
label.descricao = Description
|
||||||
|
@ -8091,17 +8149,25 @@ label.nit = nit
|
||||||
label.numContrato = Contract Number
|
label.numContrato = Contract Number
|
||||||
#Pantalla Pesquisa Tipo Convênio
|
#Pantalla Pesquisa Tipo Convênio
|
||||||
label.numConvenio = Agreement Number
|
label.numConvenio = Agreement Number
|
||||||
|
label.numFatura = Invoice Number
|
||||||
|
label.numVoucher = Voucher Number
|
||||||
label.numero = Number
|
label.numero = Number
|
||||||
label.observacao = Note
|
label.observacao = Note
|
||||||
label.operacao = Operation
|
label.operacao = Operation
|
||||||
label.orgaoConcedente = Granting Body
|
label.orgaoConcedente = Granting Body
|
||||||
label.origem = Origin
|
label.origem = Origin
|
||||||
label.percentualBonus = Bonus Percentage
|
label.passageiro = Passenger
|
||||||
|
label.percentualVoucher = Voucher Percentage
|
||||||
label.razaoSocial = Corporate name
|
label.razaoSocial = Corporate name
|
||||||
label.reducao = Reduction
|
label.reducao = Reduction
|
||||||
label.representante = Representative
|
label.representante = Representative
|
||||||
label.reservaBilhete = Book Tickets
|
label.reservaBilhete = Book Tickets
|
||||||
label.saldo = Balance
|
label.saldo = Balance
|
||||||
|
label.situacao = Situation
|
||||||
|
label.situacaoVoucher.cancelado = Canceled
|
||||||
|
label.situacaoVoucher.emitido = Issued
|
||||||
|
label.situacaoVoucher.faturado = Invoiced
|
||||||
|
label.situacaoVoucher.legalizado = Legalized
|
||||||
label.status = Status
|
label.status = Status
|
||||||
label.status.ativo = Active
|
label.status.ativo = Active
|
||||||
label.status.digitado = Typed
|
label.status.digitado = Typed
|
||||||
|
@ -8130,8 +8196,12 @@ label.tipoLancamento.reducao = Reduction
|
||||||
label.tipoTarifa = Rate Type
|
label.tipoTarifa = Rate Type
|
||||||
label.tipoTarifa.fixa = Fixed
|
label.tipoTarifa.fixa = Fixed
|
||||||
label.tipoTarifa.variavel = Variable
|
label.tipoTarifa.variavel = Variable
|
||||||
|
label.transportadora = Carrier
|
||||||
label.valor = Value
|
label.valor = Value
|
||||||
label.valorContrato = Contract Value
|
label.valorContrato = Contract Value
|
||||||
|
label.valorLegalizado = Legalized Value
|
||||||
|
label.valorLicitado = Bid Value
|
||||||
|
label.valorTransportadora = Carrier Value
|
||||||
lb.CentroResultado = Result Center
|
lb.CentroResultado = Result Center
|
||||||
lb.Equivalencia = Equivalence
|
lb.Equivalencia = Equivalence
|
||||||
lb.ate = until
|
lb.ate = until
|
||||||
|
@ -10221,8 +10291,3 @@ winMovimentacionBilhetesPuntoVenta.numSerie.label = Series
|
||||||
winMovimentacionBilhetesPuntoVenta.origem.label = Origin
|
winMovimentacionBilhetesPuntoVenta.origem.label = Origin
|
||||||
winMovimentacionBilhetesPuntoVenta.puntoventa.label = Ag.
|
winMovimentacionBilhetesPuntoVenta.puntoventa.label = Ag.
|
||||||
winMovimentacionBilhetesPuntoVenta.tipoMovimentacion.label = Nature
|
winMovimentacionBilhetesPuntoVenta.tipoMovimentacion.label = Nature
|
||||||
editarIntComprovantePassagem.idiomaTemplate= Language Template
|
|
||||||
# Form Autorizacao Tipo de Passagem
|
|
||||||
editarFormAutorizacaoController.MSG.borrarPergunta = Do you want to delete this record ?
|
|
||||||
editarFormAutorizacaoController.window.title = Authorization Form
|
|
||||||
editarFormAutorizacaoController.MSG.borrarOK = Record deleted successfully.
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -2114,6 +2114,7 @@ busquedaVigenciaTarifaController.lhFecInicio.label = Data Início
|
||||||
busquedaVigenciaTarifaController.lhID.value = ID
|
busquedaVigenciaTarifaController.lhID.value = ID
|
||||||
# Pesquisa Vigência Tarifa
|
# Pesquisa Vigência Tarifa
|
||||||
busquedaVigenciaTarifaController.window.title = Vigência Tarifa
|
busquedaVigenciaTarifaController.window.title = Vigência Tarifa
|
||||||
|
busquedaVoucherController.window.title = Consulta Voucher
|
||||||
busquedamotivocancelacionEquivalenciaController.btnCerrar.tooltiptext = Fechar
|
busquedamotivocancelacionEquivalenciaController.btnCerrar.tooltiptext = Fechar
|
||||||
busquedamotivocancelacionEquivalenciaController.btnNovo.tooltiptext = Incluir
|
busquedamotivocancelacionEquivalenciaController.btnNovo.tooltiptext = Incluir
|
||||||
busquedamotivocancelacionEquivalenciaController.btnPesquisa.label = Pesquisa
|
busquedamotivocancelacionEquivalenciaController.btnPesquisa.label = Pesquisa
|
||||||
|
@ -2526,6 +2527,15 @@ editarAlertaCtrlController.corridaNoEncontrada.label = Não foi encontrado nenhu
|
||||||
editarAlertaCtrlController.window.title = Configuração de Alerta
|
editarAlertaCtrlController.window.title = Configuração de Alerta
|
||||||
#Menu Alias Classe
|
#Menu Alias Classe
|
||||||
editarAliasClasseController.window.title = Alias Classe
|
editarAliasClasseController.window.title = Alias Classe
|
||||||
|
editarAliasServicoController.tipoClasseConfortoMonitrip.classeConfortoMonitrip = Classe Conforto Monitrip
|
||||||
|
editarAliasServicoController.indSomenteImpressao = Somente Impressão
|
||||||
|
editarAliasServicoController.tooltiptext.indSomenteImpressao = Codigo TipoServiço Monitrip
|
||||||
|
editarAliasServicoController.tipoClasseConfortoMonitrip.cama = CAMA
|
||||||
|
editarAliasServicoController.tipoClasseConfortoMonitrip.leito = LEITO
|
||||||
|
editarAliasServicoController.tipoClasseConfortoMonitrip.semileito = SEMILEITO
|
||||||
|
editarAliasServicoController.tipoClasseConfortoMonitrip.executiva = EXECUTIVA
|
||||||
|
editarAliasServicoController.tipoClasseConfortoMonitrip.basica = BASICA
|
||||||
|
|
||||||
editarAliasServicoController.MSG.borrarOK = Alias Localidade apagado com sucesso.
|
editarAliasServicoController.MSG.borrarOK = Alias Localidade apagado com sucesso.
|
||||||
editarAliasServicoController.MSG.borrarPergunta = Deseja apagar Alias Localidade?
|
editarAliasServicoController.MSG.borrarPergunta = Deseja apagar Alias Localidade?
|
||||||
editarAliasServicoController.MSG.camposObrigatorios = É necessário informar a Origem, Destino e Linha
|
editarAliasServicoController.MSG.camposObrigatorios = É necessário informar a Origem, Destino e Linha
|
||||||
|
@ -2898,14 +2908,18 @@ editarCategoriaController.MSG.borrarOK = Tipo de Passagem Excluido com Sucesso.
|
||||||
editarCategoriaController.MSG.borrarPergunta = Deseja Eliminar este tipo de passagem?
|
editarCategoriaController.MSG.borrarPergunta = Deseja Eliminar este tipo de passagem?
|
||||||
editarCategoriaController.MSG.suscribirOK = Tipo de Passagem Registrado com Sucesso.
|
editarCategoriaController.MSG.suscribirOK = Tipo de Passagem Registrado com Sucesso.
|
||||||
editarCategoriaController.MSG.tiempo = Tempo mínimo maior que tempo máximo
|
editarCategoriaController.MSG.tiempo = Tempo mínimo maior que tempo máximo
|
||||||
|
editarCategoriaController.btnAdcionarForm.tooltiptext = Adicionar Formulário de Autorização
|
||||||
editarCategoriaController.btnApagar.tooltiptext = Eliminar
|
editarCategoriaController.btnApagar.tooltiptext = Eliminar
|
||||||
editarCategoriaController.btnFechar.tooltiptext = Fechar
|
editarCategoriaController.btnFechar.tooltiptext = Fechar
|
||||||
|
editarCategoriaController.btnRemoverForm.tooltiptex = Remover Formulário de Autorização
|
||||||
editarCategoriaController.btnSalvar.tooltiptext = Salvar
|
editarCategoriaController.btnSalvar.tooltiptext = Salvar
|
||||||
|
editarCategoriaController.indEmiteFormularioAutorizacao.value = Emite Formulário de Autorização
|
||||||
editarCategoriaController.indIntegracaoAGR.value = Habilitar Integração API AGR
|
editarCategoriaController.indIntegracaoAGR.value = Habilitar Integração API AGR
|
||||||
editarCategoriaController.lbCvecategoria.value = Sigla
|
editarCategoriaController.lbCvecategoria.value = Sigla
|
||||||
editarCategoriaController.lbDescImpresionGratuidade.value = Descrição Impressão Gratuidade
|
editarCategoriaController.lbDescImpresionGratuidade.value = Descrição Impressão Gratuidade
|
||||||
editarCategoriaController.lbDescontoBPe.value = Desconto BPe
|
editarCategoriaController.lbDescontoBPe.value = Desconto BPe
|
||||||
editarCategoriaController.lbDescontoMonitrip.value = Desconto Monitrip
|
editarCategoriaController.lbDescontoMonitrip.value = Desconto Monitrip
|
||||||
|
editarCategoriaController.lbEmpresa.value = Empresa
|
||||||
editarCategoriaController.lbGrupoCategoria.value = Grupo Categoria
|
editarCategoriaController.lbGrupoCategoria.value = Grupo Categoria
|
||||||
editarCategoriaController.lbIndExigeIdentidade.value = Exigência de identificação
|
editarCategoriaController.lbIndExigeIdentidade.value = Exigência de identificação
|
||||||
editarCategoriaController.lbIndconferenciafisicacomissao.value = Exigir Conferência Fisíca Comissão
|
editarCategoriaController.lbIndconferenciafisicacomissao.value = Exigir Conferência Fisíca Comissão
|
||||||
|
@ -2913,10 +2927,7 @@ editarCategoriaController.lbIndemitetermorecusa.value = Emite Termo de Recusa
|
||||||
editarCategoriaController.lbIndnaousaassento.value = Não usar assento na venda de pacote
|
editarCategoriaController.lbIndnaousaassento.value = Não usar assento na venda de pacote
|
||||||
editarCategoriaController.lbIndvendenaapi.value = Vende na API
|
editarCategoriaController.lbIndvendenaapi.value = Vende na API
|
||||||
editarCategoriaController.lbNome.value = Descrição
|
editarCategoriaController.lbNome.value = Descrição
|
||||||
editarCategoriaController.indEmiteFormularioAutorizacao.value = Emite Formulário de Autorização
|
editarCategoriaController.lbAutPassageiro.value = Aut. de Passageiro
|
||||||
editarCategoriaController.btnAdcionarForm.tooltiptext = Adicionar Formulário de Autorização
|
|
||||||
editarCategoriaController.btnRemoverForm.tooltiptex = Remover Formulário de Autorização
|
|
||||||
editarCategoriaController.lbEmpresa.value = Empresa
|
|
||||||
# Pantalla Editar CategorÃa
|
# Pantalla Editar CategorÃa
|
||||||
editarCategoriaController.window.title = Tipo de Passagem
|
editarCategoriaController.window.title = Tipo de Passagem
|
||||||
editarCiudadController.MSG.borrarOK = Cidade Excluida com Sucesso.
|
editarCiudadController.MSG.borrarOK = Cidade Excluida com Sucesso.
|
||||||
|
@ -4135,7 +4146,7 @@ editarContigencia.tabela.motivo = MOTIVO
|
||||||
editarContigencia.tabela.status = STATUS
|
editarContigencia.tabela.status = STATUS
|
||||||
editarContigencia.tabela.usuario = USUARIO
|
editarContigencia.tabela.usuario = USUARIO
|
||||||
editarContigencia.window.title = Contingência
|
editarContigencia.window.title = Contingência
|
||||||
editarContratoController.MSG.camposObrigatorios = É necessário informar os campos: Cliente Corporativo, Grupo de Contrato, Numero Contrato, Data Inicial e Data Final
|
editarContratoController.MSG.camposObrigatorios = É necessário informar os campos: Valor Legalizado, Valor Transportadora, Transportadora
|
||||||
editarContratoController.MSG.camposObrigatoriosAdicao = É necessário informar os campos: Valor, Observação, Operação
|
editarContratoController.MSG.camposObrigatoriosAdicao = É necessário informar os campos: Valor, Observação, Operação
|
||||||
editarContratoController.MSG.confirmacaoAdicao = Está ação modificará o saldo do contrato, Você confirma a operação ?
|
editarContratoController.MSG.confirmacaoAdicao = Está ação modificará o saldo do contrato, Você confirma a operação ?
|
||||||
editarContratoController.MSG.contratoExiste = Já existe um registro com este número de contrato.
|
editarContratoController.MSG.contratoExiste = Já existe um registro com este número de contrato.
|
||||||
|
@ -4161,6 +4172,7 @@ editarConvenioController.MSG.erro.trechosPertenceLinhas = Trechos informados nã
|
||||||
editarConvenioController.MSG.erroDescontoNaoNormal = Desconto não normal pode conter apenas um documento na lista
|
editarConvenioController.MSG.erroDescontoNaoNormal = Desconto não normal pode conter apenas um documento na lista
|
||||||
editarConvenioController.MSG.infoQuantidade = Informe a Quantidade
|
editarConvenioController.MSG.infoQuantidade = Informe a Quantidade
|
||||||
editarConvenioController.MSG.necessaitaPorcentaje.value = Necessita informar uma porcentagem
|
editarConvenioController.MSG.necessaitaPorcentaje.value = Necessita informar uma porcentagem
|
||||||
|
editarConvenioController.MSG.necessaitaempresacampanha.value = Nescessita informar uma empresa para a Campanha
|
||||||
editarConvenioController.MSG.pocentaje = Mais de um desconto permitido para intervalo de passagens diferentes
|
editarConvenioController.MSG.pocentaje = Mais de um desconto permitido para intervalo de passagens diferentes
|
||||||
editarConvenioController.MSG.registroTraslapado = O número do documento informado se sobrepõe com outro já existente
|
editarConvenioController.MSG.registroTraslapado = O número do documento informado se sobrepõe com outro já existente
|
||||||
editarConvenioController.MSG.suscribirOK = Convênio Registrado com Sucesso.
|
editarConvenioController.MSG.suscribirOK = Convênio Registrado com Sucesso.
|
||||||
|
@ -4227,7 +4239,6 @@ editarConvenioController.tabTrecho.origem.value = Origem
|
||||||
editarConvenioController.tabUsuario.usuario.idUsuario.value = Id. Usuário
|
editarConvenioController.tabUsuario.usuario.idUsuario.value = Id. Usuário
|
||||||
editarConvenioController.tabUsuario.usuario.nomeUsuario.value = Nome
|
editarConvenioController.tabUsuario.usuario.nomeUsuario.value = Nome
|
||||||
editarConvenioController.tabUsuario.value = Usuário
|
editarConvenioController.tabUsuario.value = Usuário
|
||||||
editarConvenioController.MSG.necessaitaempresacampanha.value=Nescessita informar uma empresa para a Campanha
|
|
||||||
# Editar Convênio
|
# Editar Convênio
|
||||||
editarConvenioController.window.title = Convênio - Desconto
|
editarConvenioController.window.title = Convênio - Desconto
|
||||||
editarCortesiaTipoDireccionController.MSG.BorrarOK = Cortesia de Tipo Diretoria Excluido com Sucesso.
|
editarCortesiaTipoDireccionController.MSG.BorrarOK = Cortesia de Tipo Diretoria Excluido com Sucesso.
|
||||||
|
@ -4818,7 +4829,7 @@ editarEmpresaEquivalenciaController.cmbEmpresa.value = Empresa
|
||||||
editarEmpresaEquivalenciaController.lbEquivalencia.value = Equivalencia
|
editarEmpresaEquivalenciaController.lbEquivalencia.value = Equivalencia
|
||||||
# Editar Empresa Equivalencia
|
# Editar Empresa Equivalencia
|
||||||
editarEmpresaEquivalenciaController.window.title = Equivalencia Empresa
|
editarEmpresaEquivalenciaController.window.title = Equivalencia Empresa
|
||||||
editarEmpresaImpostoController.bpe.value = Habilitar BPe\\\
|
editarEmpresaImpostoController.bpe.value = Habilitar BPe
|
||||||
editarEmpresaImpostoController.btnApagar.tooltiptext = Eliminar
|
editarEmpresaImpostoController.btnApagar.tooltiptext = Eliminar
|
||||||
editarEmpresaImpostoController.btnFechar.tooltiptext = Fechar
|
editarEmpresaImpostoController.btnFechar.tooltiptext = Fechar
|
||||||
editarEmpresaImpostoController.btnSalvar.tooltiptext = Salvar
|
editarEmpresaImpostoController.btnSalvar.tooltiptext = Salvar
|
||||||
|
@ -4855,7 +4866,7 @@ editarEmpresaImpostoController.lblJunho.value = Junho
|
||||||
editarEmpresaImpostoController.lblMaio.value = Maio
|
editarEmpresaImpostoController.lblMaio.value = Maio
|
||||||
editarEmpresaImpostoController.lblMarco.value = Março
|
editarEmpresaImpostoController.lblMarco.value = Março
|
||||||
editarEmpresaImpostoController.lblNovembro.value = Novembro
|
editarEmpresaImpostoController.lblNovembro.value = Novembro
|
||||||
editarEmpresaImpostoController.lblOutrasUFBloqueadas.value = Bloqueio de demais UF\\\
|
editarEmpresaImpostoController.lblOutrasUFBloqueadas.value = Bloqueio de demais UF
|
||||||
editarEmpresaImpostoController.lblOutrosIsento.value = Tratar outros como isento
|
editarEmpresaImpostoController.lblOutrosIsento.value = Tratar outros como isento
|
||||||
editarEmpresaImpostoController.lblOutubro.value = Outubro
|
editarEmpresaImpostoController.lblOutubro.value = Outubro
|
||||||
editarEmpresaImpostoController.lblPedagio.value = Pedagio
|
editarEmpresaImpostoController.lblPedagio.value = Pedagio
|
||||||
|
@ -4996,7 +5007,7 @@ editarEstadoController.lbPais.value = País
|
||||||
editarEstadoController.lbTimeoutBpe.value = TimeOut BP-e (segundos)
|
editarEstadoController.lbTimeoutBpe.value = TimeOut BP-e (segundos)
|
||||||
editarEstadoController.lbUF.value = UF
|
editarEstadoController.lbUF.value = UF
|
||||||
#Editar Estado
|
#Editar Estado
|
||||||
editarEstadoController.lbl.difHoras = Diferença em Horas do Fuso Horário\\\ \\\
|
editarEstadoController.lbl.difHoras = Diferença em Horas do Fuso Horário
|
||||||
editarEstadoController.lbl.difHuso = Diferença em Horas do Horário de Verão
|
editarEstadoController.lbl.difHuso = Diferença em Horas do Horário de Verão
|
||||||
editarEstadoController.lbl.finHuso = Fim Horário De Verão
|
editarEstadoController.lbl.finHuso = Fim Horário De Verão
|
||||||
editarEstadoController.lbl.horasHuso = Possui horário de verão ?
|
editarEstadoController.lbl.horasHuso = Possui horário de verão ?
|
||||||
|
@ -5068,6 +5079,9 @@ editarFechamentoParamgeralController.MSG.empresaNaoInformada = Necessário infor
|
||||||
editarFechamentoParamgeralController.MSG.suscribirOK = Configuração de Fechamento Cta Cte e Boletoo gravada com sucesso.
|
editarFechamentoParamgeralController.MSG.suscribirOK = Configuração de Fechamento Cta Cte e Boletoo gravada com sucesso.
|
||||||
# Editar Configuração de Boleto
|
# Editar Configuração de Boleto
|
||||||
editarFechamentoParamgeralController.window.title = Configuração de Fechamento Cta Cte e Boleto - Editar Parâmetro Geral
|
editarFechamentoParamgeralController.window.title = Configuração de Fechamento Cta Cte e Boleto - Editar Parâmetro Geral
|
||||||
|
editarFormAutorizacaoController.MSG.borrarOK = Registro apagado com sucesso.
|
||||||
|
editarFormAutorizacaoController.MSG.borrarPergunta = Deseja apagar esse registro ?
|
||||||
|
editarFormAutorizacaoController.window.title = Formulário de Autorização
|
||||||
editarFormaPagoController.MSG.borrarOK = Forma de Pagamento Excluida com Sucesso.
|
editarFormaPagoController.MSG.borrarOK = Forma de Pagamento Excluida com Sucesso.
|
||||||
editarFormaPagoController.MSG.borrarPergunta = Deseja Eliminar Forma de Pagamento?
|
editarFormaPagoController.MSG.borrarPergunta = Deseja Eliminar Forma de Pagamento?
|
||||||
editarFormaPagoController.MSG.existe.registro = Já existe um registro com estes dados.
|
editarFormaPagoController.MSG.existe.registro = Já existe um registro com estes dados.
|
||||||
|
@ -5202,12 +5216,12 @@ editarImagemController.fileupload.label = Selecionar Imagem
|
||||||
editarImagemController.lbNome.value = Imagem
|
editarImagemController.lbNome.value = Imagem
|
||||||
# Pantalla Editar Imagem
|
# Pantalla Editar Imagem
|
||||||
editarImagemController.window.title = Imagem
|
editarImagemController.window.title = Imagem
|
||||||
editarImpresionLayoutConfigController.btnRedesenhar.value = Redesenhar
|
|
||||||
editarImpresionLayoutConfigController.MSG.borrarOK = Layout Excluido com Sucesso.
|
editarImpresionLayoutConfigController.MSG.borrarOK = Layout Excluido com Sucesso.
|
||||||
editarImpresionLayoutConfigController.MSG.borrarPergunta = Eliminar Layout?
|
editarImpresionLayoutConfigController.MSG.borrarPergunta = Eliminar Layout?
|
||||||
editarImpresionLayoutConfigController.MSG.suscribirOK = Layout Registrado com Sucesso.
|
editarImpresionLayoutConfigController.MSG.suscribirOK = Layout Registrado com Sucesso.
|
||||||
editarImpresionLayoutConfigController.btnApagar.tooltiptext = Eliminar
|
editarImpresionLayoutConfigController.btnApagar.tooltiptext = Eliminar
|
||||||
editarImpresionLayoutConfigController.btnFechar.tooltiptext = Fechar
|
editarImpresionLayoutConfigController.btnFechar.tooltiptext = Fechar
|
||||||
|
editarImpresionLayoutConfigController.btnRedesenhar.value = Redesenhar
|
||||||
editarImpresionLayoutConfigController.btnSalvar.tooltiptext = Salvar
|
editarImpresionLayoutConfigController.btnSalvar.tooltiptext = Salvar
|
||||||
editarImpresionLayoutConfigController.cmbLinguagemImpresion = Linguagem
|
editarImpresionLayoutConfigController.cmbLinguagemImpresion = Linguagem
|
||||||
editarImpresionLayoutConfigController.window.title = Editar Layout Comprovante
|
editarImpresionLayoutConfigController.window.title = Editar Layout Comprovante
|
||||||
|
@ -5218,6 +5232,7 @@ editarIntComprovantePassagem.MSG.suscribirOK = Cadastro registrado com sucesso.
|
||||||
editarIntComprovantePassagem.URL = URL
|
editarIntComprovantePassagem.URL = URL
|
||||||
editarIntComprovantePassagem.apiKey = API KEY
|
editarIntComprovantePassagem.apiKey = API KEY
|
||||||
editarIntComprovantePassagem.empresa = Empresa
|
editarIntComprovantePassagem.empresa = Empresa
|
||||||
|
editarIntComprovantePassagem.idiomaTemplate = Idioma Template
|
||||||
editarIntComprovantePassagem.nomeTemplate = Nome Template
|
editarIntComprovantePassagem.nomeTemplate = Nome Template
|
||||||
editarIntComprovantePassagem.remetente = Remetente
|
editarIntComprovantePassagem.remetente = Remetente
|
||||||
editarIntComprovantePassagem.tipoIntegracao = Tipo Integração
|
editarIntComprovantePassagem.tipoIntegracao = Tipo Integração
|
||||||
|
@ -7281,6 +7296,9 @@ editarVigenciaTarifaController.btnFechar.tooltiptext = Fechar
|
||||||
editarVigenciaTarifaController.btnSalvar.tooltiptext = Salvar
|
editarVigenciaTarifaController.btnSalvar.tooltiptext = Salvar
|
||||||
# Editar Vigência Tarifa
|
# Editar Vigência Tarifa
|
||||||
editarVigenciaTarifaController.window.title = Vigência Tarifa
|
editarVigenciaTarifaController.window.title = Vigência Tarifa
|
||||||
|
editarVoucherController.MSG.camposObrigatoriosLegalizar = É necessário informar os campos: Valor Legalizado, Valor Transportadora, Transportadora
|
||||||
|
editarVoucherController.tab.legalizar = Legalizar
|
||||||
|
editarVoucherController.tab.voucher = Voucher
|
||||||
envioNominaController.lhEnviar.label = Enviar Nomina
|
envioNominaController.lhEnviar.label = Enviar Nomina
|
||||||
envioNominaController.window.title = Envio Nomina
|
envioNominaController.window.title = Envio Nomina
|
||||||
envioNominaControllerController.MSG.enviarOK = Enviou a Nomina com Sucesso.
|
envioNominaControllerController.MSG.enviarOK = Enviou a Nomina com Sucesso.
|
||||||
|
@ -7523,31 +7541,65 @@ indexController.mnConfiguracionesComerciales.label = Configuração Comercial
|
||||||
indexController.mnCortesias.label = Cortesias Para Funcionários
|
indexController.mnCortesias.label = Cortesias Para Funcionários
|
||||||
indexController.mnEquivalencia.label = Equivalencia
|
indexController.mnEquivalencia.label = Equivalencia
|
||||||
indexController.mnEsquemaOperacional.label = Esquema Operacional
|
indexController.mnEsquemaOperacional.label = Esquema Operacional
|
||||||
indexController.mnExpressos.label = Expressos
|
#Expressos
|
||||||
indexController.mniExpressosPorCotizar.label = Expressos por cotizar
|
indexController.mnExpressos.label = Expresso
|
||||||
expressosPorCotizarFechaInicioController.lblDesc.label = Data de Ínicio
|
indexController.mniExpressosPorCotizar.label = Expresso a ser cotado
|
||||||
expressosPorCotizarFechaFinController.lblDesc.label = Data de Fin
|
indexController.mniExpressosCargaContrato.label = Taxa de contrato
|
||||||
expressosPorCotizarEmpresaController.lblDesc.label = Empresa
|
indexController.mniExpressosProgramacionVehiculos.label = Programação de veículos
|
||||||
expressosPorCotizarServiciosInactivosController.lblDesc.label = Serviços Inativos
|
|
||||||
expressosPorCotizarController.btnPesquisa.label = Pesquisa
|
|
||||||
expressosPorCotizarController.lhNumSolicitud.label = # Solicitacao
|
|
||||||
expressosPorCotizarController.lhFechaSolicitud.label = Data de Aplicação
|
|
||||||
expressosPorCotizarController.lhRuta.label = Rota
|
|
||||||
expressosPorCotizarController.lhIdaRegreso.label = Ida e Volta
|
|
||||||
expressosPorCotizarController.lhFechaIda.label = Data de Partida
|
|
||||||
expressosPorCotizarController.lhFechaRegreso.label = Data de Volta
|
|
||||||
expressosPorCotizarController.lhSitioRecogidaIda.label = Local de Retirada de Saída
|
|
||||||
expressosPorCotizarController.lhSitioRecogidaRegreso.label = Local de Retirada de Volta
|
|
||||||
expressosPorCotizarController.lhEstadiaConductor.label = Estadia do Motorista
|
|
||||||
expressosPorCotizarBuscarController.lblDesc.label = Pesquisa
|
|
||||||
expressosPorCotizarVerDetalleController.lblDesc.label = Detalhes
|
|
||||||
expressosPorCotizarPagoCreditoController.lblDesc.label = Pagamento a Crédito
|
|
||||||
expresosPorCotizarPagoCredito.window.title = Pagamento a Crédito
|
|
||||||
expressosPorCotizarCotizarController.lblDesc.label = Cotizar
|
|
||||||
expresosPorCotizarCotizar.window.title = Cotação Expressa
|
|
||||||
expressosPorCotizarController.lhCantidadPasajeros.label = Número de Passageiros
|
|
||||||
expressosPorCotizarController.lhAdjuntarCotizacion.label = Anexar orçamento
|
|
||||||
|
|
||||||
|
verDetalleExpreso.window.title =Detalhe expresso
|
||||||
|
expresosPorCotizarCotizar.window.title = Cotação Expressa
|
||||||
|
|
||||||
|
expressosPorCotizarFechaInicioController.lblDesc.label = Data de início
|
||||||
|
expressosPorCotizarFechaFinController.lblDesc.label = Data final
|
||||||
|
expressosPorCotizarEmpresaController.lblDesc.label = Empresa
|
||||||
|
expressosPorCotizarServiciosInactivosController.lblDesc.label = Serviços inativos
|
||||||
|
expressosPorCotizarController.btnPesquisa.label = Pesquisa
|
||||||
|
expressosPorCotizarController.lhNumSolicitud.label = # Aplicativo
|
||||||
|
expressosPorCotizarController.lhFechaSolicitud.label = Data da inscrição
|
||||||
|
expressosPorCotizarController.lhRuta.label = Rota
|
||||||
|
expressosPorCotizarController.lhIdaRegreso.label = Ida e volta
|
||||||
|
expressosPorCotizarController.lhFechaIda.label = Data de partida
|
||||||
|
expressosPorCotizarController.lhFechaRegreso.label = Data de retorno
|
||||||
|
expressosPorCotizarController.lhSitioRecogidaIda.label = Local de coleta unidirecional
|
||||||
|
expressosPorCotizarController.lhSitioRecogidaRegreso.label = Devolução de retirada no local
|
||||||
|
expressosPorCotizarController.lhEstadiaConductor.label = Estadia do motorista
|
||||||
|
expressosPorCotizarBuscarController.lblDesc.label = Pesquisa
|
||||||
|
expressosPorCotizarVerDetalleController.lblDesc.label = Ver detalhe
|
||||||
|
expressosPorCotizarPagoCreditoController.lblDesc.label = Pagamento de crédito
|
||||||
|
indexController.mniExpressosPorCotizar.label = Expresso a ser cotado
|
||||||
|
expresosPorCotizarPagoCredito.window.title = Pagamento de crédito
|
||||||
|
expressosPorCotizarCotizarController.lblDesc.label = Cotação
|
||||||
|
expressosPorCotizarController.lhCantidadPasajeros.label = Número de passageiros
|
||||||
|
expressosPorCotizarController.lhAdjuntarCotizacion.label = Anexar orçamento
|
||||||
|
expressosPorCotizarController.lhCantidadVehiculos.label = Quantidade de veículos
|
||||||
|
expressosPorCotizarController.lhValorTrayecto.label = Valor da viagem
|
||||||
|
expressosPorCotizarController.lblOrigen.label = Origem
|
||||||
|
expressosPorCotizarController.lblDestino.label = Destino
|
||||||
|
expressosPorCotizarController.lblAgregarTrayecto.label = Adicionar viagem
|
||||||
|
cargarContratoController.lhAdjuntarContrato.label = Anexar Contrato
|
||||||
|
expressosPorCotizarController.lhTrayecto.label = trajetória
|
||||||
|
expressosPorCotizarController.lhCodigoViaje.label = Código de viagem
|
||||||
|
expressosPorCotizarController.lhPlacaVehiculo.label = Placa
|
||||||
|
expressosPorCotizarController.lhFluecPlanilla.label = FLUEC - Retorno Ocasional
|
||||||
|
asignarBusExpreso.window.title = Viagem Expressa
|
||||||
|
expresosController.lbl.cargarFluec = Anexar FLUEC
|
||||||
|
expresosController.lbl.cargarPlaca = Anexar Placa
|
||||||
|
|
||||||
|
indexController.mniExpressosDocumentos.label = Documentos
|
||||||
|
|
||||||
|
expresosController.lbl.verDetalle = Ver detalhe
|
||||||
|
expresosController.lbl.asignarBus = Atribuir ônibus
|
||||||
|
expresosController.lbl.pagadoCredito = Pagado a Crédito
|
||||||
|
expresosController.lbl.idaVuelta = Ida e volta
|
||||||
|
expresosController.lbl.idaVuelta = Ida
|
||||||
|
|
||||||
|
expresoController.MSG.errorArchivo = Arquivo inválido ou nulo
|
||||||
|
cargaContratoController.MSG.errorExpresoNull = Selecione Expresso para Associar Contrato
|
||||||
|
cotizarExpresoController.MSG.emailEnviado = Cotação Expressa Correta
|
||||||
|
expresoController.MSG.emailNoEnviado = Houve um problema. Verifique os registros
|
||||||
|
expresoController.MSG.asuntoCorreoCotizacion = Solicitação expressa cotada
|
||||||
|
expresoController.MSG.cuerpoCorreoCotizacion = Prezado {0}, o pedido expresso foi cotado, no link a seguir {1} você pode aceitar o orçamento e efetuar o pagamento.
|
||||||
#GR
|
#GR
|
||||||
indexController.mnGR.label = Estoque de Passagem
|
indexController.mnGR.label = Estoque de Passagem
|
||||||
#Gestao de Pricing
|
#Gestao de Pricing
|
||||||
|
@ -7972,6 +8024,7 @@ indexController.mniVersion.label = Versão
|
||||||
indexController.mniVia.label = Via
|
indexController.mniVia.label = Via
|
||||||
indexController.mniVigenciaTarifa.label = Vigência Tarifas
|
indexController.mniVigenciaTarifa.label = Vigência Tarifas
|
||||||
indexController.mniVisualizaSenhaInstalacaoVendaEmbarcada.label = Visualizar Senha Instalação
|
indexController.mniVisualizaSenhaInstalacaoVendaEmbarcada.label = Visualizar Senha Instalação
|
||||||
|
indexController.mniVoucher.label = Voucher
|
||||||
#busquedaMensagemRecusa
|
#busquedaMensagemRecusa
|
||||||
indexController.mnimMensagemRecusa.label = Mensagem Recusa
|
indexController.mnimMensagemRecusa.label = Mensagem Recusa
|
||||||
indexController.mnirELRelatorioGratuidadeAGR.label = Relatório Gratuidades AGR
|
indexController.mnirELRelatorioGratuidadeAGR.label = Relatório Gratuidades AGR
|
||||||
|
@ -8073,6 +8126,7 @@ label.criacao = Criação
|
||||||
label.dataFinal = Data Final
|
label.dataFinal = Data Final
|
||||||
label.dataInicial = Data Inicial
|
label.dataInicial = Data Inicial
|
||||||
label.dataOperacao = Data Operação
|
label.dataOperacao = Data Operação
|
||||||
|
label.dataValidade = Data Validade
|
||||||
label.debito = Débito
|
label.debito = Débito
|
||||||
label.desconto = Desconto
|
label.desconto = Desconto
|
||||||
label.descricao = Descrição
|
label.descricao = Descrição
|
||||||
|
@ -8092,17 +8146,25 @@ label.nit = Nit
|
||||||
label.numContrato = Número Contrato
|
label.numContrato = Número Contrato
|
||||||
#Pantalla Pesquisa Tipo Convênio
|
#Pantalla Pesquisa Tipo Convênio
|
||||||
label.numConvenio = Número Convênio
|
label.numConvenio = Número Convênio
|
||||||
|
label.numFatura = Num. Fatura
|
||||||
|
label.numVoucher = Número Voucher
|
||||||
label.numero = Número
|
label.numero = Número
|
||||||
label.observacao = Observação
|
label.observacao = Observação
|
||||||
label.operacao = Operação
|
label.operacao = Operação
|
||||||
label.orgaoConcedente = Orgão Concedente
|
label.orgaoConcedente = Orgão Concedente
|
||||||
label.origem = Origem
|
label.origem = Origem
|
||||||
label.percentualBonus = Percentual Bônus
|
label.passageiro = Passageiro
|
||||||
|
label.percentualVoucher = Percentual Voucher
|
||||||
label.razaoSocial = Razão Social
|
label.razaoSocial = Razão Social
|
||||||
label.reducao = Redução
|
label.reducao = Redução
|
||||||
label.representante = Representante
|
label.representante = Representante
|
||||||
label.reservaBilhete = Reserva Bilhetes
|
label.reservaBilhete = Reserva Bilhetes
|
||||||
label.saldo = Saldo
|
label.saldo = Saldo
|
||||||
|
label.situacao = Situação
|
||||||
|
label.situacaoVoucher.cancelado = Cancelado
|
||||||
|
label.situacaoVoucher.emitido = Emitido
|
||||||
|
label.situacaoVoucher.faturado = Faturado
|
||||||
|
label.situacaoVoucher.legalizado = Legalizado
|
||||||
label.status = Status
|
label.status = Status
|
||||||
label.status.ativo = Ativo
|
label.status.ativo = Ativo
|
||||||
label.status.digitado = Digitado
|
label.status.digitado = Digitado
|
||||||
|
@ -8131,14 +8193,18 @@ label.tipoLancamento.reducao = Redução
|
||||||
label.tipoTarifa = Tipo Tarifa
|
label.tipoTarifa = Tipo Tarifa
|
||||||
label.tipoTarifa.fixa = Fixa
|
label.tipoTarifa.fixa = Fixa
|
||||||
label.tipoTarifa.variavel = Variável
|
label.tipoTarifa.variavel = Variável
|
||||||
|
label.transportadora = Transportadora
|
||||||
label.valor = Valor
|
label.valor = Valor
|
||||||
label.valorContrato = Valor Contrato
|
label.valorContrato = Valor Contrato
|
||||||
|
label.valorLegalizado = Valor Legalizado
|
||||||
|
label.valorLicitado = Valor Licitado
|
||||||
|
label.valorTransportadora = Valor Transportadora
|
||||||
lb.CentroResultado = Centro de Resultado
|
lb.CentroResultado = Centro de Resultado
|
||||||
lb.Equivalencia = Equivalencia
|
lb.Equivalencia = Equivalencia
|
||||||
lb.ate = até
|
lb.ate = até
|
||||||
lb.btnAtivar = Ativar
|
lb.btnAtivar = Ativar
|
||||||
lb.btnDesativar = Desativar
|
lb.btnDesativar = Desativar
|
||||||
lb.btnLimpar.label = Limpar Seleção\\\
|
lb.btnLimpar.label = Limpar Seleção
|
||||||
lb.btnPesquisa.label = Pesquisar
|
lb.btnPesquisa.label = Pesquisar
|
||||||
lb.chbpe = Chave BP-e
|
lb.chbpe = Chave BP-e
|
||||||
lb.dataFin.value = Data Final
|
lb.dataFin.value = Data Final
|
||||||
|
@ -9561,7 +9627,7 @@ relatorioRecargaRvhubController.lbNumero.value = Número
|
||||||
relatorioRecargaRvhubController.lbPuntoVenta.value = Agência
|
relatorioRecargaRvhubController.lbPuntoVenta.value = Agência
|
||||||
relatorioRecargaRvhubController.lbStatus.value = Status
|
relatorioRecargaRvhubController.lbStatus.value = Status
|
||||||
relatorioRecargaRvhubController.window.title = Recarga Rvhub
|
relatorioRecargaRvhubController.window.title = Recarga Rvhub
|
||||||
relatorioReceitaDiariaAgenciaController.btnLimpar.label = Limpar Seleção\\\
|
relatorioReceitaDiariaAgenciaController.btnLimpar.label = Limpar Seleção
|
||||||
relatorioReceitaDiariaAgenciaController.btnPesquisa.label = Pesquisar
|
relatorioReceitaDiariaAgenciaController.btnPesquisa.label = Pesquisar
|
||||||
relatorioReceitaDiariaAgenciaController.chkContemplarGap.label = Contemplar Impressão Posterior
|
relatorioReceitaDiariaAgenciaController.chkContemplarGap.label = Contemplar Impressão Posterior
|
||||||
relatorioReceitaDiariaAgenciaController.chkExcessoBagagem.label = Excluso Excesso de Bagagem
|
relatorioReceitaDiariaAgenciaController.chkExcessoBagagem.label = Excluso Excesso de Bagagem
|
||||||
|
@ -9656,6 +9722,14 @@ relatorioRemessaCNAB.lbRemessa.value = Enviado
|
||||||
relatorioRemessaCNAB.lbValor.value = Valor
|
relatorioRemessaCNAB.lbValor.value = Valor
|
||||||
relatorioRemessaCNAB.reenviarGerados.label = Reenviar boletos já enviados?
|
relatorioRemessaCNAB.reenviarGerados.label = Reenviar boletos já enviados?
|
||||||
relatorioRemessaCNAB.window.title = Remessa de Lote de Boletos Bancários
|
relatorioRemessaCNAB.window.title = Remessa de Lote de Boletos Bancários
|
||||||
|
relatorioRemessaCNAB.exception.ValidacaoRemessaConvenioException=O codigo de convênio não confere com o codigo do banco \r\n favor entrar em contato com o suporte!
|
||||||
|
relatorioRemessaCNAB.exception.ValidacaoRemessaMontagemCabecalhoException=Houve um erro na montagem do cabeçalho do arquivo de remessa \r\n favor entrar em contato com o suporte!
|
||||||
|
relatorioRemessaCNAB.exception.ValidacaoRemessaCNPJException=O CNPJ do ponto de venda {0} está fora do padrão, favor corrigir
|
||||||
|
relatorioRemessaCNAB.exception.ValidacaoRemessaLogradouroException=O Logradouro do ponto de venda {0} está fora do padrão, favor corrigir.
|
||||||
|
relatorioRemessaCNAB.exception.ValidacaoRemessaBairroException="O Bairro do ponto de venda {0} está fora do padrão, favor corrigir
|
||||||
|
relatorioRemessaCNAB.exception.ValidacaoRemessaCidadeException=A cidade do ponto de venda {0} está fora do padrão, favor corrigir
|
||||||
|
relatorioRemessaCNAB.exception.ValidacaoRemessaEstadoException=O Estado do ponto de venda {0} está fora do padrão, favor corrigir
|
||||||
|
relatorioRemessaCNAB.exception.ValidacaoRemessaCVEEstadoException=O CVE Estado do ponto de venda {0} está fora do padrão, favor corrigir
|
||||||
relatorioResumoLinhasAnaliticoSumarizadoCompletoController.window.title = Relatório Resumo de Linhas Analítico Sumarizado Completo
|
relatorioResumoLinhasAnaliticoSumarizadoCompletoController.window.title = Relatório Resumo de Linhas Analítico Sumarizado Completo
|
||||||
relatorioResumoLinhasAnaliticoSumarizadoSimplificadoController.window.title = Relatório Resumo de Linhas Analítico Sumarizado Simplificado
|
relatorioResumoLinhasAnaliticoSumarizadoSimplificadoController.window.title = Relatório Resumo de Linhas Analítico Sumarizado Simplificado
|
||||||
relatorioResumoLinhasController.lbAte.value = até
|
relatorioResumoLinhasController.lbAte.value = até
|
||||||
|
@ -10224,36 +10298,3 @@ winMovimentacionBilhetesPuntoVenta.numSerie.label = Série
|
||||||
winMovimentacionBilhetesPuntoVenta.origem.label = Origem
|
winMovimentacionBilhetesPuntoVenta.origem.label = Origem
|
||||||
winMovimentacionBilhetesPuntoVenta.puntoventa.label = Ag.
|
winMovimentacionBilhetesPuntoVenta.puntoventa.label = Ag.
|
||||||
winMovimentacionBilhetesPuntoVenta.tipoMovimentacion.label = Natureza
|
winMovimentacionBilhetesPuntoVenta.tipoMovimentacion.label = Natureza
|
||||||
# Form Autorizacao Tipo de Passagem
|
|
||||||
editarFormAutorizacaoController.MSG.borrarPergunta = Deseja apagar esse registro ?
|
|
||||||
editarFormAutorizacaoController.window.title = Formulário de Autorização
|
|
||||||
editarFormAutorizacaoController.MSG.borrarOK = Registro apagado com sucesso.
|
|
||||||
|
|
||||||
editarIntComprovantePassagem.idiomaTemplate= Idioma Template
|
|
||||||
|
|
||||||
|
|
||||||
indexController.mniRelatorioDescontoPorCupom.label = Relatório Desconto Por Cupom
|
|
||||||
relatorioDescontoPorCupomController.window.title = RELATÓRIO DESCONTO POR CUPOM
|
|
||||||
relatorioDescontoPorCupomController.lbDatInicial.value=Data Inicial da Venda
|
|
||||||
relatorioDescontoPorCupomController.lbDatFinal.value=Data Final da Venda
|
|
||||||
relatorioDescontoPorCupomController.lbDatResgateInicial.value=Data Inicial do Resgate
|
|
||||||
relatorioDescontoPorCupomController.lbDatResgateFinal.value=Data Final do Resgate
|
|
||||||
winFiltroRelatorioDescontoPorCupom.lbEmpresa.value=Empresa
|
|
||||||
winFiltroRelatorioDescontoPorCupom.lbPuntoVenta.value=Agência
|
|
||||||
|
|
||||||
|
|
||||||
editarIntComprovantePassagem.window.title=Integração Comprovante Passagem
|
|
||||||
editarIntComprovantePassagem.empresa= Empresa
|
|
||||||
editarIntComprovantePassagem.tipoIntegracao= Tipo Integração
|
|
||||||
editarIntComprovantePassagem.viaComprovante= Via Comprovante
|
|
||||||
editarIntComprovantePassagem.URL= URL
|
|
||||||
editarIntComprovantePassagem.apiKey= API KEY
|
|
||||||
editarIntComprovantePassagem.remetente= Remetente
|
|
||||||
editarIntComprovantePassagem.nomeTemplate= Nome Template
|
|
||||||
editarIntComprovantePassagem.MSG.cadastroExistente= Já existe uma configuração para esta Empresa, Integração e Via.
|
|
||||||
editarIntComprovantePassagem.MSG.suscribirOK= Cadastro registrado com sucesso.
|
|
||||||
editarIntComprovantePassagem.MSG.borrarPergunta= Remover configurações da Integração para empresa?
|
|
||||||
editarIntComprovantePassagem.MSG.borrarOK = Configuração Excluida com Sucesso.
|
|
||||||
|
|
||||||
indexController.mniIntegracao.integracaoComprovantePassagem.label= Comprovante Passagem
|
|
||||||
indexController.mniIntegracao.label= Integração
|
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
<tab
|
<tab
|
||||||
label="${c:l('editarEmpresaController.lbNome.value')}" />
|
label="${c:l('editarEmpresaController.lbNome.value')}" />
|
||||||
<tab id="tabAutorizacao" visible="@{winEditarCategoria$composer.categoria.indEmiteFormularioAutorizacao}"
|
<tab id="tabAutorizacao" visible="@{winEditarCategoria$composer.categoria.indEmiteFormularioAutorizacao}"
|
||||||
label="${c:l('editarEmpresaController.lbConfiguraciones.value')}" />
|
label="${c:l('editarCategoriaController.lbAutPassageiro.value')}" />
|
||||||
</tabs>
|
</tabs>
|
||||||
|
|
||||||
<tabpanels style="overflow: auto">
|
<tabpanels style="overflow: auto">
|
||||||
|
|
|
@ -0,0 +1,118 @@
|
||||||
|
<?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="winBusquedaVoucher"?>
|
||||||
|
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
||||||
|
|
||||||
|
<zk xmlns="http://www.zkoss.org/2005/zul">
|
||||||
|
<window id="winBusquedaVoucher" border="normal"
|
||||||
|
apply="${busquedaVoucherController}"
|
||||||
|
height="500px" width="1000px" contentStyle="overflow:auto"
|
||||||
|
title="${c:l('editarVoucherController.window.title')}" >
|
||||||
|
|
||||||
|
<toolbar>
|
||||||
|
<hbox spacing="5px" style="padding:1px" align="right">
|
||||||
|
<button id="btnRefresh" image="/gui/img/refresh.png"
|
||||||
|
width="35px"
|
||||||
|
tooltiptext="${c:l('tooltiptext.btnActualizar')}" />
|
||||||
|
<separator orient="vertical" />
|
||||||
|
<button id="btnCerrar"
|
||||||
|
onClick="winBusquedaVoucher.detach()" image="/gui/img/exit.png"
|
||||||
|
width="35px"
|
||||||
|
tooltiptext="${c:l('tooltiptext.btnFechar')}" />
|
||||||
|
</hbox>
|
||||||
|
</toolbar>
|
||||||
|
|
||||||
|
<grid fixedLayout="true">
|
||||||
|
<columns>
|
||||||
|
<column width="15%" />
|
||||||
|
<column width="35%" />
|
||||||
|
<column width="15%" />
|
||||||
|
<column width="35%" />
|
||||||
|
</columns>
|
||||||
|
<rows>
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('label.numVoucher')}" />
|
||||||
|
<longbox id="txtNumVoucher" constraint="no negative" maxlength="15" width="100px" />
|
||||||
|
|
||||||
|
<label value="${c:l('label.numContrato')}" />
|
||||||
|
<textbox id="txtNumContrato" constraint="no negative" maxlength="15" width="100px" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('label.nit')}" />
|
||||||
|
<textbox id="txtNit" maxlength="20" width="150px" />
|
||||||
|
|
||||||
|
<label value="${c:l('label.razaoSocial')}" />
|
||||||
|
<textbox id="txtNome" maxlength="150" width="95%"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label id="lbDataInicial" value="${c:l('label.dataInicial')}" />
|
||||||
|
<datebox id="datInicial" width="100px"
|
||||||
|
format="dd/MM/yyyy" maxlength="10" />
|
||||||
|
|
||||||
|
<label id="lbDataFinal" value="${c:l('label.dataFinal')}" />
|
||||||
|
<datebox id="datFinal" width="100px"
|
||||||
|
format="dd/MM/yyyy" maxlength="10" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('label.origem')}" />
|
||||||
|
<combobox id="cmbOrigem" width="95%"
|
||||||
|
autodrop="false" mold="rounded" buttonVisible="true"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada" />
|
||||||
|
|
||||||
|
<label value="${c:l('label.destino')}" />
|
||||||
|
<combobox id="cmbDestino" width="95%"
|
||||||
|
autodrop="false" mold="rounded" buttonVisible="true"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada" />
|
||||||
|
</row>
|
||||||
|
<row spans="1,4" height="10px">
|
||||||
|
<label value="${c:l('label.situacao')}" />
|
||||||
|
<hbox>
|
||||||
|
<checkbox id="chkEmitido" value="0" label="${c:l('label.situacaoVoucher.emitido')}" style="padding: 60px;" />
|
||||||
|
<checkbox id="chkLegalizado" value="1" label="${c:l('label.situacaoVoucher.legalizado')}" style="padding: 60px;" />
|
||||||
|
<checkbox id="chkFaturado" value="2" label="${c:l('label.situacaoVoucher.faturado')}" style="padding: 60px;" />
|
||||||
|
<checkbox id="chkCancelado" value="3" label="${c:l('label.situacaoVoucher.cancelado')}" style="padding: 60px;" />
|
||||||
|
</hbox>
|
||||||
|
</row>
|
||||||
|
</rows>
|
||||||
|
</grid>
|
||||||
|
|
||||||
|
<toolbar>
|
||||||
|
<button id="btnPesquisa" image="/gui/img/find.png"
|
||||||
|
label="${c:l('label.btnPesquisa')}" />
|
||||||
|
</toolbar>
|
||||||
|
|
||||||
|
<paging id="pagingVoucher" pageSize="20" />
|
||||||
|
<listbox id="voucherList"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||||
|
multiple="false">
|
||||||
|
<listhead sizable="true">
|
||||||
|
<listheader id="lhNumVoucher" image="/gui/img/create_doc.gif"
|
||||||
|
label="${c:l('label.numVoucher')}"
|
||||||
|
sort="auto(voucherId)" />
|
||||||
|
<listheader id="lhNumContrato" image="/gui/img/create_doc.gif"
|
||||||
|
label="${c:l('label.numContrato')}"
|
||||||
|
sort="auto(numContrato)" />
|
||||||
|
<listheader id="lhSituacao" image="/gui/img/create_doc.gif"
|
||||||
|
label="${c:l('label.situacao')}" width="100px"
|
||||||
|
sort="auto(status)" />
|
||||||
|
<listheader id="lhValidade" image="/gui/img/create_doc.gif"
|
||||||
|
label="${c:l('label.dataValidade')}"
|
||||||
|
sort="auto(dataValidade)" width="100px;" />
|
||||||
|
<listheader id="lhValor" image="/gui/img/create_doc.gif"
|
||||||
|
label="${c:l('label.valorLicitado')}"
|
||||||
|
sort="auto(valorLicitado)" />
|
||||||
|
<listheader id="lhValorLegal" image="/gui/img/create_doc.gif"
|
||||||
|
label="${c:l('label.valorLegalizado')}"
|
||||||
|
sort="auto(valorLegalizado)" />
|
||||||
|
<listheader id="lhOrigem" image="/gui/img/create_doc.gif"
|
||||||
|
label="${c:l('label.origem')}"
|
||||||
|
sort="auto(origenId)" />
|
||||||
|
<listheader id="lhDestino" image="/gui/img/create_doc.gif"
|
||||||
|
label="${c:l('label.destino')}"
|
||||||
|
sort="auto(destinoId)" />
|
||||||
|
</listhead>
|
||||||
|
</listbox>
|
||||||
|
</window>
|
||||||
|
</zk>
|
|
@ -77,7 +77,7 @@
|
||||||
value="@{winEditarContrato$composer.contrato.valorContrato}" />
|
value="@{winEditarContrato$composer.contrato.valorContrato}" />
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<label id="lbPercentual" value="${c:l('label.percentualBonus')}" />
|
<label id="lbPercentual" value="${c:l('label.percentualVoucher')}" />
|
||||||
<decimalbox id="txtBonus" maxlength="6" format="0.00"
|
<decimalbox id="txtBonus" maxlength="6" format="0.00"
|
||||||
constraint="no negative" width="100px"
|
constraint="no negative" width="100px"
|
||||||
value="@{winEditarContrato$composer.contrato.percentualBonus}" />
|
value="@{winEditarContrato$composer.contrato.percentualBonus}" />
|
||||||
|
|
|
@ -0,0 +1,156 @@
|
||||||
|
<?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="winEditarVoucher"?>
|
||||||
|
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
||||||
|
|
||||||
|
<zk xmlns="http://www.zkoss.org/2005/zul">
|
||||||
|
<window id="winEditarVoucher" border="normal"
|
||||||
|
apply="${editarVoucherController}" height="317px" width="600px"
|
||||||
|
contentStyle="overflow:auto"
|
||||||
|
title="${c:l('editarVoucherController.window.title')}">
|
||||||
|
|
||||||
|
<toolbar>
|
||||||
|
<hbox spacing="5px" style="padding:1px" align="right">
|
||||||
|
<button id="btnSalvar" height="20"
|
||||||
|
image="/gui/img/save.png" width="35px"
|
||||||
|
tooltiptext="${c:l('tooltiptext.btnSalvar')}" />
|
||||||
|
<button id="btnCerrar"
|
||||||
|
onClick="winEditarVoucher.detach()" image="/gui/img/exit.png"
|
||||||
|
width="35px"
|
||||||
|
tooltiptext="${c:l('tooltiptext.btnFechar')}" />
|
||||||
|
</hbox>
|
||||||
|
</toolbar>
|
||||||
|
|
||||||
|
<tabbox vflex="1" hflex="1">
|
||||||
|
<tabs>
|
||||||
|
<tab label="${c:l('editarVoucherController.tab.voucher')}" />
|
||||||
|
<tab label="${c:l('editarVoucherController.tab.legalizar')}" />
|
||||||
|
</tabs>
|
||||||
|
|
||||||
|
<tabpanels style="overflow: auto">
|
||||||
|
|
||||||
|
<!-- Voucher -->
|
||||||
|
<tabpanel id="tbVoucher" >
|
||||||
|
<grid fixedLayout="true">
|
||||||
|
<columns>
|
||||||
|
<column width="25%" />
|
||||||
|
<column width="75%" />
|
||||||
|
</columns>
|
||||||
|
<rows>
|
||||||
|
<row>
|
||||||
|
<label id="lbNumVoucher" value="${c:l('label.numVoucher')}" />
|
||||||
|
<label id="txtNumVoucher"
|
||||||
|
value="@{winEditarVoucher$composer.voucher.voucherId}" />
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('label.numContrato')}" />
|
||||||
|
<label id="txtNumContrato"
|
||||||
|
value="@{winEditarVoucher$composer.voucher.contrato.numContrato}" />
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('label.clienteCorporativo')}" />
|
||||||
|
<label id="txtCliente" />
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('label.origem')}" />
|
||||||
|
<label id="txtOrigem"
|
||||||
|
value="@{winEditarVoucher$composer.voucher.descOrigem}" />
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('label.destino')}" />
|
||||||
|
<label id="txtDestino"
|
||||||
|
value="@{winEditarVoucher$composer.voucher.descDestino}" />
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<label id="lbDataValidade" value="${c:l('label.dataValidade')}" />
|
||||||
|
<datebox id="datValidade" width="100px"
|
||||||
|
constraint="no past, no today" format="dd/MM/yyyy" maxlength="10"
|
||||||
|
value="@{winEditarVoucher$composer.voucher.dataValidade}" />
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<label id="lbValorLicitado" value="${c:l('label.valorLicitado')}" />
|
||||||
|
<label id="txtValorLicitado"
|
||||||
|
value="@{winEditarVoucher$composer.voucher.valorLicitado}" />
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<label id="lbLegalizado" value="${c:l('label.valorLegalizado')}" />
|
||||||
|
<label id="txtLegalizado"
|
||||||
|
value="@{winEditarVoucher$composer.voucher.valorLegalizado}" />
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('label.passageiro')}" />
|
||||||
|
<label id="txtPassageiro"
|
||||||
|
value="@{winEditarVoucher$composer.voucher.nomePassageiro}" />
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('label.numFatura')}" />
|
||||||
|
<label id="txtFatura"
|
||||||
|
value="@{winEditarVoucher$composer.voucher.numFatura}" />
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row >
|
||||||
|
<label value="${c:l('label.situacao')}" />
|
||||||
|
<label id="txtStatus"
|
||||||
|
value="@{winEditarVoucher$composer.voucher.situacaoVoucher}" />
|
||||||
|
</row>
|
||||||
|
|
||||||
|
</rows>
|
||||||
|
</grid>
|
||||||
|
</tabpanel>
|
||||||
|
|
||||||
|
<!-- Legalizar -->
|
||||||
|
<tabpanel id="tbLegalizar" >
|
||||||
|
<grid fixedLayout="true">
|
||||||
|
<columns>
|
||||||
|
<column width="25%" />
|
||||||
|
<column width="75%" />
|
||||||
|
</columns>
|
||||||
|
<rows>
|
||||||
|
<row>
|
||||||
|
<label id="lbValorLegalizado" value="${c:l('label.valorLegalizado')}" />
|
||||||
|
<decimalbox id="txtValorLegalizado"
|
||||||
|
maxlength="12" format="0.00"
|
||||||
|
constraint="no negative" width="100px"
|
||||||
|
value="@{winEditarVoucher$composer.voucher.valorLegalizado}" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label id="lbValorTransp" value="${c:l('label.valorTransportadora')}" />
|
||||||
|
<decimalbox id="txtValorTransp"
|
||||||
|
maxlength="12" format="0.00"
|
||||||
|
constraint="no negative" width="100px"
|
||||||
|
value="@{winEditarVoucher$composer.voucher.valorLegalizado}" />
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('label.transportadora')}"/>
|
||||||
|
<combobox id="cmbTransportadora" width="95%"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||||
|
model="@{winEditarVoucher$composer.lsTransportadora}"
|
||||||
|
value="@{winEditarVoucher$composer.voucher.transportadora}"
|
||||||
|
mold="rounded" buttonVisible="true" />
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row spans="4" align="center">
|
||||||
|
<button id="btnLegalizar" height="20"
|
||||||
|
image="/gui/img/ok.png" width="120px"
|
||||||
|
label="Legalizar " />
|
||||||
|
</row>
|
||||||
|
|
||||||
|
</rows>
|
||||||
|
</grid>
|
||||||
|
</tabpanel>
|
||||||
|
|
||||||
|
</tabpanels>
|
||||||
|
</tabbox>
|
||||||
|
</window>
|
||||||
|
</zk>
|
|
@ -61,6 +61,45 @@
|
||||||
initialValue="@{winEditarAliasClasse$composer.aliasClasse.orgaoConcedente}"
|
initialValue="@{winEditarAliasClasse$composer.aliasClasse.orgaoConcedente}"
|
||||||
selectedItem="@{winEditarAliasClasse$composer.aliasClasse.orgaoConcedente}" />
|
selectedItem="@{winEditarAliasClasse$composer.aliasClasse.orgaoConcedente}" />
|
||||||
</row>
|
</row>
|
||||||
|
<row spans="1,3">
|
||||||
|
<label
|
||||||
|
value="${c:l('relatorioAidfDetalhadoController.lbEmpresa.value')}" />
|
||||||
|
<combobox id="cmbEmpresa"
|
||||||
|
buttonVisible="true"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||||
|
model="@{winEditarAliasClasse$composer.lsEmpresa}"
|
||||||
|
initialValue="@{winEditarAliasClasse$composer.aliasClasse.empresa}"
|
||||||
|
selectedItem="@{winEditarAliasClasse$composer.aliasClasse.empresa}"
|
||||||
|
width="90%" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label
|
||||||
|
value="${c:l('lb.filtro.linha')}" />
|
||||||
|
<combobox id="cmbRuta"
|
||||||
|
buttonVisible="true"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||||
|
initialValue="@{winEditarAliasClasse$composer.aliasClasse.ruta}"
|
||||||
|
selectedItem="@{winEditarAliasClasse$composer.aliasClasse.ruta}"
|
||||||
|
model="@{winEditarAliasClasse$composer.lsRuta}"
|
||||||
|
width="90%" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label
|
||||||
|
value="${c:l('editarAliasServicoController.tipoClasseConfortoMonitrip.classeConfortoMonitrip')}" />
|
||||||
|
<combobox id="cmbClasseServicioConforto"
|
||||||
|
buttonVisible="true"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||||
|
model="@{winEditarAliasClasse$composer.lsClasseServicoConfortoMonitrip}"
|
||||||
|
initialValue="@{winEditarAliasClasse$composer.aliasClasse.classeConfortoMonitrip}"
|
||||||
|
selectedItem="@{winEditarAliasClasse$composer.aliasClasse.classeConfortoMonitrip}"
|
||||||
|
tooltiptext="${c:l('editarAliasServicoController.tooltiptext.indSomenteImpressao')}"
|
||||||
|
width="90%" />
|
||||||
|
</row>
|
||||||
|
<row><label
|
||||||
|
value="${c:l('editarAliasServicoController.indSomenteImpressao')}" />
|
||||||
|
<checkbox id="chkSomenteImpressao"
|
||||||
|
value="@{winEditarAliasClasse$composer.aliasClasse.indSomenteImpressao}" />
|
||||||
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<label
|
<label
|
||||||
value="${c:l('label.descricao')}" />
|
value="${c:l('label.descricao')}" />
|
||||||
|
|
Loading…
Reference in New Issue