0004758: Configuração Tipo de Passagem - Conf. permissão de Venda em Aberto
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@32697 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
2f39d3dcff
commit
f709c019c1
|
@ -14,7 +14,6 @@ import org.zkoss.zk.ui.Component;
|
||||||
import org.zkoss.zk.ui.Executions;
|
import org.zkoss.zk.ui.Executions;
|
||||||
import org.zkoss.zk.ui.WrongValueException;
|
import org.zkoss.zk.ui.WrongValueException;
|
||||||
import org.zkoss.zk.ui.event.Event;
|
import org.zkoss.zk.ui.event.Event;
|
||||||
import org.zkoss.zul.Checkbox;
|
|
||||||
import org.zkoss.zul.Combobox;
|
import org.zkoss.zul.Combobox;
|
||||||
import org.zkoss.zul.Comboitem;
|
import org.zkoss.zul.Comboitem;
|
||||||
import org.zkoss.zul.Label;
|
import org.zkoss.zul.Label;
|
||||||
|
@ -56,6 +55,9 @@ public class EditarConfiguracionCategoriaDatosCategoriaController extends MyGene
|
||||||
private Spinner spnMinuto;
|
private Spinner spnMinuto;
|
||||||
private Radio rdVendaAntecipadaSi;
|
private Radio rdVendaAntecipadaSi;
|
||||||
private Radio rdVendaAntecipadaNo;
|
private Radio rdVendaAntecipadaNo;
|
||||||
|
private Radio rdVendeAbertoSi;
|
||||||
|
private Radio rdVendaAbertoNao;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -115,6 +117,12 @@ public class EditarConfiguracionCategoriaDatosCategoriaController extends MyGene
|
||||||
lblMsgTiempo.setValue(Labels.getLabel("editarConfiguracionCategoriaController.lblVentaAntecipadaTempoActivar.value"));
|
lblMsgTiempo.setValue(Labels.getLabel("editarConfiguracionCategoriaController.lblVentaAntecipadaTempoActivar.value"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (categoriaDescuento.getIndVentaAbierto() != null && categoriaDescuento.getIndVentaAbierto()){
|
||||||
|
rdVendeAbertoSi.setChecked(true);
|
||||||
|
} else {
|
||||||
|
rdVendaAbertoNao.setChecked(true);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
private void preencherDataHora(Integer tiempoMinutos){
|
private void preencherDataHora(Integer tiempoMinutos){
|
||||||
if (tiempoMinutos != null){
|
if (tiempoMinutos != null){
|
||||||
|
@ -143,6 +151,8 @@ public class EditarConfiguracionCategoriaDatosCategoriaController extends MyGene
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
categoriaDescuento.setIndVentaAbierto(rdVendeAbertoSi.isChecked());
|
||||||
categoriaDescuento.setIndAplicaFeriado((String) cmbIndGeneraFeriado.getSelectedItem().getValue());
|
categoriaDescuento.setIndAplicaFeriado((String) cmbIndGeneraFeriado.getSelectedItem().getValue());
|
||||||
categoriaDescuento.setIndCuota(false);
|
categoriaDescuento.setIndCuota(false);
|
||||||
categoriaDescuento.setIndCuotaTramo(false);
|
categoriaDescuento.setIndCuotaTramo(false);
|
||||||
|
|
|
@ -88,6 +88,16 @@
|
||||||
<radio id="rdVendaAntecipadaNo" label="Nao" />
|
<radio id="rdVendaAntecipadaNo" label="Nao" />
|
||||||
</radiogroup>
|
</radiogroup>
|
||||||
</row>
|
</row>
|
||||||
|
<row>
|
||||||
|
<label
|
||||||
|
value="${c:l('editarConfiguracionCategoriaController.lblVendaAberto.value')}" />
|
||||||
|
<radiogroup>
|
||||||
|
<radio id="rdVendeAbertoSi"
|
||||||
|
selected="true" label="Sim" />
|
||||||
|
<radio id="rdVendaAbertoNao"
|
||||||
|
label="Nao" />
|
||||||
|
</radiogroup>
|
||||||
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<label value="${c:l('editarConfiguracionCategoriaController.lblVentaAntecipadaTempo.value')}" />
|
<label value="${c:l('editarConfiguracionCategoriaController.lblVentaAntecipadaTempo.value')}" />
|
||||||
<hbox>
|
<hbox>
|
||||||
|
|
Loading…
Reference in New Issue