bug #8456
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@64086 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
670a87f460
commit
bc225e8c72
|
@ -54,6 +54,7 @@ public class EditarOCDParamController extends MyGenericForwardComposer {
|
|||
private Checkbox chkOCDTransferencia;
|
||||
private Radio rdPenalizacionOCD;
|
||||
private Radio rdPenalizacionOrgaoConcedente;
|
||||
private Checkbox chkIndtotalbilhete;
|
||||
|
||||
private Radio rdSomenteCartao;
|
||||
private Radio rdTodasFormasPagamento;
|
||||
|
@ -96,6 +97,7 @@ public class EditarOCDParamController extends MyGenericForwardComposer {
|
|||
chkOCDDefault.setChecked(ocdParamCorrente.getIndOCDDefault() == null ? false : ocdParamCorrente.getIndOCDDefault());
|
||||
chkOCDTroca.setChecked(ocdParamCorrente.getIndOCDTroca() == null ? false : ocdParamCorrente.getIndOCDTroca());
|
||||
chkOCDTransferencia.setChecked(ocdParamCorrente.getIndOCDTransferencia() == null ? false : ocdParamCorrente.getIndOCDTransferencia());
|
||||
chkIndtotalbilhete.setChecked(ocdParamCorrente.getIndtotalbilhete() == null ? false : ocdParamCorrente.getIndtotalbilhete());
|
||||
txtPenalizacion.setDisabled(!ocdParamCorrente.getIndPenalizacionOCD());
|
||||
initRadios(ocdParamCorrente.getIndPenalizacionOCD());
|
||||
if (ocdParamCorrente.getOcdparamId() == null)
|
||||
|
@ -161,6 +163,7 @@ public class EditarOCDParamController extends MyGenericForwardComposer {
|
|||
ocdParamCorrente.setIndOCDTransferencia(chkOCDTransferencia.isChecked());
|
||||
ocdParamCorrente.setIndPenalizacionOCD(rdPenalizacionOCD.isChecked());
|
||||
ocdParamCorrente.setIndOcdDinheiro(rdTodasFormasPagamento.isChecked());
|
||||
ocdParamCorrente.setIndtotalbilhete(chkIndtotalbilhete.isChecked());
|
||||
|
||||
if (ocdParamCorrente.getOcdparamId() == null){
|
||||
isSuscribir = true;
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<zk>
|
||||
<window id="winEditarOCDParam" title="${c:l('editarOCDParamController.window.title')}"
|
||||
apply="${editarOCDParamController}" contentStyle="overflow:auto"
|
||||
height="250px" width="450px" border="normal" >
|
||||
height="325px" width="500px" border="normal" >
|
||||
|
||||
<toolbar>
|
||||
<hbox spacing="5px" style="padding:1px" align="right">
|
||||
|
@ -85,6 +85,10 @@
|
|||
<label value="${c:l('busquedaOCDParamController.ocdTransferencia.label')}" />
|
||||
<checkbox id="chkOCDTransferencia" value="@{winEditarOCDParam$composer.ocdParamCorrente.indOCDTroca}" checked="false" />
|
||||
</row>
|
||||
<row>
|
||||
<label value="${c:l('busquedaOCDParamController.indTotalBilhete.label')}" />
|
||||
<checkbox id="chkIndtotalbilhete" value="@{winEditarOCDParam$composer.ocdParamCorrente.indtotalbilhete}" checked="false" />
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
|
||||
|
|
Loading…
Reference in New Issue