fixes bug#22051
qua: dev:Valdir git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@106554 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
6ff12dc58d
commit
0aa8c25bc8
|
@ -148,6 +148,9 @@ public class EditarConfiguracionCategoriaDatosCategoriaController extends MyGene
|
|||
|
||||
private Checkbox chkIndClientePcd;
|
||||
private Intbox qtdeLimiteNaoEmbarque;
|
||||
private Radio radioCheckinSim;
|
||||
private Radio radioCheckinNao;
|
||||
|
||||
|
||||
private Row rowComportamentoVendaAberto;
|
||||
|
||||
|
@ -175,6 +178,7 @@ public class EditarConfiguracionCategoriaDatosCategoriaController extends MyGene
|
|||
|
||||
popularCombobox(cmbIndGeneraFeriado);
|
||||
|
||||
|
||||
if ((categoriaDescuento.getDescuentoimporte() != null) && (!categoriaDescuento.getDescuentoimporte().equals(BigDecimal.ZERO))) {
|
||||
radioImp.setSelected(true);
|
||||
descuentoPorc.setDisabled(true);
|
||||
|
@ -336,6 +340,7 @@ public class EditarConfiguracionCategoriaDatosCategoriaController extends MyGene
|
|||
if (categoriaDescuento.getCategoria().getCategoriaId().equals(1)) {
|
||||
desabilitarItensCategoriaNormal();
|
||||
}
|
||||
radioCheckinNao.setChecked(Boolean.TRUE);
|
||||
}
|
||||
/**
|
||||
*
|
||||
|
@ -445,6 +450,8 @@ public class EditarConfiguracionCategoriaDatosCategoriaController extends MyGene
|
|||
categoriaDescuento.setIndVentaSolamenteReserva(Boolean.FALSE);
|
||||
}
|
||||
|
||||
categoriaDescuento.setIndCheckinAutomatico(radioCheckinSim.isSelected() ? Boolean.TRUE : Boolean.FALSE );
|
||||
|
||||
if(rdVendaAntecipadaKMSi.isChecked()) {
|
||||
spnKM.getValue();
|
||||
tbTempoAteKM.getValue();
|
||||
|
|
|
@ -86,6 +86,16 @@
|
|||
maxValue="100" constraint="no empty" width="50%" maxlength="9"
|
||||
value="@{winEditarConfiguracionCategoriasDatosCategoria$composer.categoriaDescuento.descuentoporc,converter=com.rjconsultores.ventaboletos.web.utilerias.StringDecimalToDecimalConverter}" />
|
||||
</row>
|
||||
<row spans="1,3">
|
||||
<label
|
||||
value="${c:l('editarConfiguracionCategoriaController.checkIn.value')}" />
|
||||
<radiogroup Id="radioGroupcheckin">
|
||||
<radio id="radioCheckinSim"
|
||||
label="${c:l('editarConfiguracionCategoriaController.checkInSim.value')}" />
|
||||
<radio id="radioCheckinNao"
|
||||
label="${c:l('editarConfiguracionCategoriaController.checkInNao.value')}" />
|
||||
</radiogroup>
|
||||
</row>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarConfiguracionCategoriaController.lblVendaAberto.value')}" />
|
||||
|
|
Loading…
Reference in New Issue