gleimar 2012-12-20 14:05:07 +00:00
parent dca1305dbb
commit c2c30b863f
7 changed files with 202 additions and 76 deletions

View File

@ -19,13 +19,16 @@ import org.zkoss.util.resource.Labels;
import org.zkoss.zhtml.Messagebox; import org.zkoss.zhtml.Messagebox;
import org.zkoss.zk.ui.Component; 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.event.Event; import org.zkoss.zk.ui.event.Event;
import org.zkoss.zk.ui.util.Clients; import org.zkoss.zk.ui.util.Clients;
import org.zkoss.zul.Combobox; import org.zkoss.zul.Combobox;
import org.zkoss.zul.Decimalbox; import org.zkoss.zul.Decimalbox;
import org.zkoss.zul.Intbox; import org.zkoss.zul.Intbox;
import org.zkoss.zul.Radio; import org.zkoss.zul.Radio;
import org.zkoss.zul.Row;
import org.zkoss.zul.Tab; import org.zkoss.zul.Tab;
import org.zkoss.zul.api.Timebox;
import com.rjconsultores.ventaboletos.entidad.Categoria; import com.rjconsultores.ventaboletos.entidad.Categoria;
import com.rjconsultores.ventaboletos.entidad.CategoriaClase; import com.rjconsultores.ventaboletos.entidad.CategoriaClase;
@ -50,6 +53,7 @@ import com.rjconsultores.ventaboletos.service.CorridaCtrlService;
import com.rjconsultores.ventaboletos.service.EmpresaService; import com.rjconsultores.ventaboletos.service.EmpresaService;
import com.rjconsultores.ventaboletos.service.MarcaService; import com.rjconsultores.ventaboletos.service.MarcaService;
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado; import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
import com.rjconsultores.ventaboletos.web.gui.controladores.esquemaoperacional.TiempoEstanciaEsquemaTramoController;
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer; import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox; import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderConfiguracionCategoriaClase; import com.rjconsultores.ventaboletos.web.utilerias.render.RenderConfiguracionCategoriaClase;
@ -117,6 +121,12 @@ public class EditarConfiguracionCategoriaController extends MyGenericForwardComp
private Intbox cantAutorizada; private Intbox cantAutorizada;
private Radio radioImp; private Radio radioImp;
private Radio radioImprimePassagem; private Radio radioImprimePassagem;
private Radio rdCuotaSi;
private Radio rdCuotaNo;
private Row rowTrecho;;
private Row rowTiempo;;
private Radio rdTrecho;
private Timebox timeTempoPermitir;
private Radio radioNaoImprimePassagem; private Radio radioNaoImprimePassagem;
private Tab tabEmpresa; private Tab tabEmpresa;
private Tab tabDesconto; private Tab tabDesconto;
@ -518,59 +528,66 @@ public class EditarConfiguracionCategoriaController extends MyGenericForwardComp
cmbCategorias.focus(); cmbCategorias.focus();
return; return;
} }
cmbCategorias.getValue(); cmbCategorias.getValue();
cantAutorizada.getValue(); cantAutorizada.getValue();
descuentoPorc.getValue(); descuentoPorc.getValue();
descuentoImporte.getValue(); descuentoImporte.getValue();
try {
boolean existe = false; boolean existe = false;
for (CategoriaDescuento cd : lsCategoriaDescuento) { for (CategoriaDescuento cd : lsCategoriaDescuento) {
if (cd.getActivo() && cd.getCategoria().equals(cmbCategorias.getSelectedItem().getValue())) { if (cd.getActivo() && cd.getCategoria().equals(cmbCategorias.getSelectedItem().getValue())) {
existe = true; existe = true;
}
} }
if (!existe) { }
CategoriaDescuento cDescuento = new CategoriaDescuento(); if (!existe) {
cDescuento.setCategoriaCtrl(categoriaCtrl); CategoriaDescuento cDescuento = new CategoriaDescuento();
cDescuento.setActivo(Boolean.TRUE); cDescuento.setCategoriaCtrl(categoriaCtrl);
cDescuento.setFecmodif(Calendar.getInstance().getTime()); cDescuento.setActivo(Boolean.TRUE);
cDescuento.setUsuarioId(UsuarioLogado.getUsuarioLogado().getUsuarioId()); cDescuento.setFecmodif(Calendar.getInstance().getTime());
cDescuento.setCategoria((Categoria) cmbCategorias.getSelectedItem().getValue()); cDescuento.setUsuarioId(UsuarioLogado.getUsuarioLogado().getUsuarioId());
cDescuento.setCantautorizada(cantAutorizada.getValue()); cDescuento.setCategoria((Categoria) cmbCategorias.getSelectedItem().getValue());
cDescuento.setDescuentoimporte(descuentoImporte.getValue()); cDescuento.setCantautorizada(cantAutorizada.getValue());
cDescuento.setDescuentoporc(descuentoPorc.getValue()); cDescuento.setDescuentoimporte(descuentoImporte.getValue());
cDescuento.setDescuentoporc(descuentoPorc.getValue());
if (radioImprimePassagem.isSelected()) { if (radioImprimePassagem.isSelected()) {
cDescuento.setIndImprimeBoleto(Boolean.TRUE); cDescuento.setIndImprimeBoleto(Boolean.TRUE);
} else if (radioNaoImprimePassagem.isSelected()) { } else if (radioNaoImprimePassagem.isSelected()) {
cDescuento.setIndImprimeBoleto(Boolean.FALSE); cDescuento.setIndImprimeBoleto(Boolean.FALSE);
}
cDescuento.setIndCuota(false);
cDescuento.setIndCuotaTramo(false);
if (rdCuotaSi.isChecked()){
if (timeTempoPermitir.getValue() == null){
throw new WrongValueException(timeTempoPermitir, Labels.getLabel("MSG.CONSTRAINT.CONSTRAINTNUMBERBDOBLIGATORIO"));
} }
lsCategoriaDescuento.add(cDescuento); cDescuento.setIndCuota(true);
categoriaDescuentoList.addItem(cDescuento); cDescuento.setIndCuotaTramo(rdTrecho.isChecked());
categoriaCtrl.setCategoriaDescuentoList(lsCategoriaDescuento); cDescuento.setTiempoCuota(timeTempoPermitir.getValue());
cmbCategorias.setSelectedItem(null);
cantAutorizada.setRawValue(null);
if (radioImp.isChecked()) {
onClick$radioImp(null);
} else {
onClick$radioPor(null);
}
} else {
Messagebox.show(
Labels.getLabel("MSG.Registro.Existe"),
Labels.getLabel("editarConfiguracionCategoriaController.window.title"),
Messagebox.OK, Messagebox.EXCLAMATION);
} }
lsCategoriaDescuento.add(cDescuento);
categoriaDescuentoList.addItem(cDescuento);
categoriaCtrl.setCategoriaDescuentoList(lsCategoriaDescuento);
} catch (Exception ex) { cmbCategorias.setSelectedItem(null);
log.error(ex); cantAutorizada.setRawValue(null);
Clients.alert( if (radioImp.isChecked()) {
Labels.getLabel("MSG.Error"), onClick$radioImp(null);
} else {
onClick$radioPor(null);
}
} else {
Messagebox.show(
Labels.getLabel("MSG.Registro.Existe"),
Labels.getLabel("editarConfiguracionCategoriaController.window.title"), Labels.getLabel("editarConfiguracionCategoriaController.window.title"),
Messagebox.ERROR); Messagebox.OK, Messagebox.EXCLAMATION);
} }
} }
public void onClick$btnRemoverDesconto(Event ev) { public void onClick$btnRemoverDesconto(Event ev) {
@ -978,4 +995,18 @@ public class EditarConfiguracionCategoriaController extends MyGenericForwardComp
public List<Categoria> getLsCategorias() { public List<Categoria> getLsCategorias() {
return lsCategorias; return lsCategorias;
} }
public void onClick$rdCuotaSi(Event ev) {
mudarCamposCuota(true);
}
private void mudarCamposCuota(boolean visible){
rowTrecho.setVisible(visible);
rowTiempo.setVisible(visible);
timeTempoPermitir.setValue(null);
}
public void onClick$rdCuotaNo(Event ev) {
mudarCamposCuota(false);
}
} }

View File

@ -8,11 +8,16 @@ import java.math.BigDecimal;
import org.springframework.context.annotation.Scope; import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
import org.zkoss.util.resource.Labels;
import org.zkoss.zk.ui.Component; 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.event.Event; import org.zkoss.zk.ui.event.Event;
import org.zkoss.zul.Checkbox;
import org.zkoss.zul.Radio; import org.zkoss.zul.Radio;
import org.zkoss.zul.Row;
import org.zkoss.zul.Textbox; import org.zkoss.zul.Textbox;
import org.zkoss.zul.api.Timebox;
import com.rjconsultores.ventaboletos.entidad.CategoriaDescuento; import com.rjconsultores.ventaboletos.entidad.CategoriaDescuento;
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer; import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
@ -35,6 +40,11 @@ public class EditarConfiguracionCategoriaDatosCategoriaController extends MyGene
private Radio radioNaoImprimePassagem; private Radio radioNaoImprimePassagem;
private Textbox descuentoPorc; private Textbox descuentoPorc;
private Textbox descuentoImporte; private Textbox descuentoImporte;
private Row rowTrecho;
private Row rowTiempo;
private Timebox timeTempoPermitir;
private Radio rdCuotaSi;
private Radio rdTrecho;
@Override @Override
public void doAfterCompose(Component comp) throws Exception { public void doAfterCompose(Component comp) throws Exception {
@ -58,6 +68,15 @@ public class EditarConfiguracionCategoriaDatosCategoriaController extends MyGene
} else if ((categoriaDescuento.getIndImprimeBoleto() != null) && (!categoriaDescuento.getIndImprimeBoleto())) { } else if ((categoriaDescuento.getIndImprimeBoleto() != null) && (!categoriaDescuento.getIndImprimeBoleto())) {
radioNaoImprimePassagem.setSelected(Boolean.TRUE); radioNaoImprimePassagem.setSelected(Boolean.TRUE);
} }
if ( (categoriaDescuento.getIndCuota() != null) && (categoriaDescuento.getIndCuota()) ){
mudarCamposCuota(true);
timeTempoPermitir.setValue(categoriaDescuento.getTiempoCuota());
rdCuotaSi.setChecked(true);
rdTrecho.setChecked(categoriaDescuento.getIndCuotaTramo());
}else{
mudarCamposCuota(false);
}
} }
public void onClick$btnSalvar(Event ev) { public void onClick$btnSalvar(Event ev) {
@ -66,6 +85,19 @@ public class EditarConfiguracionCategoriaDatosCategoriaController extends MyGene
} else if (radioNaoImprimePassagem.isSelected()) { } else if (radioNaoImprimePassagem.isSelected()) {
categoriaDescuento.setIndImprimeBoleto(Boolean.FALSE); categoriaDescuento.setIndImprimeBoleto(Boolean.FALSE);
} }
categoriaDescuento.setIndCuota(false);
categoriaDescuento.setIndCuotaTramo(false);
if (rdCuotaSi.isChecked()){
if (timeTempoPermitir.getValue() == null){
throw new WrongValueException(timeTempoPermitir, Labels.getLabel("MSG.CONSTRAINT.CONSTRAINTNUMBERBDOBLIGATORIO"));
}
categoriaDescuento.setIndCuota(true);
categoriaDescuento.setIndCuotaTramo(rdTrecho.isChecked());
categoriaDescuento.setTiempoCuota(timeTempoPermitir.getValue());
}
categoriaDescuentoList.updateItem(categoriaDescuento); categoriaDescuentoList.updateItem(categoriaDescuento);
this.closeWindow(); this.closeWindow();
@ -98,4 +130,18 @@ public class EditarConfiguracionCategoriaDatosCategoriaController extends MyGene
categoriaDescuento.setDescuentoimporte(BigDecimal.ZERO); categoriaDescuento.setDescuentoimporte(BigDecimal.ZERO);
descuentoPorc.setConstraint("no empty, no zero, no negative"); descuentoPorc.setConstraint("no empty, no zero, no negative");
} }
public void onClick$rdCuotaSi(Event ev) {
mudarCamposCuota(true);
}
private void mudarCamposCuota(boolean visible){
rowTrecho.setVisible(visible);
rowTiempo.setVisible(visible);
timeTempoPermitir.setValue(null);
}
public void onClick$rdCuotaNo(Event ev) {
mudarCamposCuota(false);
}
} }

View File

@ -607,31 +607,20 @@ public class EditarCatalogoDeRutaController extends MyGenericForwardComposer
ruta.setIndNombreObligatorio(Boolean.FALSE); ruta.setIndNombreObligatorio(Boolean.FALSE);
} }
if (ruta.getRutaId() == null) { if (ruta.getRutaId() == null) {
String nomeRuta = ruta.getDescruta();
ClaseServicio claseServicio = ruta.getClaseServicio(); ruta = rutaService.suscribir(ruta, lsParadasSequencia);
Boolean isNomeObrigatorio = ruta.getIndNombreObligatorio(); rutaList.addItem(ruta);
List<Ruta> lsRutas = rutaService.buscar(nomeRuta, claseServicio, isNomeObrigatorio); Messagebox.show(Labels.getLabel(
"editarCatalogoDeRutaController.MSG.suscribirOK").concat(" ID: "
if (lsRutas.isEmpty()) { + ruta.getRutaId().toString()),
ruta = rutaService.suscribir(ruta, lsParadasSequencia);
rutaList.addItem(ruta);
Messagebox.show(Labels.getLabel(
"editarCatalogoDeRutaController.MSG.suscribirOK").concat(" ID: "
+ ruta.getRutaId().toString()),
Labels.getLabel("editarCatalogoDeRutaController.window.title"),
Messagebox.OK,
Messagebox.INFORMATION);
closeWindow();
} else {
Messagebox.show(Labels.getLabel("MSG.Registro.Existe"),
Labels.getLabel("editarCatalogoDeRutaController.window.title"), Labels.getLabel("editarCatalogoDeRutaController.window.title"),
Messagebox.OK, Messagebox.EXCLAMATION); Messagebox.OK,
} Messagebox.INFORMATION);
closeWindow();
} else { } else {
// Gera Secuencia e Combinação Novamente se houve // Gera Secuencia e Combinação Novamente se houve

View File

@ -29,10 +29,18 @@ public class RenderConfiguracionCategoriaDecuento implements ListitemRenderer {
lc = new Listcell(categoria.getDescuentoimporte() != null ? categoria.getDescuentoimporte().toString() : "0"); lc = new Listcell(categoria.getDescuentoimporte() != null ? categoria.getDescuentoimporte().toString() : "0");
lc.setParent(lstm); lc.setParent(lstm);
lc = new Listcell(categoria.getIndImprimeBoleto() != null ? (categoria.getIndImprimeBoleto()?"Sim":"Não") : "Não");
lc.setParent(lstm);
lc = new Listcell(categoria.getIndCuota() != null ? (categoria.getIndCuota()?"Sim":"Não") : "Não");
lc.setParent(lstm);
lc = new Listcell(categoria.getDescuentoporc() != null ? categoria.getDescuentoporc().toString() : "0"); lc = new Listcell(categoria.getDescuentoporc() != null ? categoria.getDescuentoporc().toString() : "0");
lc.setParent(lstm); lc.setParent(lstm);
SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy HH:mm"); SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy HH:mm");
String vigencia = ""; String vigencia = "";
List<CategoriaPeriodo> lsCategoriaPeriodo = categoria.getCategoriaPeriodoList(); List<CategoriaPeriodo> lsCategoriaPeriodo = categoria.getCategoriaPeriodoList();

View File

@ -7,7 +7,7 @@
# <controler>. <id>. <propiedade> = XXX # <controler>. <id>. <propiedade> = XXX
#Versao do VentaBoleto: #Versao do VentaBoleto:
versao = ADM_20121218_1RC91 versao = ADM_20121220_1RC92
# MSG Defaut: # MSG Defaut:
MSG.CONSTRAINT.PORCENTAGEM = Os valores devem estar entre 0 e 100 MSG.CONSTRAINT.PORCENTAGEM = Os valores devem estar entre 0 e 100
@ -910,7 +910,15 @@ editarConfiguracionCategoriaController.lblCorrida.value = Serviço
editarConfiguracionCategoriaController.lblClaseServicio.value = Tipo de Classe editarConfiguracionCategoriaController.lblClaseServicio.value = Tipo de Classe
editarConfiguracionCategoriaController.lblOrigen.value = Origem (Início Linha) editarConfiguracionCategoriaController.lblOrigen.value = Origem (Início Linha)
editarConfiguracionCategoriaController.lblDestino.value = Destino (Fim Linha) editarConfiguracionCategoriaController.lblDestino.value = Destino (Fim Linha)
editarConfiguracionCategoriaController.lblCantAutorizada.value = Quantidade Autorizada editarConfiguracionCategoriaController.lblCantAutorizada.value = Qtd Autorizada
editarConfiguracionCategoriaController.lblGridImprime.value=Imprime
editarConfiguracionCategoriaController.lblCota.value=Cota
editarConfiguracionCategoriaController.lblCotaObli.value=Cota Obrigatória
editarConfiguracionCategoriaController.lblTipoCota.value=Tipo de Cota
editarConfiguracionCategoriaController.lblServico.value=Serviço
editarConfiguracionCategoriaController.lblTrecho.value=Trecho
editarConfiguracionCategoriaController.lblTiempoValido.value=Tempo Válido
editarConfiguracionCategoriaController.lblGridCantAutorizada.value = Qtd Aut.
editarConfiguracionCategoriaController.lblDescuentoPorc.value = Porcentagem editarConfiguracionCategoriaController.lblDescuentoPorc.value = Porcentagem
editarConfiguracionCategoriaController.lblDescuentoImporte.value = Valor editarConfiguracionCategoriaController.lblDescuentoImporte.value = Valor
editarConfiguracionCategoriaController.lblDescuento.value = Tipo Desconto editarConfiguracionCategoriaController.lblDescuento.value = Tipo Desconto
@ -954,6 +962,7 @@ editarConfiguracionCategoriaController.MSG.necesitaMercado = Necessita informar
editarConfiguracionCategoriaController.MSG.necesitaClase = Necessita informar um tipo de classe. editarConfiguracionCategoriaController.MSG.necesitaClase = Necessita informar um tipo de classe.
editarConfiguracionCategoriaController.lblImprimirPassagem.value = Impressão de Passagem editarConfiguracionCategoriaController.lblImprimirPassagem.value = Impressão de Passagem
# Detener a pantalla de Pesquisa # Detener a pantalla de Pesquisa
busquedaCatalogoDeParadaController.window.title = Localidade busquedaCatalogoDeParadaController.window.title = Localidade
busquedaCatalogoDeParadaController.btnRefresh.tooltiptext = Atualizar busquedaCatalogoDeParadaController.btnRefresh.tooltiptext = Atualizar

View File

@ -4,7 +4,7 @@
<?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" arg0="winEditarConfiguracionCategoria"?> <?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" arg0="winEditarConfiguracionCategoria"?>
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?> <?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
<zk xmlns="http://www.zkoss.org/2005/zul"> <zk>
<window id="winEditarConfiguracionCategoria" border="normal" <window id="winEditarConfiguracionCategoria" border="normal"
apply="${editarConfiguracionCategoriaController}" height="540px" apply="${editarConfiguracionCategoriaController}" height="540px"
@ -117,6 +117,25 @@
<decimalbox id="descuentoPorc" <decimalbox id="descuentoPorc"
constraint="no empty" width="50%" maxlength="9" /> constraint="no empty" width="50%" maxlength="9" />
</row> </row>
<row>
<label value="${c:l('editarConfiguracionCategoriaController.lblCotaObli.value')}" />
<radiogroup>
<radio id="rdCuotaSi" label="Sim" />
<radio id="rdCuotaNo" label="Nao" selected="true"/>
</radiogroup>
</row>
<row id="rowTrecho" visible="false">
<label value="${c:l('editarConfiguracionCategoriaController.lblTipoCota.value')}" />
<radiogroup>
<radio selected="true" label="${c:l('editarConfiguracionCategoriaController.lblServico.value')}" />
<radio id="rdTrecho" label="${c:l('editarConfiguracionCategoriaController.lblTrecho.value')}" />
</radiogroup>
</row>
<row id="rowTiempo" visible="false">
<label value="${c:l('editarConfiguracionCategoriaController.lblTiempoValido.value')}" />
<timebox id="timeTempoPermitir" width="25%" mold="rounded" format="HH:mm"/>
</row>
<row> <row>
<label value=" " /> <label value=" " />
<hbox> <hbox>
@ -140,23 +159,29 @@
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox" use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
vflex="true" multiple="false"> vflex="true" multiple="false">
<listhead sizable="true"> <listhead sizable="true">
<listheader image="/gui/img/create_doc.gif" <listheader
width="150px" width="150px"
label="${c:l('editarConfiguracionCategoriaController.lblCategorias.value')}" label="${c:l('editarConfiguracionCategoriaController.lblCategorias.value')}"
sort="auto(categoria.desccategoria)" /> sort="auto(categoria.desccategoria)" />
<listheader image="/gui/img/create_doc.gif" <listheader
width="150px" width="60px"
label="${c:l('editarConfiguracionCategoriaController.lblCantAutorizada.value')}" label="${c:l('editarConfiguracionCategoriaController.lblGridCantAutorizada.value')}"
sort="auto(cantautorizada)" /> sort="auto(cantautorizada)" />
<listheader image="/gui/img/create_doc.gif" <listheader
width="90px" width="50px"
label="${c:l('editarConfiguracionCategoriaController.lblDescuentoImporte.value')}" label="${c:l('editarConfiguracionCategoriaController.lblDescuentoImporte.value')}"
sort="auto(descuentoimporte)" /> sort="auto(descuentoimporte)" />
<listheader image="/gui/img/create_doc.gif" <listheader
width="60px"
label="${c:l('editarConfiguracionCategoriaController.lblGridImprime.value')}"/>
<listheader
width="50px"
label="${c:l('editarConfiguracionCategoriaController.lblCota.value')}"/>
<listheader
width="100px" width="100px"
label="${c:l('editarConfiguracionCategoriaController.lblDescuentoPorc.value')}" label="${c:l('editarConfiguracionCategoriaController.lblDescuentoPorc.value')}"
sort="auto(descuentoporc)" /> sort="auto(descuentoporc)" />
<listheader image="/gui/img/create_doc.gif" <listheader width="100%"
label="${c:l('editarConfiguracionCategoriaControllerPeriodo.window.title')}" /> label="${c:l('editarConfiguracionCategoriaControllerPeriodo.window.title')}" />
</listhead> </listhead>
</listbox> </listbox>

View File

@ -80,6 +80,24 @@
maxValue="100" constraint="no empty" width="50%" maxlength="9" maxValue="100" constraint="no empty" width="50%" maxlength="9"
value="@{winEditarConfiguracionCategoriasDatosCategoria$composer.categoriaDescuento.descuentoporc,converter=com.rjconsultores.ventaboletos.web.utilerias.StringDecimalToDecimalConverter}" /> value="@{winEditarConfiguracionCategoriasDatosCategoria$composer.categoriaDescuento.descuentoporc,converter=com.rjconsultores.ventaboletos.web.utilerias.StringDecimalToDecimalConverter}" />
</row> </row>
<row>
<label value="${c:l('editarConfiguracionCategoriaController.lblCotaObli.value')}" />
<radiogroup>
<radio id="rdCuotaSi" label="Sim" />
<radio id="rdCuotaNo" label="Nao" selected="true"/>
</radiogroup>
</row>
<row id="rowTrecho">
<label value="${c:l('editarConfiguracionCategoriaController.lblTipoCota.value')}" />
<radiogroup>
<radio selected="true" label="${c:l('editarConfiguracionCategoriaController.lblServico.value')}" />
<radio id="rdTrecho" label="${c:l('editarConfiguracionCategoriaController.lblTrecho.value')}" />
</radiogroup>
</row>
<row id="rowTiempo">
<label value="${c:l('editarConfiguracionCategoriaController.lblTiempoValido.value')}" />
<timebox id="timeTempoPermitir" mold="rounded" format="HH:mm"/>
</row>
</rows> </rows>
</grid> </grid>
</window> </window>