fixes bug #7867 - indice pegadagio por classe
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@60095 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
f5b66ecec8
commit
004d5dd2a8
|
@ -66,8 +66,7 @@ public class BusquedaOrgaoConcedenteController extends MyGenericForwardComposer
|
|||
}
|
||||
|
||||
private void refreshLista() {
|
||||
HibernateSearchObject<OrgaoConcedente> orgaoConcedenteBusqueda =
|
||||
new HibernateSearchObject<OrgaoConcedente>(OrgaoConcedente.class, pagingOrgaoConcedente.getPageSize());
|
||||
HibernateSearchObject<OrgaoConcedente> orgaoConcedenteBusqueda = new HibernateSearchObject<OrgaoConcedente>(OrgaoConcedente.class, pagingOrgaoConcedente.getPageSize());
|
||||
|
||||
orgaoConcedenteBusqueda.addFilterILike("descOrgao", "%" + txtNome.getText().trim().concat("%"));
|
||||
|
||||
|
|
|
@ -1,10 +1,14 @@
|
|||
package com.rjconsultores.ventaboletos.web.gui.controladores.catalogos;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Calendar;
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.commons.lang.StringUtils;
|
||||
import org.apache.poi.ss.usermodel.Textbox;
|
||||
import org.apache.xerces.impl.dtd.models.CMBinOp;
|
||||
import org.flywaydb.core.internal.dbsupport.mysql.MySQLSqlStatementBuilder;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.Scope;
|
||||
import org.springframework.stereotype.Controller;
|
||||
|
@ -14,18 +18,25 @@ import org.zkoss.zk.ui.Executions;
|
|||
import org.zkoss.zk.ui.event.Event;
|
||||
import org.zkoss.zul.Checkbox;
|
||||
import org.zkoss.zul.Messagebox;
|
||||
import org.zkoss.zul.api.Combobox;
|
||||
|
||||
import com.rjconsultores.ventaboletos.dao.ClasseServicoDAO;
|
||||
import com.rjconsultores.ventaboletos.entidad.ClaseServicio;
|
||||
import com.rjconsultores.ventaboletos.entidad.ClasseIndicePeaje;
|
||||
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
||||
import com.rjconsultores.ventaboletos.entidad.OrgaoCancelacion;
|
||||
import com.rjconsultores.ventaboletos.entidad.OrgaoConcedente;
|
||||
import com.rjconsultores.ventaboletos.service.ClaseServicioService;
|
||||
import com.rjconsultores.ventaboletos.service.OrgaoCancelacionService;
|
||||
import com.rjconsultores.ventaboletos.service.OrgaoConcedenteService;
|
||||
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEmpresa;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyTextbox;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderClasseIndicePeaj;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderOrgaoCancelacion;
|
||||
|
||||
@Controller("editarOrgaoConcedenteController")
|
||||
|
@ -33,12 +44,19 @@ import com.rjconsultores.ventaboletos.web.utilerias.render.RenderOrgaoCancelacio
|
|||
public class EditarOrgaoConcedenteController extends MyGenericForwardComposer {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Autowired
|
||||
private OrgaoConcedenteService orgaoConcedenteService;
|
||||
private OrgaoConcedente orgaoConcedente;
|
||||
|
||||
@Autowired
|
||||
private OrgaoCancelacionService orgaoCancelacionService;
|
||||
|
||||
@Autowired
|
||||
private ClaseServicioService claseServicioService;
|
||||
|
||||
private MyListbox orgaoConcedenteList;
|
||||
private MyListbox listBoxIndicePeaj;
|
||||
private MyListbox orgaoCancelacionList;
|
||||
private MyTextbox txtNome;
|
||||
private MyTextboxDecimal txtPorcMulta;
|
||||
|
@ -47,10 +65,17 @@ public class EditarOrgaoConcedenteController extends MyGenericForwardComposer {
|
|||
private MyTextbox txtTiempoLimiteCambio;
|
||||
private Checkbox chkIndnaopermitetransferencia;
|
||||
private MyComboboxEmpresa cmbEmpresa;
|
||||
private MyTextboxDecimal txtIndicePeaje;
|
||||
|
||||
private MyTextboxDecimal txtIndicePeaje;
|
||||
private MyTextboxDecimal txtIndicePeajClasse;
|
||||
|
||||
private MyComboboxEstandar cmbClasseServicio;
|
||||
|
||||
private List<ClaseServicio> lsClasseServico;
|
||||
private List<OrgaoCancelacion> lsOrgaoCancelacion;
|
||||
|
||||
private List<ClasseIndicePeaje> lsClasseIndicePeajes;
|
||||
|
||||
public OrgaoConcedente getOrgaoConcedente() {
|
||||
return orgaoConcedente;
|
||||
}
|
||||
|
@ -62,11 +87,21 @@ public class EditarOrgaoConcedenteController extends MyGenericForwardComposer {
|
|||
@Override
|
||||
public void doAfterCompose(Component comp) throws Exception {
|
||||
super.doAfterCompose(comp);
|
||||
orgaoConcedente = (OrgaoConcedente) Executions.getCurrent().getArg().get("orgaoConcedente");
|
||||
Integer orgaoConcedenteId = ((OrgaoConcedente) Executions.getCurrent().getArg().get("orgaoConcedente")).getOrgaoConcedenteId();
|
||||
|
||||
orgaoConcedente = orgaoConcedenteService.obtenerID(orgaoConcedenteId);
|
||||
|
||||
orgaoConcedenteList = (MyListbox) Executions.getCurrent().getArg().get("orgaoConcedenteList");
|
||||
orgaoCancelacionList.setItemRenderer(new RenderOrgaoCancelacion());
|
||||
lsOrgaoCancelacion = orgaoCancelacionService.buscarPorOrgao(orgaoConcedente);
|
||||
orgaoCancelacionList.setData(lsOrgaoCancelacion);
|
||||
|
||||
lsClasseServico = claseServicioService.obtenerTodos();
|
||||
listBoxIndicePeaj.setItemRenderer(new RenderClasseIndicePeaj());
|
||||
|
||||
lsClasseIndicePeajes = orgaoConcedente.getClassesIndicePeaje();
|
||||
listBoxIndicePeaj.setData(lsClasseIndicePeajes);
|
||||
|
||||
txtIndicePeaje.setValue(orgaoConcedente.getIndicePeaje() != null ? orgaoConcedente.getIndicePeaje().toString().replace(".", ",") : "");
|
||||
txtNome.focus();
|
||||
}
|
||||
|
@ -86,6 +121,8 @@ public class EditarOrgaoConcedenteController extends MyGenericForwardComposer {
|
|||
} else {
|
||||
orgaoConcedente.setIndicePeaje(txtIndicePeaje.getValueDecimal());
|
||||
}
|
||||
|
||||
orgaoConcedente.setClassesIndicePeaje(lsClasseIndicePeajes);
|
||||
orgaoConcedenteService.actualizacion(orgaoConcedente);
|
||||
orgaoConcedenteList.updateItem(orgaoConcedente);
|
||||
|
||||
|
@ -142,6 +179,57 @@ public class EditarOrgaoConcedenteController extends MyGenericForwardComposer {
|
|||
orgaoCancelacionList.setData(lsOrgaoCancelacion);
|
||||
}
|
||||
|
||||
public void onClick$btnAdicionarClassePeaje(Event ev) throws InterruptedException {
|
||||
cmbClasseServicio.setConstraint("no empty");
|
||||
txtIndicePeajClasse.setConstraint("no empty,no negative, /[0-9]+(\\,[0-9][0-9]?)?|/ ");
|
||||
|
||||
if (!classeExistente((ClaseServicio) cmbClasseServicio.getSelectedItem().getValue())
|
||||
&& txtIndicePeajClasse.getValueDecimal() != null) {
|
||||
|
||||
ClasseIndicePeaje classeIndicePeaje = new ClasseIndicePeaje();
|
||||
classeIndicePeaje.setActivo(true);
|
||||
classeIndicePeaje.setClasseServicio((ClaseServicio) cmbClasseServicio.getSelectedItem().getValue());
|
||||
classeIndicePeaje.setOrgaoConcedente(orgaoConcedente);
|
||||
classeIndicePeaje.setIndicePeaje(txtIndicePeajClasse.getValueDecimal());
|
||||
|
||||
cmbClasseServicio.setConstraint("");
|
||||
txtIndicePeajClasse.setConstraint("");
|
||||
|
||||
lsClasseIndicePeajes.add(classeIndicePeaje);
|
||||
listBoxIndicePeaj.addItemNovo(classeIndicePeaje);
|
||||
cmbClasseServicio.setSelectedItem(null);
|
||||
txtIndicePeajClasse.setText("");
|
||||
}
|
||||
}
|
||||
|
||||
private boolean classeExistente(ClaseServicio claseServicio) throws InterruptedException {
|
||||
List classesIndicePeajes = listBoxIndicePeaj.getListData();
|
||||
for (Object o : classesIndicePeajes) {
|
||||
ClasseIndicePeaje classeIndice = (ClasseIndicePeaje) o;
|
||||
if (classeIndice.getClasseServicio().equals(claseServicio)) {
|
||||
Messagebox.show(
|
||||
Labels.getLabel("editarOrgaoConcedenteController.MSG.classeExistente"),
|
||||
Labels.getLabel("editarOrgaoConcedenteController.window.title"),
|
||||
Messagebox.OK, Messagebox.INFORMATION);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public void onClick$btnRemoverClassePeaje(Event ev) throws InterruptedException {
|
||||
if (listBoxIndicePeaj.getSelectedItem() != null) {
|
||||
ClasseIndicePeaje classeIndicePeaje = (ClasseIndicePeaje) listBoxIndicePeaj.getSelected();
|
||||
listBoxIndicePeaj.removeItem(classeIndicePeaje);
|
||||
|
||||
if (classeIndicePeaje.getId() == null) {
|
||||
lsClasseIndicePeajes.remove(classeIndicePeaje);
|
||||
} else {
|
||||
classeIndicePeaje.setActivo(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public MyTextboxDecimal getTxtIndicePeaje() {
|
||||
return txtIndicePeaje;
|
||||
}
|
||||
|
@ -149,4 +237,9 @@ public class EditarOrgaoConcedenteController extends MyGenericForwardComposer {
|
|||
public void setTxtIndicePeaje(MyTextboxDecimal txtIndicePeaje) {
|
||||
this.txtIndicePeaje = txtIndicePeaje;
|
||||
}
|
||||
|
||||
public List<ClaseServicio> getLsClasseServico() {
|
||||
return lsClasseServico;
|
||||
}
|
||||
|
||||
}
|
|
@ -11,6 +11,7 @@ import org.zkoss.zk.ui.event.Event;
|
|||
import org.zkoss.zul.Combobox;
|
||||
import org.zkoss.zul.Messagebox;
|
||||
import com.rjconsultores.ventaboletos.constantes.Constantes;
|
||||
import com.rjconsultores.ventaboletos.entidad.ClasseIndicePeaje;
|
||||
import com.rjconsultores.ventaboletos.entidad.OrgaoConcedente;
|
||||
import com.rjconsultores.ventaboletos.entidad.Ruta;
|
||||
import com.rjconsultores.ventaboletos.service.CalcularPeajeService;
|
||||
|
@ -64,7 +65,6 @@ public class CalcularPeajeController extends MyGenericForwardComposer {
|
|||
|
||||
public void onClick$btnCalcularPeaje(Event ev) throws InterruptedException {
|
||||
OrgaoConcedente orgao = ((OrgaoConcedente) cmbOrgaoConcedente.getSelectedItem().getValue());
|
||||
|
||||
if (orgao.getIndicePeaje() != null) {
|
||||
List<Ruta> lsRuta = rutaService.buscaRutasFromOrgao(orgao);
|
||||
try {
|
||||
|
@ -72,8 +72,7 @@ public class CalcularPeajeController extends MyGenericForwardComposer {
|
|||
|
||||
Messagebox.show(Labels.getLabel("calcularPeajeController.MSG.suscribirOK"),
|
||||
Labels.getLabel("indexController.mniCalculoPeaje.label"), Messagebox.OK, Messagebox.INFORMATION);
|
||||
}
|
||||
catch (RuntimeException e) {
|
||||
} catch (RuntimeException e) {
|
||||
// TODO throw: especific exception should be created
|
||||
String error[] = e.getMessage().split(";");
|
||||
|
||||
|
@ -98,8 +97,7 @@ public class CalcularPeajeController extends MyGenericForwardComposer {
|
|||
}
|
||||
// TODO else: show some generic error for unexpected error
|
||||
}
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
Messagebox.show(
|
||||
Labels.getLabel("calcularPeajeController.MSG.orgaoSemIndice", new Object[] { orgao.getOrgaoConcedenteId() }),
|
||||
Labels.getLabel("indexController.mniCalculoPeaje.label"), Messagebox.NO, Messagebox.ERROR);
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
package com.rjconsultores.ventaboletos.web.utilerias.render;
|
||||
|
||||
import org.zkoss.zul.Listcell;
|
||||
import org.zkoss.zul.Listitem;
|
||||
import org.zkoss.zul.ListitemRenderer;
|
||||
|
||||
import com.rjconsultores.ventaboletos.entidad.ClasseIndicePeaje;
|
||||
|
||||
public class RenderClasseIndicePeaj implements ListitemRenderer {
|
||||
|
||||
@Override
|
||||
public void render(Listitem arg0, Object arg1) throws Exception {
|
||||
ClasseIndicePeaje classeIndicePeaje = (ClasseIndicePeaje) arg1;
|
||||
|
||||
Listcell lc = new Listcell(classeIndicePeaje.getClasseServicio().getDescclase());
|
||||
lc.setParent(arg0);
|
||||
|
||||
lc = new Listcell(classeIndicePeaje.getIndicePeaje().toString());
|
||||
lc.setParent(arg0);
|
||||
|
||||
arg0.setAttribute("data", classeIndicePeaje);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
CREATE TABLE CLASSE_INDICE_PEAJE (
|
||||
CLASSE_INDICE_PEAJE_ID INTEGER PRIMARY KEY,
|
||||
ACTIVO NUMERIC(1),
|
||||
CLASSE_SERVICIO_ID INTEGER,
|
||||
ORGAOCONCEDENTE_ID INTEGER,
|
||||
INDICE_PEAJE INTEGER,
|
||||
FOREIGN KEY (CLASSE_SERVICIO_ID) REFERENCES CLASE_SERVICIO (CLASESERVICIO_ID),
|
||||
FOREIGN KEY (ORGAOCONCEDENTE_ID) REFERENCES ORGAO_CONCEDENTE (ORGAOCONCEDENTE_ID)
|
||||
);
|
||||
|
||||
CREATE SEQUENCE "CLASSE_INDICE_PEAJE_SEQ" MINVALUE 1 INCREMENT BY 1 START WITH 1 CACHE 20 NOORDER NOCYCLE ;
|
|
@ -424,6 +424,7 @@
|
|||
<value>com.rjconsultores.ventaboletos.entidad.MensajeEmpresa</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.MensajeUsuario</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Mensaje</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ClasseIndicePeaje</value>
|
||||
</list>
|
||||
</property>
|
||||
|
||||
|
|
|
@ -5102,6 +5102,7 @@ editarConfRestricaoCanalVentaController.MSG.selecionarrestricaoPtovta = Selecion
|
|||
editarConfRestricaoCanalVentaController.MSG.bloqueoExistente = Bloqueio já existente.
|
||||
|
||||
# Busqueda Orgao Concedente
|
||||
editarOrgaoConcedenteController.MSG.classeExistente=Existe um índice de pedágio para a classe selecionada!
|
||||
busquedaOrgaoConcedenteController.window.title = Órgão Concedente
|
||||
busquedaOrgaoConcedenteController.btnRefresh.tooltiptext = Atualizar
|
||||
busquedaOrgaoConcedenteController.btnCerrar.tooltiptext = Fechar
|
||||
|
@ -5111,6 +5112,7 @@ busquedaOrgaoConcedenteController.indDefaultSeguro.label = Seguro Default
|
|||
busquedaOrgaoConcedenteController.indSubSeguro.label = Sub Seguro
|
||||
busquedaOrgaoConcedenteController.indNomDocObligatorio.label=Doc. Obrigatorio
|
||||
busquedaOrgaoConcedenteController.indicePeaje.label = Índice Pedágio
|
||||
busquedaOrgaoConcedenteController.classe.label=Classe
|
||||
|
||||
# Editar Orgao Concedente
|
||||
editarOrgaoConcedenteController.window.title = Órgão Concedente
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
|
||||
<zk xmlns="http://www.zkoss.org/2005/zul">
|
||||
<window id="winEditarOrgaoConcedente" border="normal"
|
||||
apply="${editarOrgaoConcedenteController}" width="720px" height="457px"
|
||||
contentStyle="overflow:auto"
|
||||
apply="${editarOrgaoConcedenteController}" width="720px"
|
||||
height="457px" contentStyle="overflow:auto"
|
||||
title="${c:l('editarOrgaoConcedenteController.window.title')}">
|
||||
<toolbar>
|
||||
<hbox spacing="5px" style="padding:1px" align="right">
|
||||
|
@ -62,13 +62,48 @@
|
|||
checked="@{winEditarOrgaoConcedente$composer.orgaoConcedente.indNomDocObligatorio}" />
|
||||
</row>
|
||||
<row>
|
||||
<label value="${c:l('busquedaOrgaoConcedenteController.indicePeaje.label')}" />
|
||||
<textbox id="txtIndicePeaje" maxlength="8" mold="rounded" constraint=" no negative, /[0-9]+(\,[0-9][0-9]?)?|/ "
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
|
||||
/>
|
||||
<label
|
||||
value="${c:l('busquedaOrgaoConcedenteController.indicePeaje.label')}" />
|
||||
<textbox id="txtIndicePeaje"
|
||||
maxlength="8" mold="rounded"
|
||||
constraint=" no negative, /[0-9]+(\,[0-9][0-9]?)?|/ "
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal" />
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
|
||||
<toolbar style="margin-top: 5px;">
|
||||
<hbox>
|
||||
<label style="margin-left:5px;"
|
||||
value="${c:l('busquedaOrgaoConcedenteController.classe.label')}" />
|
||||
<combobox id="cmbClasseServicio"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||
mold="rounded" buttonVisible="true"
|
||||
model="@{winEditarOrgaoConcedente$composer.lsClasseServico}" />
|
||||
|
||||
<label style="margin-left:5px;"
|
||||
value="${c:l('busquedaOrgaoConcedenteController.indicePeaje.label')}" />
|
||||
<textbox id="txtIndicePeajClasse"
|
||||
maxlength="8" mold="rounded"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal" />
|
||||
|
||||
<button id="btnAdicionarClassePeaje"
|
||||
height="20" image="/gui/img/add.png" width="35px" />
|
||||
<button id="btnRemoverClassePeaje"
|
||||
height="20" image="/gui/img/remove.png" width="35px" />
|
||||
</hbox>
|
||||
</toolbar>
|
||||
|
||||
<listbox id="listBoxIndicePeaj"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||
multiple="false">
|
||||
<listhead sizable="true">
|
||||
<listheader image="/gui/img/create_doc.gif"
|
||||
label="${c:l('busquedaOrgaoConcedenteController.classe.label')}" />
|
||||
<listheader image="/gui/img/create_doc.gif"
|
||||
label="${c:l('busquedaOrgaoConcedenteController.indicePeaje.label')}" />
|
||||
</listhead>
|
||||
</listbox>
|
||||
</tabpanel>
|
||||
<tabpanel>
|
||||
<grid fixedLayout="true">
|
||||
|
@ -78,48 +113,69 @@
|
|||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label value="${c:l('editarOrgaoConcedenteController.empresa.label')}"/>
|
||||
<combobox id="cmbEmpresa" use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEmpresa"
|
||||
<label
|
||||
value="${c:l('editarOrgaoConcedenteController.empresa.label')}" />
|
||||
<combobox id="cmbEmpresa"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEmpresa"
|
||||
mold="rounded" buttonVisible="true" constraint="no empty"
|
||||
width="90%" sinTodos="false" />
|
||||
</row>
|
||||
<row>
|
||||
<label value="${c:l('editarOrgaoConcedenteController.porcMulta.label')}"/>
|
||||
<textbox id="txtPorcMulta" constraint="no empty" width="60%" maxlength="60"
|
||||
<label
|
||||
value="${c:l('editarOrgaoConcedenteController.porcMulta.label')}" />
|
||||
<textbox id="txtPorcMulta"
|
||||
constraint="no empty" width="60%" maxlength="60"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal" />
|
||||
</row>
|
||||
<row>
|
||||
<label value="${c:l('editarOrgaoConcedenteController.porcCambio.label')}"/>
|
||||
<textbox id="txtPorcCambio" constraint="no empty" width="60%" maxlength="60"
|
||||
<label
|
||||
value="${c:l('editarOrgaoConcedenteController.porcCambio.label')}" />
|
||||
<textbox id="txtPorcCambio"
|
||||
constraint="no empty" width="60%" maxlength="60"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal" />
|
||||
</row>
|
||||
<row>
|
||||
<label value="${c:l('editarOrgaoConcedenteController.tiempoLimite.label')}"/>
|
||||
<textbox id="txtTiempoLimite" constraint="no empty" width="60%" maxlength="60"
|
||||
<label
|
||||
value="${c:l('editarOrgaoConcedenteController.tiempoLimite.label')}" />
|
||||
<textbox id="txtTiempoLimite"
|
||||
constraint="no empty" width="60%" maxlength="60"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
||||
</row>
|
||||
<row>
|
||||
<label value="${c:l('editarOrgaoConcedenteController.indnaopermitetransferencia.label')}"/>
|
||||
<checkbox id="chkIndnaopermitetransferencia" />
|
||||
<label
|
||||
value="${c:l('editarOrgaoConcedenteController.indnaopermitetransferencia.label')}" />
|
||||
<checkbox
|
||||
id="chkIndnaopermitetransferencia" />
|
||||
</row>
|
||||
<row>
|
||||
<label value="${c:l('editarOrgaoConcedenteController.tiempoLimiteCambio.label')}"/>
|
||||
<textbox id="txtTiempoLimiteCambio" constraint="no empty" width="60%" maxlength="60"
|
||||
<label
|
||||
value="${c:l('editarOrgaoConcedenteController.tiempoLimiteCambio.label')}" />
|
||||
<textbox id="txtTiempoLimiteCambio"
|
||||
constraint="no empty" width="60%" maxlength="60"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
|
||||
<grid>
|
||||
<columns>
|
||||
<column width="40%" />
|
||||
<column width="60%" />
|
||||
</columns>
|
||||
|
||||
</grid>
|
||||
<toolbar>
|
||||
<hbox>
|
||||
<button id="btnAdicionarParametros" height="20"
|
||||
image="/gui/img/add.png" width="35px"
|
||||
<button id="btnAdicionarParametros"
|
||||
height="20" image="/gui/img/add.png" width="35px"
|
||||
tooltiptext="${c:l('editarConfiguracionReservacionController.btnAddParametros.tooltiptext')}" />
|
||||
<button id="btnRemoverParametros" height="20"
|
||||
image="/gui/img/remove.png" width="35px"
|
||||
<button id="btnRemoverParametros"
|
||||
height="20" image="/gui/img/remove.png" width="35px"
|
||||
tooltiptext="${c:l('editarConfiguracionReservacionController.btnBorrarParametros.tooltiptext')}" />
|
||||
</hbox>
|
||||
</toolbar>
|
||||
<listbox id="orgaoCancelacionList" use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||
<listbox id="orgaoCancelacionList"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||
multiple="false">
|
||||
<listhead sizable="true">
|
||||
<listheader image="/gui/img/create_doc.gif"
|
||||
|
|
Loading…
Reference in New Issue