bug #8444
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@67503 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
f6308bdd85
commit
5ad90fe3db
|
@ -207,4 +207,13 @@ public class EditarCategoriaController extends MyGenericForwardComposer {
|
|||
public void setLsGrupoCategoria(List<GrupoCategoria> lsGrupoCategoria) {
|
||||
this.lsGrupoCategoria = lsGrupoCategoria;
|
||||
}
|
||||
|
||||
public GrupoCategoriaService getGrupoCategoriaService() {
|
||||
return grupoCategoriaService;
|
||||
}
|
||||
|
||||
public void setGrupoCategoriaService(GrupoCategoriaService grupoCategoriaService) {
|
||||
this.grupoCategoriaService = grupoCategoriaService;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -13,13 +13,16 @@ import org.zkoss.zk.ui.Component;
|
|||
import org.zkoss.zk.ui.Executions;
|
||||
import org.zkoss.zk.ui.event.Event;
|
||||
import org.zkoss.zul.Checkbox;
|
||||
import org.zkoss.zul.Combobox;
|
||||
import org.zkoss.zul.Messagebox;
|
||||
|
||||
import com.rjconsultores.ventaboletos.entidad.Categoria;
|
||||
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.CategoriaService;
|
||||
import com.rjconsultores.ventaboletos.service.ClaseServicioService;
|
||||
import com.rjconsultores.ventaboletos.service.OrgaoCancelacionService;
|
||||
import com.rjconsultores.ventaboletos.service.OrgaoConcedenteService;
|
||||
|
@ -49,6 +52,9 @@ public class EditarOrgaoConcedenteController extends MyGenericForwardComposer {
|
|||
@Autowired
|
||||
private ClaseServicioService claseServicioService;
|
||||
|
||||
@Autowired
|
||||
private CategoriaService categoriaService;
|
||||
|
||||
private MyListbox orgaoConcedenteList;
|
||||
private MyListbox listBoxIndicePeaj;
|
||||
private MyListbox orgaoCancelacionList;
|
||||
|
@ -71,6 +77,10 @@ public class EditarOrgaoConcedenteController extends MyGenericForwardComposer {
|
|||
|
||||
private List<ClasseIndicePeaje> lsClasseIndicePeajes;
|
||||
|
||||
private Combobox cmbCategoria;
|
||||
|
||||
private List<Categoria> lsCategorias;
|
||||
|
||||
public OrgaoConcedente getOrgaoConcedente() {
|
||||
return orgaoConcedente;
|
||||
}
|
||||
|
@ -99,6 +109,9 @@ public class EditarOrgaoConcedenteController extends MyGenericForwardComposer {
|
|||
|
||||
txtIndicePeaje.setValue(orgaoConcedente.getIndicePeaje() != null ? orgaoConcedente.getIndicePeaje().toString().replace(".", ",") : "");
|
||||
txtNome.focus();
|
||||
|
||||
lsCategorias = categoriaService.obtenerTodasCategoriasVisibles();
|
||||
|
||||
}
|
||||
|
||||
public void onClick$btnSalvar(Event ev) throws InterruptedException {
|
||||
|
@ -243,4 +256,20 @@ public class EditarOrgaoConcedenteController extends MyGenericForwardComposer {
|
|||
return lsClasseServico;
|
||||
}
|
||||
|
||||
public Combobox getCmbCategoria() {
|
||||
return cmbCategoria;
|
||||
}
|
||||
|
||||
public void setCmbCategoria(Combobox cmbCategoria) {
|
||||
this.cmbCategoria = cmbCategoria;
|
||||
}
|
||||
|
||||
public List<Categoria> getLsCategorias() {
|
||||
return lsCategorias;
|
||||
}
|
||||
|
||||
public void setLsCategorias(List<Categoria> lsCategorias) {
|
||||
this.lsCategorias = lsCategorias;
|
||||
}
|
||||
|
||||
}
|
|
@ -5172,6 +5172,8 @@ busquedaOrgaoConcedenteController.indSubSeguro.label = Sub seguro
|
|||
busquedaOrgaoConcedenteController.indNomDocObligatorio.label=Doc. Obligatorio
|
||||
busquedaOrgaoConcedenteController.indicePeaje.label = Índice Peaje
|
||||
busquedaOrgaoConcedenteController.idadeIdoso.label = Edad Estimada de Mayor
|
||||
busquedaOrgaoConcedenteController.idadeMinima.label = Idade Mínima
|
||||
busquedaOrgaoConcedenteController.categoriaIdadeMinima.label = Categoria idade mínima
|
||||
|
||||
# Editar Orgao Concedente
|
||||
editarOrgaoConcedenteController.window.title = Instituición concedente
|
||||
|
|
|
@ -5256,6 +5256,8 @@ busquedaOrgaoConcedenteController.indNomDocObligatorio.label=Doc. Obrigatorio
|
|||
busquedaOrgaoConcedenteController.indicePeaje.label = Índice Pedágio
|
||||
busquedaOrgaoConcedenteController.classe.label=Classe
|
||||
busquedaOrgaoConcedenteController.idadeIdoso.label = Idade Considerada Idoso
|
||||
busquedaOrgaoConcedenteController.idadeMinima.label = Idade Mínima
|
||||
busquedaOrgaoConcedenteController.categoriaIdadeMinima.label = Categoria idade mínima
|
||||
|
||||
# Editar Orgao Concedente
|
||||
editarOrgaoConcedenteController.window.title = Órgão Concedente
|
||||
|
@ -5277,6 +5279,7 @@ editarOrgaoConcedenteController.tiempoLimiteCambio.label=Tempo Limite Troca
|
|||
editarOrgaoConcedenteController.indnaopermitetransferencia.label=Não Permite Transferência
|
||||
editarOrgaoConcedenteController.MSG.indicePeajeZeroInvalido = O Índice do pedágio não pode ser igual à zero
|
||||
|
||||
|
||||
# Busqueda Coeficiente Tarifa
|
||||
busquedaCoeficienteTarifaController.window.title = Coeficiente Tarifario
|
||||
busquedaCoeficienteTarifaController.btnRefresh.tooltiptext = Atualizar
|
||||
|
|
|
@ -74,7 +74,19 @@
|
|||
<intbox id="txtIdadeIdoso" width="90%" maxlength="2"
|
||||
value="@{winEditarOrgaoConcedente$composer.orgaoConcedente.idadeIdoso}"/>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<label id="lblIdadeMinima" value="${c:l('busquedaOrgaoConcedenteController.idadeMinima.label')}"/>
|
||||
<intbox id="txtIdadeMinima" width="90%" maxlength="2"
|
||||
value="@{winEditarOrgaoConcedente$composer.orgaoConcedente.idadeMinima}"/>
|
||||
</row>
|
||||
<row>
|
||||
<label value="${c:l('busquedaOrgaoConcedenteController.categoriaIdadeMinima.label')}" />
|
||||
<combobox id="cmbGrupoCategoria" width="70%"
|
||||
maxlength="60" mold="rounded" buttonVisible="true"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||
model="@{winEditarOrgaoConcedente$composer.lsCategorias}"
|
||||
selectedItem="@{winEditarOrgaoConcedente$composer.orgaoConcedente.categoria}" />
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
|
||||
|
|
Loading…
Reference in New Issue