P3 - Bloqueio por tipo de Passagem (fixed bug #5381)
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@36227 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
3e92448f65
commit
5a96db3a9a
|
@ -18,6 +18,7 @@ import org.apache.log4j.Logger;
|
|||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.Scope;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import org.zkoss.util.resource.Labels;
|
||||
import org.zkoss.zk.ui.Component;
|
||||
import org.zkoss.zk.ui.Executions;
|
||||
|
@ -41,6 +42,7 @@ import org.zkoss.zul.Radio;
|
|||
import org.zkoss.zul.Textbox;
|
||||
import org.zkoss.zul.api.Timebox;
|
||||
|
||||
import com.rjconsultores.ventaboletos.entidad.Categoria;
|
||||
import com.rjconsultores.ventaboletos.entidad.Ciudad;
|
||||
import com.rjconsultores.ventaboletos.entidad.Colonia;
|
||||
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
||||
|
@ -51,11 +53,13 @@ import com.rjconsultores.ventaboletos.entidad.Moneda;
|
|||
import com.rjconsultores.ventaboletos.entidad.Nodo;
|
||||
import com.rjconsultores.ventaboletos.entidad.Parada;
|
||||
import com.rjconsultores.ventaboletos.entidad.ParamRecoleccion;
|
||||
import com.rjconsultores.ventaboletos.entidad.PerfilFuncion;
|
||||
import com.rjconsultores.ventaboletos.entidad.PtoVtaCheckin;
|
||||
import com.rjconsultores.ventaboletos.entidad.PtoVtaSeguro;
|
||||
import com.rjconsultores.ventaboletos.entidad.PtoVtaUsuarioBancario;
|
||||
import com.rjconsultores.ventaboletos.entidad.PtovtaAgencia;
|
||||
import com.rjconsultores.ventaboletos.entidad.PtovtaAntecipacomissao;
|
||||
import com.rjconsultores.ventaboletos.entidad.PtovtaCatInd;
|
||||
import com.rjconsultores.ventaboletos.entidad.PtovtaComissao;
|
||||
import com.rjconsultores.ventaboletos.entidad.PtovtaDiversos;
|
||||
import com.rjconsultores.ventaboletos.entidad.PtovtaEmpresa;
|
||||
|
@ -65,7 +69,10 @@ import com.rjconsultores.ventaboletos.entidad.PtovtaHorario;
|
|||
import com.rjconsultores.ventaboletos.entidad.PtovtaTitular;
|
||||
import com.rjconsultores.ventaboletos.entidad.PuntoVenta;
|
||||
import com.rjconsultores.ventaboletos.entidad.TipoPuntoVenta;
|
||||
import com.rjconsultores.ventaboletos.entidad.Usuario;
|
||||
import com.rjconsultores.ventaboletos.entidad.UsuarioBancario;
|
||||
import com.rjconsultores.ventaboletos.entidad.UsuarioPerfil;
|
||||
import com.rjconsultores.ventaboletos.service.CategoriaService;
|
||||
import com.rjconsultores.ventaboletos.service.ColoniaService;
|
||||
import com.rjconsultores.ventaboletos.service.EmpresaService;
|
||||
import com.rjconsultores.ventaboletos.service.FormaPagoService;
|
||||
|
@ -75,12 +82,14 @@ import com.rjconsultores.ventaboletos.service.NodoService;
|
|||
import com.rjconsultores.ventaboletos.service.PtoVtaCheckinService;
|
||||
import com.rjconsultores.ventaboletos.service.PtoVtaSeguroService;
|
||||
import com.rjconsultores.ventaboletos.service.PtoVtaUsuarioBancarioService;
|
||||
import com.rjconsultores.ventaboletos.service.PtovtaCatIndService;
|
||||
import com.rjconsultores.ventaboletos.service.PtovtaComissaoService;
|
||||
import com.rjconsultores.ventaboletos.service.PtovtaEmpresaBloqueadaService;
|
||||
import com.rjconsultores.ventaboletos.service.PtovtaEmpresaService;
|
||||
import com.rjconsultores.ventaboletos.service.PuntoVentaService;
|
||||
import com.rjconsultores.ventaboletos.service.TipoPuntoVentaService;
|
||||
import com.rjconsultores.ventaboletos.service.UsuarioBancarioService;
|
||||
import com.rjconsultores.ventaboletos.service.UsuarioService;
|
||||
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxPuntoVenta;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||
|
@ -97,6 +106,7 @@ import com.rjconsultores.ventaboletos.web.utilerias.render.PtovtaUsuarioBancario
|
|||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderEmpresaBloquear;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderParadaPtoVtaCheckin;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderPtoVtaSeguro;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderPtovtaCatInd;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderPtovtaComissao;
|
||||
|
||||
/**
|
||||
|
@ -108,6 +118,9 @@ import com.rjconsultores.ventaboletos.web.utilerias.render.RenderPtovtaComissao;
|
|||
public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
private static Logger log = Logger.getLogger(EditarPuntoVentaController.class);
|
||||
public static final String FUNCION_TIPO_BOLETO_BLOQUEADO = "COM.RJCONSULTORES.ADMINISTRACION.PUNTOVENTA.TIPOBOLETOBLOQUEADO";
|
||||
|
||||
@Autowired
|
||||
private PuntoVentaService puntoVentaService;
|
||||
@Autowired
|
||||
|
@ -138,6 +151,12 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
|||
private PtoVtaCheckinService ptoVtaCheckinService;
|
||||
@Autowired
|
||||
private PtoVtaSeguroService ptoVtaSeguroService;
|
||||
@Autowired
|
||||
private CategoriaService categoriaService;
|
||||
@Autowired
|
||||
private PtovtaCatIndService ptovtaCatIndService;
|
||||
@Autowired
|
||||
private UsuarioService usuarioService;
|
||||
|
||||
private PuntoVenta puntoVenta;
|
||||
private Textbox txtCP;
|
||||
|
@ -153,7 +172,9 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
|||
private MyListbox ptovtaHorarioList;
|
||||
private MyListbox ptovtaEstoqueList;
|
||||
private MyListbox ptovtaComissaoList;
|
||||
private static Logger log = Logger.getLogger(EditarPuntoVentaController.class);
|
||||
private MyListbox ptovtaCatIndList;
|
||||
|
||||
private List<Categoria> lsCategoriaBloquear;
|
||||
|
||||
private List<Empresa> lsEmpresasBloquear;
|
||||
private List<Empresa> lsEmpresas;
|
||||
|
@ -207,6 +228,8 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
|||
private Combobox cmbReceita;
|
||||
private Combobox cmbEmpresaComissao;
|
||||
private Combobox cmbEmpresas;
|
||||
private Combobox cmbCategorias;
|
||||
|
||||
private Button btnSalvarFormaPago;
|
||||
private Button btnApagar;
|
||||
private Doublebox txtCargosExtras;
|
||||
|
@ -276,6 +299,7 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
|||
super.doAfterCompose(comp);
|
||||
aplicarMascara();
|
||||
|
||||
lsCategoriaBloquear = categoriaService.obtenerTodasCategoriasVisibles();
|
||||
lsEmpresasBloquear = empresaService.obtenerTodos();
|
||||
lsEmpresas = UsuarioLogado.getUsuarioLogado().getEmpresa();
|
||||
lsMoneda = monedaService.obtenerTodos();
|
||||
|
@ -286,11 +310,12 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
|||
lsTipoPuntoVenta = tipoPuntoVentaService.obtenerTodosExceto(TipoPuntoVenta.TODOS);
|
||||
lsUsuarioBancario = usuarioBancarioService.obtenerTodos();
|
||||
|
||||
popularCombobox(cmbTipoConta, cmbPessoa, cmbForm, cmbLote, cmbPosicao, cmbReceita, cmbEmpresas);
|
||||
popularCombobox(cmbTipoConta, cmbPessoa, cmbForm, cmbLote, cmbPosicao, cmbReceita, cmbEmpresas, cmbCategorias);
|
||||
|
||||
ptovtaEmpresasBloqueadasList.setItemRenderer(new RenderEmpresaBloquear());
|
||||
ptovtaPtoVtaCheckinList.setItemRenderer(new RenderParadaPtoVtaCheckin());
|
||||
ptovtaPtoVtaSeguroList.setItemRenderer(new RenderPtoVtaSeguro());
|
||||
ptovtaCatIndList.setItemRenderer(new RenderPtovtaCatInd());
|
||||
|
||||
ptovtaComissaoList.setItemRenderer(new RenderPtovtaComissao());
|
||||
ptovtaComissaoList.addEventListener("onDoubleClick", new EventListener() {
|
||||
|
@ -318,6 +343,7 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
|||
ptovtaEmpresasBloqueadasList.setData(puntoVenta.getPtovtaEmpresaBloqueadaList());
|
||||
ptovtaPtoVtaCheckinList.setData(puntoVenta.getPtovtaCheckinList());
|
||||
ptovtaPtoVtaSeguroList.setData(puntoVenta.getPtovtaSeguroList());
|
||||
ptovtaCatIndList.setData(puntoVenta.getPtovtaCatIndList());
|
||||
|
||||
if (puntoVenta.getColonia() != null) {
|
||||
cmbCiudad.setText(puntoVenta.getColonia().getCiudad().getNombciudad());
|
||||
|
@ -559,6 +585,26 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
|||
txtNome.focus();
|
||||
}
|
||||
|
||||
@Transactional
|
||||
public boolean validaFuncionTipoBoletoBloqueado() {
|
||||
List<String> listClavesPermisos = new ArrayList<String>();
|
||||
|
||||
Usuario usuarioLogado = usuarioService.obtenerID(UsuarioLogado.getUsuarioLogado().getUsuarioId());
|
||||
List<UsuarioPerfil> listUsuarioPerfil = usuarioLogado.getUsuarioPerfilList();
|
||||
for (UsuarioPerfil up : listUsuarioPerfil) {
|
||||
List<PerfilFuncion> listPerfilFuncion = up.getPerfil().getPerfilFuncionList();
|
||||
for (PerfilFuncion pf : listPerfilFuncion) {
|
||||
listClavesPermisos.add(pf.getFuncionSistema().getDescruta());
|
||||
}
|
||||
}
|
||||
|
||||
if (listClavesPermisos.contains(FUNCION_TIPO_BOLETO_BLOQUEADO)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
public void clearCombobox(Combobox combobox) {
|
||||
|
||||
int size = combobox.getItemCount();
|
||||
|
@ -568,7 +614,7 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
|||
}
|
||||
}
|
||||
|
||||
public void popularCombobox(Combobox cmbConta, Combobox cmbPessoa, Combobox cmbForm, Combobox cmbLote, Combobox cmbPosicao, Combobox cmbReceita, Combobox cmbEmpresas) throws Exception {
|
||||
public void popularCombobox(Combobox cmbConta, Combobox cmbPessoa, Combobox cmbForm, Combobox cmbLote, Combobox cmbPosicao, Combobox cmbReceita, Combobox cmbEmpresas, Combobox cmbCategorias) throws Exception {
|
||||
|
||||
clearCombobox(cmbConta);
|
||||
clearCombobox(cmbPessoa);
|
||||
|
@ -576,6 +622,7 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
|||
clearCombobox(cmbLote);
|
||||
clearCombobox(cmbPosicao);
|
||||
clearCombobox(cmbEmpresas);
|
||||
clearCombobox(cmbCategorias);
|
||||
|
||||
for (Empresa e : lsEmpresasBloquear) {
|
||||
Comboitem comboItem = new Comboitem(e.getNombempresa());
|
||||
|
@ -619,6 +666,12 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
|||
comboItem.setParent(cmbReceita);
|
||||
}
|
||||
|
||||
for (Categoria c : lsCategoriaBloquear) {
|
||||
Comboitem comboItem = new Comboitem(c.getDesccategoria());
|
||||
comboItem.setValue(c);
|
||||
comboItem.setParent(cmbCategorias);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public void onSelect$cmbBanco() {
|
||||
|
@ -774,6 +827,42 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
|||
}
|
||||
}
|
||||
|
||||
public void onClick$btnAdicionarPtovtaCatInd(Event ev) {
|
||||
if (cmbCategorias.getSelectedItem() != null) {
|
||||
Categoria categoria = (Categoria) cmbCategorias.getSelectedItem().getValue();
|
||||
|
||||
PtovtaCatInd pto = new PtovtaCatInd();
|
||||
pto.setCategoria(categoria);
|
||||
pto.setPuntoVenta(puntoVenta);
|
||||
puntoVenta.addPtovtaCatInd(pto);
|
||||
|
||||
ptovtaCatIndList.setData(puntoVenta.getPtovtaCatIndList());
|
||||
}
|
||||
}
|
||||
|
||||
public void onClick$btnApagarPtovtaCatInd(Event ev) {
|
||||
try {
|
||||
if (ptovtaCatIndList.getSelected() != null) {
|
||||
int resp = Messagebox.show(
|
||||
Labels.getLabel("editarPuntoVentaController.MSG.borrarPtoVtaCheckin"),
|
||||
Labels.getLabel("editarPuntoVentaController.window.title"),
|
||||
Messagebox.YES | Messagebox.NO, Messagebox.QUESTION);
|
||||
|
||||
if (resp == Messagebox.YES) {
|
||||
|
||||
PtovtaCatInd pto = (PtovtaCatInd) ptovtaCatIndList.getSelected();
|
||||
if (pto.getPtovtaCategoriaId() != null) {
|
||||
ptovtaCatIndService.borrar(pto);
|
||||
}
|
||||
puntoVenta.removePtovtaCatInd(pto);
|
||||
ptovtaCatIndList.setData(puntoVenta.getPtovtaCatIndList());
|
||||
}
|
||||
}
|
||||
} catch (Exception ex) {
|
||||
log.error(ex.toString());
|
||||
}
|
||||
}
|
||||
|
||||
public void onClick$btnSalvar(Event ev) throws InterruptedException {
|
||||
|
||||
txtMaxCancelacion.getValue();
|
||||
|
@ -2123,6 +2212,7 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
|||
}
|
||||
}
|
||||
|
||||
@SuppressWarnings({ "unchecked", "rawtypes" })
|
||||
public void abrirPtovtaComissao(PtovtaComissao ptovtaComissao) {
|
||||
Map args = new HashMap();
|
||||
args.put("ptovtaComissao", ptovtaComissao);
|
||||
|
|
|
@ -0,0 +1,21 @@
|
|||
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.PtovtaCatInd;
|
||||
|
||||
public class RenderPtovtaCatInd implements ListitemRenderer {
|
||||
|
||||
public void render(Listitem lstm, Object o) throws Exception {
|
||||
PtovtaCatInd pto = (PtovtaCatInd) o;
|
||||
|
||||
Listcell lc = new Listcell(pto.getCategoria().getDesccategoria());
|
||||
lc.setParent(lstm);
|
||||
|
||||
lstm.setAttribute("data", pto);
|
||||
|
||||
}
|
||||
|
||||
}
|
|
@ -122,7 +122,8 @@
|
|||
<value>com.rjconsultores.ventaboletos.entidad.EstacionSitef</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Estado</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.EsquemaAsiento</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.EsquemaAgrupacion</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.EsquemaAgrupacion
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.EsquemaCorrida</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.EsquemaOperacional
|
||||
</value>
|
||||
|
@ -219,6 +220,7 @@
|
|||
<value>com.rjconsultores.ventaboletos.entidad.ProductoServicio
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PtovtaAgencia</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PtovtaCatInd</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PtoVtaCheckin</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PtoVtaSeguro</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PtovtaAntecipacomissao
|
||||
|
@ -228,7 +230,8 @@
|
|||
<value>com.rjconsultores.ventaboletos.entidad.PtovtaComissao</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PtovtaDiversos</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PtovtaEstoque</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PtovtaEmpresaBloqueada</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PtovtaEmpresaBloqueada
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PtovtaHorario</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PtovtaTitular</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PtovtaEmpresa</value>
|
||||
|
|
|
@ -783,6 +783,7 @@ editarPuntoVentaController.tab.label.estoque = Estoque mínimo
|
|||
editarPuntoVentaController.tab.label.empresaBloqueada = Empresas Bloqueadas
|
||||
editarPuntoVentaController.tab.label.localidades = Localidades Permitidas
|
||||
editarPuntoVentaController.tab.label.seguro = Seguro
|
||||
editarPuntoVentaController.tab.label.tipoPassageiroBloqueio = Tipos de Boletos Bloqueados
|
||||
editarPuntoVentaController.tab.label.usuBancario = Usuarios bancários
|
||||
editarPuntoVentaController.lbCP.value = Cod. Postal
|
||||
editarPuntoVentaController.lblNumPuntoVenda=Número punto de venta
|
||||
|
@ -791,6 +792,7 @@ editarPuntoVentaController.lbStock.value = Estoque
|
|||
editarPuntoVentaController.lbCheckStock.value = Validar Estoque
|
||||
editarPuntoVentaController.lbVendeSegOpcional.value = Vende Seguro Opcional
|
||||
editarPuntoVentaController.lbEstanSegOpcional.value = Estan Seguro Opcional
|
||||
editarPuntoVentaController.label.tipoPassagem = Tipo de Boletos
|
||||
|
||||
# Editar comisión ponto de venta
|
||||
editarPuntoVentaComissaoController.window.title = Comisión empresa/Punto de venta
|
||||
|
|
|
@ -814,6 +814,7 @@ editarPuntoVentaController.tab.label.estoque = Estoque Mínimo
|
|||
editarPuntoVentaController.tab.label.empresaBloqueada = Empresas Bloqueadas
|
||||
editarPuntoVentaController.tab.label.localidades = Localidades Permitidas
|
||||
editarPuntoVentaController.tab.label.seguro = Seguro
|
||||
editarPuntoVentaController.tab.label.tipoPassageiroBloqueio = Tipos de Passagens Bloqueadas
|
||||
editarPuntoVentaController.tab.label.usuBancario = Usuarios bancários
|
||||
editarPuntoVentaController.lbCP.value = Cod. Postal
|
||||
editarPuntoVentaController.lblNumPuntoVenda=Número Agência
|
||||
|
@ -822,6 +823,7 @@ editarPuntoVentaController.lbStock.value = Estoque
|
|||
editarPuntoVentaController.lbCheckStock.value = Validar Estoque
|
||||
editarPuntoVentaController.lbVendeSegOpcional.value = Vende Seguro Opcional
|
||||
editarPuntoVentaController.lbEstanSegOpcional.value = Estan Seguro Opcional
|
||||
editarPuntoVentaController.label.tipoPassagem = Tipo de Passagens
|
||||
|
||||
# Editar comissão ponto de venda
|
||||
editarPuntoVentaComissaoController.window.title = Comissão Empresa/Ponto de Venda
|
||||
|
|
|
@ -60,6 +60,8 @@
|
|||
label="${c:l('editarPuntoVentaController.tab.label.localidades')}" />
|
||||
<tab
|
||||
label="${c:l('editarPuntoVentaController.tab.label.seguro')}" />
|
||||
<tab visible="@{winEditarPuntoVenta$composer.validaFuncionTipoBoletoBloqueado}"
|
||||
label="${c:l('editarPuntoVentaController.tab.label.tipoPassageiroBloqueio')}" />
|
||||
</tabs>
|
||||
|
||||
<tabpanels>
|
||||
|
@ -263,8 +265,8 @@
|
|||
<!-- razonsocial -->
|
||||
<label
|
||||
value="${c:l('editarPuntoVentaController.lbdscRazonSocial.value')}" />
|
||||
<textbox id="txtRazonSocial"
|
||||
width="70%" maxlength="40"
|
||||
<textbox id="txtRazonSocial" width="70%"
|
||||
maxlength="40"
|
||||
value="@{winEditarPuntoVenta$composer.puntoVenta.razonSocial}"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
||||
</row>
|
||||
|
@ -373,8 +375,7 @@
|
|||
|
||||
<button
|
||||
id="btnAdicionarEmpresaComissao" height="20"
|
||||
image="/gui/img/add.png" width="35px"
|
||||
disabled="true"
|
||||
image="/gui/img/add.png" width="35px" disabled="true"
|
||||
tooltiptext="${c:l('editarConfiguracionReservacionController.btnAddClase.tooltiptext')}" />
|
||||
|
||||
</hbox>
|
||||
|
@ -1035,11 +1036,11 @@
|
|||
<toolbar>
|
||||
<hbox spacing="5px" style="padding:1px"
|
||||
align="right">
|
||||
<button id="btnApagarEmpresaBloqueada" height="20"
|
||||
image="/gui/img/remove.png" width="35px"
|
||||
<button id="btnApagarEmpresaBloqueada"
|
||||
height="20" image="/gui/img/remove.png" width="35px"
|
||||
tooltiptext="${c:l('editarEmpresaController.btnApagar.tooltiptext')}" />
|
||||
<button id="btnAdicionarEmpresaBloqueada" height="20"
|
||||
image="/gui/img/add.png" width="35px"
|
||||
<button id="btnAdicionarEmpresaBloqueada"
|
||||
height="20" image="/gui/img/add.png" width="35px"
|
||||
tooltiptext="${c:l('busquedaEmpresaController.btnNovo.tooltiptext')}" />
|
||||
</hbox>
|
||||
</toolbar>
|
||||
|
@ -1066,18 +1067,19 @@
|
|||
value="${c:l('editarPuntoVentaController.lbparada.value')}" />
|
||||
<combobox id="cmbPtoVtaCheckinParada"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada"
|
||||
mold="rounded" buttonVisible="true" width="70%" sinTodos="true"/>
|
||||
mold="rounded" buttonVisible="true" width="70%"
|
||||
sinTodos="true" />
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
<toolbar>
|
||||
<hbox spacing="5px" style="padding:1px"
|
||||
align="right">
|
||||
<button id="btnApagarPtoVtaCheckin" height="20"
|
||||
image="/gui/img/remove.png" width="35px"
|
||||
<button id="btnApagarPtoVtaCheckin"
|
||||
height="20" image="/gui/img/remove.png" width="35px"
|
||||
tooltiptext="${c:l('editarEmpresaController.btnApagar.tooltiptext')}" />
|
||||
<button id="btnAdicionarPtoVtaCheckin" height="20"
|
||||
image="/gui/img/add.png" width="35px"
|
||||
<button id="btnAdicionarPtoVtaCheckin"
|
||||
height="20" image="/gui/img/add.png" width="35px"
|
||||
tooltiptext="${c:l('busquedaEmpresaController.btnNovo.tooltiptext')}" />
|
||||
</hbox>
|
||||
</toolbar>
|
||||
|
@ -1112,8 +1114,7 @@
|
|||
value="${c:l('editarPuntoVentaController.lbVendeSegOpcional.value')}" />
|
||||
<radiogroup Id="indvendsegopcional">
|
||||
<radio id="radIndvendsegopcionalSi"
|
||||
label="${c:l('MSG.SI')}"
|
||||
checked="true" />
|
||||
label="${c:l('MSG.SI')}" checked="true" />
|
||||
<radio id="radIndvendsegopcionalNo"
|
||||
label="${c:l('MSG.NO')}" />
|
||||
</radiogroup>
|
||||
|
@ -1123,8 +1124,7 @@
|
|||
value="${c:l('editarPuntoVentaController.lbEstanSegOpcional.value')}" />
|
||||
<radiogroup Id="indestansegopcional">
|
||||
<radio id="radIndestansegopcionalSi"
|
||||
label="${c:l('MSG.SI')}"
|
||||
checked="true" />
|
||||
label="${c:l('MSG.SI')}" checked="true" />
|
||||
<radio id="radIndestansegopcionalNo"
|
||||
label="${c:l('MSG.NO')}" />
|
||||
</radiogroup>
|
||||
|
@ -1134,11 +1134,11 @@
|
|||
<toolbar>
|
||||
<hbox spacing="5px" style="padding:1px"
|
||||
align="right">
|
||||
<button id="btnApagarPtoVtaSeguro" height="20"
|
||||
image="/gui/img/remove.png" width="35px"
|
||||
<button id="btnApagarPtoVtaSeguro"
|
||||
height="20" image="/gui/img/remove.png" width="35px"
|
||||
tooltiptext="${c:l('editarEmpresaController.btnApagar.tooltiptext')}" />
|
||||
<button id="btnAdicionarPtoVtaSeguro" height="20"
|
||||
image="/gui/img/add.png" width="35px"
|
||||
<button id="btnAdicionarPtoVtaSeguro"
|
||||
height="20" image="/gui/img/add.png" width="35px"
|
||||
tooltiptext="${c:l('busquedaEmpresaController.btnNovo.tooltiptext')}" />
|
||||
</hbox>
|
||||
</toolbar>
|
||||
|
@ -1158,6 +1158,49 @@
|
|||
</listhead>
|
||||
</listbox>
|
||||
</tabpanel>
|
||||
|
||||
<!-- TIPO BOLETO BLOQUEADO -->
|
||||
|
||||
<tabpanel height="400px">
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
<column width="30%" />
|
||||
<column width="70%" />
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarPuntoVentaController.label.tipoPassagem')}" />
|
||||
<combobox id="cmbCategorias"
|
||||
constraint="no empty"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||
width="70%" mold="rounded" buttonVisible="true" />
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
<toolbar>
|
||||
<hbox spacing="5px" style="padding:1px"
|
||||
align="right">
|
||||
<button id="btnApagarPtovtaCatInd"
|
||||
height="20" image="/gui/img/remove.png" width="35px"
|
||||
tooltiptext="${c:l('editarEmpresaController.btnApagar.tooltiptext')}" />
|
||||
<button id="btnAdicionarPtovtaCatInd"
|
||||
height="20" image="/gui/img/add.png" width="35px"
|
||||
tooltiptext="${c:l('busquedaEmpresaController.btnNovo.tooltiptext')}" />
|
||||
</hbox>
|
||||
</toolbar>
|
||||
<listbox id="ptovtaCatIndList"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||
vflex="true" multiple="false">
|
||||
<listhead sizable="true">
|
||||
<listheader id="lCategoria"
|
||||
image="/gui/img/builder.gif"
|
||||
label="${c:l('editarPuntoVentaController.label.tipoPassagem')}" />
|
||||
</listhead>
|
||||
</listbox>
|
||||
</tabpanel>
|
||||
|
||||
|
||||
</tabpanels>
|
||||
</tabbox>
|
||||
</window>
|
||||
|
|
Loading…
Reference in New Issue