bug#AL-2574
parent
2c597a7b98
commit
7688103909
6
pom.xml
6
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.7.15</version>
|
<version>1.7.16</version>
|
||||||
<packaging>war</packaging>
|
<packaging>war</packaging>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<modelWeb.version>1.5.3</modelWeb.version>
|
<modelWeb.version>1.5.4</modelWeb.version>
|
||||||
<flyway.version>1.4.2</flyway.version>
|
<flyway.version>1.4.3</flyway.version>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
|
@ -79,10 +79,12 @@ public class EditarFormaPagoController extends MyGenericForwardComposer {
|
||||||
private boolean exibeTipoRestricaoFormaPago;
|
private boolean exibeTipoRestricaoFormaPago;
|
||||||
|
|
||||||
private Checkbox chkIndEstorno;
|
private Checkbox chkIndEstorno;
|
||||||
|
private Checkbox chkAtivaEstornoReceitaDespesaCredito;
|
||||||
|
|
||||||
private Checkbox chkIndVoucherRodoviaria;
|
private Checkbox chkIndVoucherRodoviaria;
|
||||||
|
|
||||||
private Row rowIdEventoExtra;
|
private Row rowIdEventoExtra;
|
||||||
|
private Row rowAtivaEstornoReceitaDespesaCredito;
|
||||||
|
|
||||||
private MyComboboxEstandar cmbTipoFormapago;
|
private MyComboboxEstandar cmbTipoFormapago;
|
||||||
private MyComboboxEstandar cmbTipoCarteiraDigital;
|
private MyComboboxEstandar cmbTipoCarteiraDigital;
|
||||||
|
@ -150,6 +152,7 @@ public class EditarFormaPagoController extends MyGenericForwardComposer {
|
||||||
}
|
}
|
||||||
|
|
||||||
chkIndEstorno.setChecked(formaPago.getIndProcessoEstorno());
|
chkIndEstorno.setChecked(formaPago.getIndProcessoEstorno());
|
||||||
|
chkAtivaEstornoReceitaDespesaCredito.setChecked(formaPago.getIndEstornoReceitaDespesaCredito());
|
||||||
chkIndVoucherRodoviaria.setChecked(formaPago.getIndVoucherRodoviaria());
|
chkIndVoucherRodoviaria.setChecked(formaPago.getIndVoucherRodoviaria());
|
||||||
chkIndTransferenciaReativacao.setChecked(formaPago.getIndTransferenciaReativacao());
|
chkIndTransferenciaReativacao.setChecked(formaPago.getIndTransferenciaReativacao());
|
||||||
|
|
||||||
|
@ -177,6 +180,10 @@ public class EditarFormaPagoController extends MyGenericForwardComposer {
|
||||||
rowIdEventoExtra.setVisible(formaPago.getIndProcessoEstorno());
|
rowIdEventoExtra.setVisible(formaPago.getIndProcessoEstorno());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(formaPago != null) {
|
||||||
|
rowAtivaEstornoReceitaDespesaCredito.setVisible(formaPago.getIndEstornoReceitaDespesaCredito());
|
||||||
|
}
|
||||||
|
|
||||||
if(formaPago.getTipoCarteiraDigital() != null) {
|
if(formaPago.getTipoCarteiraDigital() != null) {
|
||||||
cmbTipoCarteiraDigital.setValue(formaPago.getTipoCarteiraDigital().toString());
|
cmbTipoCarteiraDigital.setValue(formaPago.getTipoCarteiraDigital().toString());
|
||||||
}
|
}
|
||||||
|
@ -237,6 +244,7 @@ public class EditarFormaPagoController extends MyGenericForwardComposer {
|
||||||
cmbTipoCarteiraDigital.setVisible(false);
|
cmbTipoCarteiraDigital.setVisible(false);
|
||||||
lblTipoCarteiraDigital.setVisible(false);
|
lblTipoCarteiraDigital.setVisible(false);
|
||||||
rowIdEventoExtra.setVisible(chkIndEstorno.isChecked());
|
rowIdEventoExtra.setVisible(chkIndEstorno.isChecked());
|
||||||
|
rowAtivaEstornoReceitaDespesaCredito.setVisible(chkAtivaEstornoReceitaDespesaCredito.isChecked());
|
||||||
|
|
||||||
if(cmbTipoFormapago!=null && cmbTipoFormapago.getSelectedItem() != null) {
|
if(cmbTipoFormapago!=null && cmbTipoFormapago.getSelectedItem() != null) {
|
||||||
TipoFormapago tipoFormaPagoEscolhido = ((TipoFormapago) cmbTipoFormapago.getSelectedItem().getValue());
|
TipoFormapago tipoFormaPagoEscolhido = ((TipoFormapago) cmbTipoFormapago.getSelectedItem().getValue());
|
||||||
|
@ -305,8 +313,13 @@ public class EditarFormaPagoController extends MyGenericForwardComposer {
|
||||||
if(!chkIndEstorno.isChecked()) {
|
if(!chkIndEstorno.isChecked()) {
|
||||||
formaPago.setTipoEventoExtraId(null);
|
formaPago.setTipoEventoExtraId(null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(!chkAtivaEstornoReceitaDespesaCredito.isChecked()) {
|
||||||
|
formaPago.setTipoEventoExtraIdCredito(null);
|
||||||
|
}
|
||||||
|
|
||||||
formaPago.setIndProcessoEstorno(chkIndEstorno.isChecked());
|
formaPago.setIndProcessoEstorno(chkIndEstorno.isChecked());
|
||||||
|
formaPago.setIndEstornoReceitaDespesaCredito(chkAtivaEstornoReceitaDespesaCredito.isChecked());
|
||||||
formaPago.setIndVoucherRodoviaria(chkIndVoucherRodoviaria.isChecked());
|
formaPago.setIndVoucherRodoviaria(chkIndVoucherRodoviaria.isChecked());
|
||||||
formaPago.setIndTransferenciaReativacao(chkIndTransferenciaReativacao.isChecked());
|
formaPago.setIndTransferenciaReativacao(chkIndTransferenciaReativacao.isChecked());
|
||||||
if(radioPor.isChecked()) {
|
if(radioPor.isChecked()) {
|
||||||
|
@ -522,6 +535,26 @@ public class EditarFormaPagoController extends MyGenericForwardComposer {
|
||||||
rowIdEventoExtra.setVisible(chkIndEstorno.isChecked());
|
rowIdEventoExtra.setVisible(chkIndEstorno.isChecked());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void onClick$chkAtivaEstornoReceitaDespesaCredito(Event event) {
|
||||||
|
rowAtivaEstornoReceitaDespesaCredito.setVisible(chkAtivaEstornoReceitaDespesaCredito.isChecked());
|
||||||
|
}
|
||||||
|
|
||||||
|
public Checkbox getChkAtivaEstornoReceitaDespesaCredito() {
|
||||||
|
return chkAtivaEstornoReceitaDespesaCredito;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setChkAtivaEstornoReceitaDespesaCredito(Checkbox chkAtivaEstornoReceitaDespesaCredito) {
|
||||||
|
this.chkAtivaEstornoReceitaDespesaCredito = chkAtivaEstornoReceitaDespesaCredito;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Row getRowAtivaEstornoReceitaDespesaCredito() {
|
||||||
|
return rowAtivaEstornoReceitaDespesaCredito;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setRowAtivaEstornoReceitaDespesaCredito(Row rowAtivaEstornoReceitaDespesaCredito) {
|
||||||
|
this.rowAtivaEstornoReceitaDespesaCredito = rowAtivaEstornoReceitaDespesaCredito;
|
||||||
|
}
|
||||||
|
|
||||||
public void onClick$radioPor(Event ev) {
|
public void onClick$radioPor(Event ev) {
|
||||||
rowPercentualDesconto.setVisible(true);
|
rowPercentualDesconto.setVisible(true);
|
||||||
rowValorDesconto.setVisible(false);
|
rowValorDesconto.setVisible(false);
|
||||||
|
|
|
@ -1418,10 +1418,13 @@ editarFormaPagoController.lblTPI.label=TPI
|
||||||
editarFormaPagoController.lblMobiPix.label=MobiPix
|
editarFormaPagoController.lblMobiPix.label=MobiPix
|
||||||
editarFormaPagoController.lblAdyen.label=Adyen
|
editarFormaPagoController.lblAdyen.label=Adyen
|
||||||
editarFormaPagoController.lblMercadoPago.label=Mercado Pago
|
editarFormaPagoController.lblMercadoPago.label=Mercado Pago
|
||||||
|
editarFormaPagoController.lblEmbarqueJa.label=Embarque Já
|
||||||
editarFormaPagoController.lblAtivaProcessoEstorno.label=Ativa processo de estorno
|
editarFormaPagoController.lblAtivaProcessoEstorno.label=Ativa processo de estorno
|
||||||
editarFormaPagoController.lblVoucherRodoviaria.label=Voucher Rodoviária
|
editarFormaPagoController.lblVoucherRodoviaria.label=Voucher Rodoviária
|
||||||
editarFormaPagoController.lblTransferenciaReativacao.label=Utiliza na Transferência / Reativação
|
editarFormaPagoController.lblTransferenciaReativacao.label=Utiliza na Transferência / Reativação
|
||||||
editarFormaPagoController.lblEventoExtra.label=ID Tipo Evento Extra Estorno
|
editarFormaPagoController.lblEventoExtra.label=ID Tipo Evento Extra Estorno
|
||||||
|
editarFormaPagoController.lblEstornoReceitaDespesaCredito.label=Use reversal with income / expense
|
||||||
|
editarFormaPagoController.lblTipoEventoExtraCredito.label=Extra Credit Event Type ID
|
||||||
|
|
||||||
editarFormaPagoController.MSG.tipoCarteiraDigital.label=Informe o tipo da Tipo Carteira Digital
|
editarFormaPagoController.MSG.tipoCarteiraDigital.label=Informe o tipo da Tipo Carteira Digital
|
||||||
editarFormaPagoController.lblTipoCarteiraDigital.label=Tipo Carteira Digital
|
editarFormaPagoController.lblTipoCarteiraDigital.label=Tipo Carteira Digital
|
||||||
|
|
|
@ -1242,10 +1242,13 @@ editarFormaPagoController.lblTPI.label=TPI
|
||||||
editarFormaPagoController.lblMobiPix.label=MobiPix
|
editarFormaPagoController.lblMobiPix.label=MobiPix
|
||||||
editarFormaPagoController.lblAdyen.label=Adyen
|
editarFormaPagoController.lblAdyen.label=Adyen
|
||||||
editarFormaPagoController.lblMercadoPago.label=Mercado Pago
|
editarFormaPagoController.lblMercadoPago.label=Mercado Pago
|
||||||
|
editarFormaPagoController.lblEmbarqueJa.label=Embarque Já
|
||||||
editarFormaPagoController.lblAtivaProcessoEstorno.label=Activa el proceso de contracargo
|
editarFormaPagoController.lblAtivaProcessoEstorno.label=Activa el proceso de contracargo
|
||||||
editarFormaPagoController.lblVoucherRodoviaria.label=Voucher Rodoviária
|
editarFormaPagoController.lblVoucherRodoviaria.label=Voucher Rodoviária
|
||||||
editarFormaPagoController.lblTransferenciaReativacao.label=Utiliza na Transferência / Reativação
|
editarFormaPagoController.lblTransferenciaReativacao.label=Utiliza na Transferência / Reativação
|
||||||
editarFormaPagoController.lblEventoExtra.label=ID Tipo Evento Extra Estorno
|
editarFormaPagoController.lblEventoExtra.label=ID Tipo Evento Extra Estorno
|
||||||
|
editarFormaPagoController.lblEstornoReceitaDespesaCredito.label=Activa el uso con ingresos/gastos
|
||||||
|
editarFormaPagoController.lblTipoEventoExtraCredito.label=ID de tipo de evento de crédito adicional
|
||||||
|
|
||||||
editarFormaPagoController.MSG.tipoCarteiraDigital.label=Informe o tipo da Tipo Carteira Digital
|
editarFormaPagoController.MSG.tipoCarteiraDigital.label=Informe o tipo da Tipo Carteira Digital
|
||||||
editarFormaPagoController.lblTipoCarteiraDigital.label=Tipo Carteira Digital
|
editarFormaPagoController.lblTipoCarteiraDigital.label=Tipo Carteira Digital
|
||||||
|
|
|
@ -1420,10 +1420,13 @@ editarFormaPagoController.lblTPI.label=TPI
|
||||||
editarFormaPagoController.lblMobiPix.label=MobiPix
|
editarFormaPagoController.lblMobiPix.label=MobiPix
|
||||||
editarFormaPagoController.lblAdyen.label=Adyen
|
editarFormaPagoController.lblAdyen.label=Adyen
|
||||||
editarFormaPagoController.lblMercadoPago.label=Mercado Pago
|
editarFormaPagoController.lblMercadoPago.label=Mercado Pago
|
||||||
|
editarFormaPagoController.lblEmbarqueJa.label=Embarque Já
|
||||||
editarFormaPagoController.lblAtivaProcessoEstorno.label=Ativa processo de estorno
|
editarFormaPagoController.lblAtivaProcessoEstorno.label=Ativa processo de estorno
|
||||||
editarFormaPagoController.lblVoucherRodoviaria.label=Voucher Rodoviária
|
editarFormaPagoController.lblVoucherRodoviaria.label=Voucher Rodoviária
|
||||||
editarFormaPagoController.lblTransferenciaReativacao.label=Utiliza na Transferência / Reativação
|
editarFormaPagoController.lblTransferenciaReativacao.label=Utiliza na Transferência / Reativação
|
||||||
editarFormaPagoController.lblEventoExtra.label=ID Tipo Evento Extra Estorno
|
editarFormaPagoController.lblEventoExtra.label=ID Tipo Evento Extra Estorno
|
||||||
|
editarFormaPagoController.lblEstornoReceitaDespesaCredito.label=Utiliza estorno com receita / despesa
|
||||||
|
editarFormaPagoController.lblTipoEventoExtraCredito.label=ID Tipo Evento Extra Crédito
|
||||||
|
|
||||||
editarFormaPagoController.MSG.tipoCarteiraDigital.label=Informe o tipo da Tipo Carteira Digital
|
editarFormaPagoController.MSG.tipoCarteiraDigital.label=Informe o tipo da Tipo Carteira Digital
|
||||||
editarFormaPagoController.lblTipoCarteiraDigital.label=Tipo Carteira Digital
|
editarFormaPagoController.lblTipoCarteiraDigital.label=Tipo Carteira Digital
|
||||||
|
|
|
@ -102,6 +102,19 @@
|
||||||
value="@{winEditarFormaPago$composer.formaPago.tipoEventoExtraId}" />
|
value="@{winEditarFormaPago$composer.formaPago.tipoEventoExtraId}" />
|
||||||
</row>
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<label
|
||||||
|
value="${c:l('editarFormaPagoController.lblEstornoReceitaDespesaCredito.label')}" />
|
||||||
|
<checkbox id="chkAtivaEstornoReceitaDespesaCredito" checked="false"/>
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row id="rowAtivaEstornoReceitaDespesaCredito">
|
||||||
|
<label
|
||||||
|
value="${c:l('editarFormaPagoController.lblTipoEventoExtraCredito.label')}" />
|
||||||
|
<longbox id="txtIdTipoEventoExtraCredito" width="100px" maxlength="10"
|
||||||
|
value="@{winEditarFormaPago$composer.formaPago.tipoEventoExtraIdCredito}"/>
|
||||||
|
</row>
|
||||||
|
|
||||||
<row >
|
<row >
|
||||||
<label
|
<label
|
||||||
value="${c:l('editarFormaPagoController.lblVoucherRodoviaria.label')}" />
|
value="${c:l('editarFormaPagoController.lblVoucherRodoviaria.label')}" />
|
||||||
|
|
Loading…
Reference in New Issue