Merge pull request 'bug#al-2984' (!273) from AL2984 into master

Reviewed-on: adm/VentaBoletosAdm#273
Reviewed-by: Gleison da Cruz <gleison.cruz@totvs.com.br>
master 1.21.0
Valdir Cordeiro 2023-09-19 12:20:19 +00:00
commit 8f5db25b92
7 changed files with 13 additions and 3 deletions

View File

@ -4,12 +4,12 @@
<modelVersion>4.0.0</modelVersion>
<groupId>br.com.rjconsultores</groupId>
<artifactId>ventaboletosadm</artifactId>
<version>1.20.2</version>
<version>1.21.0</version>
<packaging>war</packaging>
<properties>
<modelWeb.version>1.14.0</modelWeb.version>
<flyway.version>1.10.0</flyway.version>
<modelWeb.version>1.15.0</modelWeb.version>
<flyway.version>1.11.0</flyway.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>

View File

@ -217,6 +217,7 @@ public class EditarConfiguracionCategoriaController extends MyGenericForwardComp
private Checkbox chkPrecoPedagio;
private Checkbox chkPrecoSeguro;
private Checkbox chkPrecoOutros;
private Checkbox chkPrecoSeguroOpcional;
private Label lblMsgTiempo;
private Spinner spnHora;
private Spinner spnMinuto;
@ -1103,6 +1104,7 @@ public class EditarConfiguracionCategoriaController extends MyGenericForwardComp
cDescuento.setIndImporteSeguro(chkPrecoSeguro.isChecked());
cDescuento.setIndImporteTxEmbarque(chkPrecoTxEmbarque.isChecked());
cDescuento.setIndVentaAbierto(rdVendeAbertoSim.isSelected());
cDescuento.setIndImporteSeguroOpcional(chkPrecoSeguroOpcional.isChecked());
if(rdVendeAbertoSim.isSelected()) {
//Aberto Vendido

View File

@ -113,6 +113,7 @@ public class EditarConfiguracionCategoriaDatosCategoriaController extends MyGene
private Checkbox chkIndnaopermiteVendaDuasGratuidades;
private Checkbox chkIndnaoaplicatarifaminima;
private Checkbox chkIndtipoocupacao;
private Checkbox chkPrecoSeguroOpcional;
private Radio radioHorarioLiberacaoVendaOrigem;
private Radio radioHorarioLiberacaoVendaTrecho;
@ -466,6 +467,7 @@ public class EditarConfiguracionCategoriaDatosCategoriaController extends MyGene
spnMinuto.setDisabled(true);
chkPrecoTxEmbarque.setDisabled(true);
chkPrecoOutros.setDisabled(true);
chkPrecoSeguroOpcional.setDisabled(true);
chkPrecoPedagio.setDisabled(true);
chkPrecoSeguro.setDisabled(true);
spnKM.setDisabled(true);

View File

@ -2640,6 +2640,7 @@ editarConfiguracionCategoriaController.lblComponentesPrecoTxEmbarque.value=Tasa
editarConfiguracionCategoriaController.lblComponentesPrecoPedagio.value=Peaje
editarConfiguracionCategoriaController.lblComponentesPrecoSeguro.value=Seguro
editarConfiguracionCategoriaController.lblComponentesPrecoOutros.value=Otros
editarConfiguracionCategoriaController.lblComponentesPrecoSeguroOpcional.value=Seguro Opcional
editarConfiguracionCategoriaController.lblVentaAntecipada.value=Venta anticipada
editarConfiguracionCategoriaController.lblVentaAntecipadaTempo.value=Tiempo (HH:MM)
editarConfiguracionCategoriaController.lblLiberacionSolamenteEnvasado.value = Liberar asientos cuando el autobus no tenga disponibilidad

View File

@ -2896,6 +2896,7 @@ editarConfiguracionCategoriaController.lblComponentesPrecoTxEmbarque.value=Taxa
editarConfiguracionCategoriaController.lblComponentesPrecoPedagio.value=Pedágio
editarConfiguracionCategoriaController.lblComponentesPrecoSeguro.value=Seguro
editarConfiguracionCategoriaController.lblComponentesPrecoOutros.value=Outros
editarConfiguracionCategoriaController.lblComponentesPrecoSeguroOpcional.value=Seguro Opcional
editarConfiguracionCategoriaController.lblVentaAntecipada.value=Venda Antecipada
editarConfiguracionCategoriaController.lblVentaAntecipadaTempo.value=Tempo (HH:mm)
editarConfiguracionCategoriaController.lblLiberacionSolamenteEnvasado.value = Liberar Poltronas quando Ônibus estiver Lotado

View File

@ -171,6 +171,9 @@
<checkbox id="chkPrecoOutros"
label="${c:l('editarConfiguracionCategoriaController.lblComponentesPrecoOutros.value')}"
checked="true" />
<checkbox id="chkPrecoSeguroOpcional"
label="${c:l('editarConfiguracionCategoriaController.lblComponentesPrecoSeguroOpcional.value')}"
checked="true" />
</hbox>
</row>
<row spans="1,3">

View File

@ -309,6 +309,7 @@
<checkbox id="chkPrecoPedagio" label="${c:l('editarConfiguracionCategoriaController.lblComponentesPrecoPedagio.value')}" checked="@{winEditarConfiguracionCategoriasDatosCategoria$composer.categoriaDescuento.indImportePedagio}"/>
<checkbox id="chkPrecoSeguro" label="${c:l('editarConfiguracionCategoriaController.lblComponentesPrecoSeguro.value')}" checked="@{winEditarConfiguracionCategoriasDatosCategoria$composer.categoriaDescuento.indImporteSeguro}"/>
<checkbox id="chkPrecoOutros" label="${c:l('editarConfiguracionCategoriaController.lblComponentesPrecoOutros.value')}" checked="@{winEditarConfiguracionCategoriasDatosCategoria$composer.categoriaDescuento.indImporteOutros}"/>
<checkbox id="chkPrecoSeguroOpcional" label="${c:l('editarConfiguracionCategoriaController.lblComponentesPrecoSeguroOpcional.value')}" checked="@{winEditarConfiguracionCategoriasDatosCategoria$composer.categoriaDescuento.indImporteSeguroOpcional}" />
</hbox>
</row>
<row>