fixes bug #6332
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@44257 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
a3dd50cbc5
commit
1e953db340
|
@ -0,0 +1,130 @@
|
||||||
|
package com.rjconsultores.ventaboletos.web.gui.controladores.catalogos;
|
||||||
|
|
||||||
|
import java.util.HashMap;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
|
import org.apache.commons.lang.StringUtils;
|
||||||
|
import org.slf4j.Logger;
|
||||||
|
import org.slf4j.LoggerFactory;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.context.annotation.Scope;
|
||||||
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.zkoss.util.resource.Labels;
|
||||||
|
import org.zkoss.zhtml.Messagebox;
|
||||||
|
import org.zkoss.zk.ui.Component;
|
||||||
|
import org.zkoss.zk.ui.event.Event;
|
||||||
|
import org.zkoss.zk.ui.event.EventListener;
|
||||||
|
import org.zkoss.zul.Paging;
|
||||||
|
import org.zkoss.zul.Textbox;
|
||||||
|
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.Hotel;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.HibernateSearchObject;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.PagedListWrapper;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderHotel;
|
||||||
|
|
||||||
|
@Controller("busquedaHotelController")
|
||||||
|
@Scope("prototype")
|
||||||
|
public class BusquedaHotelController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
private static final Logger log = LoggerFactory.getLogger(BusquedaHotelController.class);
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private transient PagedListWrapper<Hotel> plwHotel;
|
||||||
|
private MyListbox hotelList;
|
||||||
|
private Paging pagingHotel;
|
||||||
|
private Textbox txtNome;
|
||||||
|
|
||||||
|
public Textbox getTxtNome() {
|
||||||
|
return txtNome;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTxtNome(Textbox txtNome) {
|
||||||
|
this.txtNome = txtNome;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void doAfterCompose(Component comp) throws Exception {
|
||||||
|
super.doAfterCompose(comp);
|
||||||
|
|
||||||
|
hotelList.setItemRenderer(new RenderHotel());
|
||||||
|
hotelList.addEventListener("onDoubleClick", new EventListener() {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onEvent(Event event) throws Exception {
|
||||||
|
Hotel a = (Hotel) hotelList.getSelected();
|
||||||
|
verHotel(a);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
refreshLista();
|
||||||
|
|
||||||
|
txtNome.focus();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void verHotel(Hotel t) {
|
||||||
|
if (t == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, Object> args = new HashMap<String, Object>();
|
||||||
|
args.put("hotel", t);
|
||||||
|
args.put("hotelList", hotelList);
|
||||||
|
|
||||||
|
openWindow("/gui/catalogos/editarHotel.zul",
|
||||||
|
Labels.getLabel("editarHotelController.window.title"), args, MODAL);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void refreshLista() {
|
||||||
|
HibernateSearchObject<Hotel> hotelBusqueda = new HibernateSearchObject<Hotel>(Hotel.class, pagingHotel.getPageSize());
|
||||||
|
|
||||||
|
if(StringUtils.isNotBlank(txtNome.getText())) {
|
||||||
|
hotelBusqueda.addFilterLike("deschotel", "%" + txtNome.getText().trim().concat("%"));
|
||||||
|
}
|
||||||
|
|
||||||
|
hotelBusqueda.addSortAsc("deschotel");
|
||||||
|
hotelBusqueda.addFilterEqual("activo", Boolean.TRUE);
|
||||||
|
plwHotel.init(hotelBusqueda, hotelList, pagingHotel);
|
||||||
|
|
||||||
|
if (hotelList.getData().length == 0) {
|
||||||
|
try {
|
||||||
|
Messagebox.show(Labels.getLabel("MSG.ningunRegistro"),
|
||||||
|
Labels.getLabel("busquedaHotelController.window.title"),
|
||||||
|
Messagebox.OK, Messagebox.INFORMATION);
|
||||||
|
} catch (InterruptedException e) {
|
||||||
|
log.error(e.getMessage(), e.getCause());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$btnPesquisa(Event ev) {
|
||||||
|
refreshLista();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$btnRefresh(Event ev) {
|
||||||
|
refreshLista();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$btnNovo(Event ev) {
|
||||||
|
verHotel(new Hotel());
|
||||||
|
}
|
||||||
|
|
||||||
|
public MyListbox getHotelList() {
|
||||||
|
return hotelList;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setHotelList(MyListbox hotelList) {
|
||||||
|
this.hotelList = hotelList;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Paging getPagingHotel() {
|
||||||
|
return pagingHotel;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setPagingHotel(Paging pagingHotel) {
|
||||||
|
this.pagingHotel = pagingHotel;
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,201 @@
|
||||||
|
package com.rjconsultores.ventaboletos.web.gui.controladores.catalogos;
|
||||||
|
|
||||||
|
import java.util.Calendar;
|
||||||
|
|
||||||
|
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.zkoss.util.resource.Labels;
|
||||||
|
import org.zkoss.zhtml.Messagebox;
|
||||||
|
import org.zkoss.zk.ui.Component;
|
||||||
|
import org.zkoss.zk.ui.Executions;
|
||||||
|
import org.zkoss.zk.ui.event.Event;
|
||||||
|
import org.zkoss.zul.Button;
|
||||||
|
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.Hotel;
|
||||||
|
import com.rjconsultores.ventaboletos.service.HotelService;
|
||||||
|
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.MyTextbox;
|
||||||
|
|
||||||
|
@Controller("editarHotelController")
|
||||||
|
@Scope("prototype")
|
||||||
|
public class EditarHotelController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
|
private static Logger log = Logger.getLogger(EditarHotelController.class);
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private HotelService hotelService;
|
||||||
|
private Hotel hotel;
|
||||||
|
private MyListbox hotelList;
|
||||||
|
private Button btnApagar;
|
||||||
|
private MyTextbox txtNome;
|
||||||
|
private MyTextbox txtCep;
|
||||||
|
private MyTextbox txtEndereco;
|
||||||
|
private MyTextbox txtNumero;
|
||||||
|
private MyTextbox txtComplemento;
|
||||||
|
private MyTextbox txtBairro;
|
||||||
|
private MyTextbox txtCidade;
|
||||||
|
private MyTextbox txtEstado;
|
||||||
|
|
||||||
|
public Button getBtnApagar() {
|
||||||
|
return btnApagar;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setBtnApagar(Button btnApagar) {
|
||||||
|
this.btnApagar = btnApagar;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Hotel getHotel() {
|
||||||
|
return hotel;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setHotel(Hotel hotel) {
|
||||||
|
this.hotel = hotel;
|
||||||
|
}
|
||||||
|
|
||||||
|
public MyTextbox getTxtNome() {
|
||||||
|
return txtNome;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTxtNome(MyTextbox txtNome) {
|
||||||
|
this.txtNome = txtNome;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void doAfterCompose(Component comp) throws Exception {
|
||||||
|
super.doAfterCompose(comp);
|
||||||
|
|
||||||
|
hotel = (Hotel) Executions.getCurrent().getArg().get("hotel");
|
||||||
|
hotelList = (MyListbox) Executions.getCurrent().getArg().get("hotelList");
|
||||||
|
|
||||||
|
if (hotel.getHotelId() == null) {
|
||||||
|
btnApagar.setVisible(Boolean.FALSE);
|
||||||
|
}
|
||||||
|
|
||||||
|
txtNome.focus();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$btnSalvar(Event ev) throws InterruptedException {
|
||||||
|
txtNome.getValue();
|
||||||
|
txtBairro.getValue();
|
||||||
|
txtCep.getValue();
|
||||||
|
txtCidade.getValue();
|
||||||
|
txtComplemento.getValue();
|
||||||
|
txtEndereco.getValue();
|
||||||
|
txtEstado.getValue();
|
||||||
|
txtNumero.getValue();
|
||||||
|
|
||||||
|
try {
|
||||||
|
hotel.setActivo(Boolean.TRUE);
|
||||||
|
hotel.setFecmodif(Calendar.getInstance().getTime());
|
||||||
|
hotel.setUsuarioId(UsuarioLogado.getUsuarioLogado().getUsuarioId());
|
||||||
|
|
||||||
|
if (hotel.getHotelId() == null) {
|
||||||
|
hotelService.suscribir(hotel);
|
||||||
|
hotelList.addItemNovo(hotel);
|
||||||
|
} else {
|
||||||
|
hotelService.actualizacion(hotel);
|
||||||
|
hotelList.updateItem(hotel);
|
||||||
|
}
|
||||||
|
|
||||||
|
Messagebox.show(
|
||||||
|
Labels.getLabel("editarHotelController.MSG.suscribirOK"),
|
||||||
|
Labels.getLabel("editarHotelController.window.title"),
|
||||||
|
Messagebox.OK, Messagebox.INFORMATION);
|
||||||
|
|
||||||
|
closeWindow();
|
||||||
|
} catch (Exception ex) {
|
||||||
|
log.error("editarHotelController: " + ex);
|
||||||
|
Messagebox.show(
|
||||||
|
Labels.getLabel("MSG.Error"),
|
||||||
|
Labels.getLabel("editarHotelController.window.title"),
|
||||||
|
Messagebox.OK, Messagebox.ERROR);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$btnApagar(Event ev) {
|
||||||
|
try {
|
||||||
|
int resp = Messagebox.show(
|
||||||
|
Labels.getLabel("editarHotelController.MSG.borrarPergunta"),
|
||||||
|
Labels.getLabel("editarHotelController.window.title"),
|
||||||
|
Messagebox.YES | Messagebox.NO, Messagebox.QUESTION);
|
||||||
|
|
||||||
|
if (resp == Messagebox.YES) {
|
||||||
|
|
||||||
|
hotelService.borrar(hotel);
|
||||||
|
|
||||||
|
Messagebox.show(
|
||||||
|
Labels.getLabel("editarHotelController.MSG.borrarOK"),
|
||||||
|
Labels.getLabel("editarHotelController.window.title"),
|
||||||
|
Messagebox.OK, Messagebox.INFORMATION);
|
||||||
|
|
||||||
|
hotelList.removeItem(hotel);
|
||||||
|
|
||||||
|
closeWindow();
|
||||||
|
}
|
||||||
|
} catch (Exception ex) {
|
||||||
|
log.error(ex);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public MyTextbox getTxtCep() {
|
||||||
|
return txtCep;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTxtCep(MyTextbox txtCep) {
|
||||||
|
this.txtCep = txtCep;
|
||||||
|
}
|
||||||
|
|
||||||
|
public MyTextbox getTxtEndereco() {
|
||||||
|
return txtEndereco;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTxtEndereco(MyTextbox txtEndereco) {
|
||||||
|
this.txtEndereco = txtEndereco;
|
||||||
|
}
|
||||||
|
|
||||||
|
public MyTextbox getTxtComplemento() {
|
||||||
|
return txtComplemento;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTxtComplemento(MyTextbox txtComplemento) {
|
||||||
|
this.txtComplemento = txtComplemento;
|
||||||
|
}
|
||||||
|
|
||||||
|
public MyTextbox getTxtBairro() {
|
||||||
|
return txtBairro;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTxtBairro(MyTextbox txtBairro) {
|
||||||
|
this.txtBairro = txtBairro;
|
||||||
|
}
|
||||||
|
|
||||||
|
public MyTextbox getTxtCidade() {
|
||||||
|
return txtCidade;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTxtCidade(MyTextbox txtCidade) {
|
||||||
|
this.txtCidade = txtCidade;
|
||||||
|
}
|
||||||
|
|
||||||
|
public MyTextbox getTxtEstado() {
|
||||||
|
return txtEstado;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTxtEstado(MyTextbox txtEstado) {
|
||||||
|
this.txtEstado = txtEstado;
|
||||||
|
}
|
||||||
|
|
||||||
|
public MyTextbox getTxtNumero() {
|
||||||
|
return txtNumero;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTxtNumero(MyTextbox txtNumero) {
|
||||||
|
this.txtNumero = txtNumero;
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,113 @@
|
||||||
|
package com.rjconsultores.ventaboletos.web.gui.controladores.tarifas;
|
||||||
|
|
||||||
|
import java.util.HashMap;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
|
import org.slf4j.Logger;
|
||||||
|
import org.slf4j.LoggerFactory;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.context.annotation.Scope;
|
||||||
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.zkoss.util.resource.Labels;
|
||||||
|
import org.zkoss.zhtml.Messagebox;
|
||||||
|
import org.zkoss.zk.ui.Component;
|
||||||
|
import org.zkoss.zk.ui.event.Event;
|
||||||
|
import org.zkoss.zk.ui.event.EventListener;
|
||||||
|
import org.zkoss.zul.Paging;
|
||||||
|
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.PrecoApanhe;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.HibernateSearchObject;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.PagedListWrapper;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderPrecoApanhe;
|
||||||
|
|
||||||
|
@Scope("prototype")
|
||||||
|
@Controller("busquedaPrecoApanheController")
|
||||||
|
public class BusquedaPrecoApanheController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
private static final Logger log = LoggerFactory.getLogger(BusquedaPrecoApanheController.class);
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private transient PagedListWrapper<PrecoApanhe> plwPrecoApanhe;
|
||||||
|
private MyListbox precoApanheList;
|
||||||
|
private Paging pagingPrecoApanhe;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void doAfterCompose(Component comp) throws Exception {
|
||||||
|
super.doAfterCompose(comp);
|
||||||
|
|
||||||
|
precoApanheList.setItemRenderer(new RenderPrecoApanhe());
|
||||||
|
precoApanheList.addEventListener("onDoubleClick", new EventListener() {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onEvent(Event event) throws Exception {
|
||||||
|
PrecoApanhe a = (PrecoApanhe) precoApanheList.getSelected();
|
||||||
|
verPrecoApanhe(a);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
refreshLista();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void verPrecoApanhe(PrecoApanhe t) {
|
||||||
|
if (t == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, Object> args = new HashMap<String, Object>();
|
||||||
|
args.put("precoApanhe", t);
|
||||||
|
args.put("precoApanheList", precoApanheList);
|
||||||
|
|
||||||
|
openWindow("/gui/tarifas/editarPrecoApanhe.zul",
|
||||||
|
Labels.getLabel("editarPrecoApanheController.window.title"), args, MODAL);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void refreshLista() {
|
||||||
|
HibernateSearchObject<PrecoApanhe> hotelBusqueda = new HibernateSearchObject<PrecoApanhe>(PrecoApanhe.class, pagingPrecoApanhe.getPageSize());
|
||||||
|
|
||||||
|
hotelBusqueda.addFilterEqual("activo", Boolean.TRUE);
|
||||||
|
plwPrecoApanhe.init(hotelBusqueda, precoApanheList, pagingPrecoApanhe);
|
||||||
|
|
||||||
|
if (precoApanheList.getData().length == 0) {
|
||||||
|
try {
|
||||||
|
Messagebox.show(Labels.getLabel("MSG.ningunRegistro"),
|
||||||
|
Labels.getLabel("busquedaPrecoApanheController.window.title"),
|
||||||
|
Messagebox.OK, Messagebox.INFORMATION);
|
||||||
|
} catch (InterruptedException e) {
|
||||||
|
log.error(e.getMessage(), e.getCause());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$btnPesquisa(Event ev) {
|
||||||
|
refreshLista();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$btnRefresh(Event ev) {
|
||||||
|
refreshLista();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$btnNovo(Event ev) {
|
||||||
|
verPrecoApanhe(new PrecoApanhe());
|
||||||
|
}
|
||||||
|
|
||||||
|
public MyListbox getPrecoApanheList() {
|
||||||
|
return precoApanheList;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setPrecoApanheList(MyListbox precoApanheList) {
|
||||||
|
this.precoApanheList = precoApanheList;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Paging getPagingPrecoApanhe() {
|
||||||
|
return pagingPrecoApanhe;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setPagingPrecoApanhe(Paging pagingPrecoApanhe) {
|
||||||
|
this.pagingPrecoApanhe = pagingPrecoApanhe;
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,200 @@
|
||||||
|
package com.rjconsultores.ventaboletos.web.gui.controladores.tarifas;
|
||||||
|
|
||||||
|
import java.util.Calendar;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
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.zkoss.util.resource.Labels;
|
||||||
|
import org.zkoss.zhtml.Messagebox;
|
||||||
|
import org.zkoss.zk.ui.Component;
|
||||||
|
import org.zkoss.zk.ui.Executions;
|
||||||
|
import org.zkoss.zk.ui.event.Event;
|
||||||
|
import org.zkoss.zul.Button;
|
||||||
|
import org.zkoss.zul.Combobox;
|
||||||
|
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.Hotel;
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.PrecoApanhe;
|
||||||
|
import com.rjconsultores.ventaboletos.service.HotelService;
|
||||||
|
import com.rjconsultores.ventaboletos.service.PrecoApanheService;
|
||||||
|
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxCiudad;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxColonia;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal;
|
||||||
|
|
||||||
|
@Controller("editarPrecoApanheController")
|
||||||
|
@Scope("prototype")
|
||||||
|
public class EditarPrecoApanheController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
|
private static Logger log = Logger.getLogger(EditarPrecoApanheController.class);
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private PrecoApanheService precoApanheService;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private HotelService hotelService;
|
||||||
|
|
||||||
|
private PrecoApanhe precoApanhe;
|
||||||
|
private MyListbox precoApanheList;
|
||||||
|
private Button btnApagar;
|
||||||
|
private MyTextboxDecimal txtPreco;
|
||||||
|
|
||||||
|
private Combobox cmbHotel;
|
||||||
|
private MyComboboxColonia cmbColonia;
|
||||||
|
private MyComboboxCiudad cmbCiudad;
|
||||||
|
|
||||||
|
private List<Hotel> lsHotel;
|
||||||
|
|
||||||
|
public Button getBtnApagar() {
|
||||||
|
return btnApagar;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setBtnApagar(Button btnApagar) {
|
||||||
|
this.btnApagar = btnApagar;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void doAfterCompose(Component comp) throws Exception {
|
||||||
|
super.doAfterCompose(comp);
|
||||||
|
|
||||||
|
precoApanhe = (PrecoApanhe) Executions.getCurrent().getArg().get("precoApanhe");
|
||||||
|
precoApanheList = (MyListbox) Executions.getCurrent().getArg().get("precoApanheList");
|
||||||
|
|
||||||
|
lsHotel = hotelService.obtenerTodos();
|
||||||
|
|
||||||
|
if (precoApanhe.getPrecoapanheId() == null) {
|
||||||
|
btnApagar.setVisible(Boolean.FALSE);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$btnSalvar(Event ev) throws InterruptedException {
|
||||||
|
try {
|
||||||
|
txtPreco.getValue();
|
||||||
|
cmbCiudad.getValue();
|
||||||
|
cmbColonia.getValue();
|
||||||
|
cmbHotel.getValue();
|
||||||
|
|
||||||
|
if(verificarHotelColoniaCiudadInformado()) {
|
||||||
|
Messagebox.show(
|
||||||
|
Labels.getLabel("editarPrecoApanheController.error.verificarHotelColoniaCiudadInformado.label"),
|
||||||
|
Labels.getLabel("editarPrecoApanheController.window.title"),
|
||||||
|
Messagebox.OK, Messagebox.INFORMATION);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
precoApanhe.setActivo(Boolean.TRUE);
|
||||||
|
precoApanhe.setFecmodif(Calendar.getInstance().getTime());
|
||||||
|
precoApanhe.setUsuarioId(UsuarioLogado.getUsuarioLogado().getUsuarioId());
|
||||||
|
|
||||||
|
if (precoApanhe.getPrecoapanheId() == null) {
|
||||||
|
precoApanheService.suscribir(precoApanhe);
|
||||||
|
precoApanheList.addItemNovo(precoApanhe);
|
||||||
|
} else {
|
||||||
|
precoApanheService.actualizacion(precoApanhe);
|
||||||
|
precoApanheList.updateItem(precoApanhe);
|
||||||
|
}
|
||||||
|
|
||||||
|
Messagebox.show(
|
||||||
|
Labels.getLabel("editarPrecoApanheController.MSG.suscribirOK"),
|
||||||
|
Labels.getLabel("editarPrecoApanheController.window.title"),
|
||||||
|
Messagebox.OK, Messagebox.INFORMATION);
|
||||||
|
|
||||||
|
closeWindow();
|
||||||
|
} catch (Exception ex) {
|
||||||
|
log.error("editarPrecoApanheController: " + ex);
|
||||||
|
Messagebox.show(
|
||||||
|
Labels.getLabel("MSG.Error"),
|
||||||
|
Labels.getLabel("editarPrecoApanheController.window.title"),
|
||||||
|
Messagebox.OK, Messagebox.ERROR);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private boolean verificarHotelColoniaCiudadInformado() {
|
||||||
|
int qtdeInformado = 0;
|
||||||
|
qtdeInformado += (precoApanhe.getHotel() != null ? 1 : 0);
|
||||||
|
qtdeInformado += (precoApanhe.getColonia() != null ? 1 : 0);
|
||||||
|
qtdeInformado += (precoApanhe.getCiudad() != null ? 1 : 0);
|
||||||
|
|
||||||
|
return qtdeInformado > 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$btnApagar(Event ev) {
|
||||||
|
try {
|
||||||
|
int resp = Messagebox.show(
|
||||||
|
Labels.getLabel("editarPrecoApanheController.MSG.borrarPergunta"),
|
||||||
|
Labels.getLabel("editarPrecoApanheController.window.title"),
|
||||||
|
Messagebox.YES | Messagebox.NO, Messagebox.QUESTION);
|
||||||
|
|
||||||
|
if (resp == Messagebox.YES) {
|
||||||
|
|
||||||
|
precoApanheService.borrar(precoApanhe);
|
||||||
|
|
||||||
|
Messagebox.show(
|
||||||
|
Labels.getLabel("editarPrecoApanheController.MSG.borrarOK"),
|
||||||
|
Labels.getLabel("editarPrecoApanheController.window.title"),
|
||||||
|
Messagebox.OK, Messagebox.INFORMATION);
|
||||||
|
|
||||||
|
precoApanheList.removeItem(precoApanhe);
|
||||||
|
|
||||||
|
closeWindow();
|
||||||
|
}
|
||||||
|
} catch (Exception ex) {
|
||||||
|
log.error(ex);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public PrecoApanhe getPrecoApanhe() {
|
||||||
|
return precoApanhe;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setPrecoApanhe(PrecoApanhe precoApanhe) {
|
||||||
|
this.precoApanhe = precoApanhe;
|
||||||
|
}
|
||||||
|
|
||||||
|
public List<Hotel> getLsHotel() {
|
||||||
|
return lsHotel;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setLsHotel(List<Hotel> lsHotel) {
|
||||||
|
this.lsHotel = lsHotel;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Combobox getCmbHotel() {
|
||||||
|
return cmbHotel;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCmbHotel(Combobox cmbHotel) {
|
||||||
|
this.cmbHotel = cmbHotel;
|
||||||
|
}
|
||||||
|
|
||||||
|
public MyComboboxColonia getCmbColonia() {
|
||||||
|
return cmbColonia;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCmbColonia(MyComboboxColonia cmbColonia) {
|
||||||
|
this.cmbColonia = cmbColonia;
|
||||||
|
}
|
||||||
|
|
||||||
|
public MyComboboxCiudad getCmbCiudad() {
|
||||||
|
return cmbCiudad;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCmbCiudad(MyComboboxCiudad cmbCiudad) {
|
||||||
|
this.cmbCiudad = cmbCiudad;
|
||||||
|
}
|
||||||
|
|
||||||
|
public MyTextboxDecimal getTxtPreco() {
|
||||||
|
return txtPreco;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTxtPreco(MyTextboxDecimal txtPreco) {
|
||||||
|
this.txtPreco = txtPreco;
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,117 @@
|
||||||
|
/*
|
||||||
|
* To change this template, choose Tools | Templates
|
||||||
|
* and open the template in the editor.
|
||||||
|
*/
|
||||||
|
package com.rjconsultores.ventaboletos.web.utilerias;
|
||||||
|
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.zkoss.util.resource.Labels;
|
||||||
|
import org.zkoss.zk.ui.WrongValueException;
|
||||||
|
import org.zkoss.zk.ui.event.Event;
|
||||||
|
import org.zkoss.zk.ui.event.EventListener;
|
||||||
|
import org.zkoss.zk.ui.event.InputEvent;
|
||||||
|
import org.zkoss.zkplus.databind.BindingListModel;
|
||||||
|
import org.zkoss.zkplus.databind.BindingListModelList;
|
||||||
|
import org.zkoss.zkplus.spring.SpringUtil;
|
||||||
|
import org.zkoss.zul.Combobox;
|
||||||
|
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.Ciudad;
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.Colonia;
|
||||||
|
import com.rjconsultores.ventaboletos.service.ColoniaService;
|
||||||
|
|
||||||
|
public class MyComboboxColonia extends Combobox {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
private ColoniaService coloniaService;
|
||||||
|
private List<Colonia> lsColonia;
|
||||||
|
private Ciudad initialValue;
|
||||||
|
private Integer indiceSelected = null;
|
||||||
|
|
||||||
|
public MyComboboxColonia() {
|
||||||
|
|
||||||
|
super();
|
||||||
|
|
||||||
|
coloniaService = (ColoniaService) SpringUtil.getBean("coloniaService");
|
||||||
|
lsColonia = new ArrayList<Colonia>();
|
||||||
|
|
||||||
|
this.setAutodrop(false);
|
||||||
|
this.setAutocomplete(false);
|
||||||
|
|
||||||
|
this.addEventListener("onOK", new EventListener() {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onEvent(Event event) throws Exception {
|
||||||
|
String strColonia = MyComboboxColonia.this.getText().toUpperCase();
|
||||||
|
|
||||||
|
if (strColonia.length() < MyComboboxParada.minLength) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (!strColonia.isEmpty()) {
|
||||||
|
lsColonia = coloniaService.buscaLike(strColonia);
|
||||||
|
|
||||||
|
BindingListModel listModelColonia = new BindingListModelList(lsColonia, true);
|
||||||
|
MyComboboxColonia.this.setModel(listModelColonia);
|
||||||
|
indiceSelected = null;
|
||||||
|
if (!lsColonia.isEmpty()) {
|
||||||
|
indiceSelected = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
MyComboboxColonia.this.open();
|
||||||
|
} else {
|
||||||
|
lsColonia.clear();
|
||||||
|
|
||||||
|
BindingListModel listModelCiudad = new BindingListModelList(lsColonia, true);
|
||||||
|
MyComboboxColonia.this.setModel(listModelCiudad);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
this.addEventListener("onChanging", new EventListener() {
|
||||||
|
|
||||||
|
public void onEvent(Event event) throws Exception {
|
||||||
|
InputEvent ev = (InputEvent) event;
|
||||||
|
String strCiudad = ev.getValue();
|
||||||
|
if (strCiudad.length() < 2) {
|
||||||
|
lsColonia.clear();
|
||||||
|
|
||||||
|
BindingListModel listModelColonia = new BindingListModelList(lsColonia, true);
|
||||||
|
MyComboboxColonia.this.setModel(listModelColonia);
|
||||||
|
|
||||||
|
MyComboboxColonia.this.close();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
public Ciudad getInitialValue() {
|
||||||
|
return initialValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setInitialValue(Ciudad initialValue) {
|
||||||
|
if (initialValue == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
List<Ciudad> ls = new ArrayList<Ciudad>();
|
||||||
|
ls.add(initialValue);
|
||||||
|
|
||||||
|
this.setModel(new BindingListModelList(ls, false));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @param checaBusqueda
|
||||||
|
* @throws WrongValueException
|
||||||
|
*/
|
||||||
|
public String getValue(boolean checaBusqueda) throws WrongValueException {
|
||||||
|
if (checaBusqueda) {
|
||||||
|
if (this.getSelectedItem() == null) {
|
||||||
|
throw new WrongValueException(this, Labels.getLabel("MSG.Error.combobox.hacerBusqueda"));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return super.getValue();
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,26 @@
|
||||||
|
package com.rjconsultores.ventaboletos.web.utilerias.menu.item.catalogos;
|
||||||
|
|
||||||
|
import org.zkoss.util.resource.Labels;
|
||||||
|
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.PantallaUtileria;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.menu.DefaultItemMenuSistema;
|
||||||
|
|
||||||
|
public class ItemMenuHotel extends DefaultItemMenuSistema {
|
||||||
|
|
||||||
|
public ItemMenuHotel() {
|
||||||
|
super("indexController.mniHotel.label");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getClaveMenu() {
|
||||||
|
return "COM.RJCONSULTORES.ADMINISTRACION.GUI.CATALOGO.MENU.HOTEL";
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void ejecutar() {
|
||||||
|
PantallaUtileria.openWindow("/gui/catalogos/busquedaHotel.zul",
|
||||||
|
Labels.getLabel("busquedaTurnoController.window.title"), getArgs(), desktop);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,26 @@
|
||||||
|
package com.rjconsultores.ventaboletos.web.utilerias.menu.item.tarifas;
|
||||||
|
|
||||||
|
import org.zkoss.util.resource.Labels;
|
||||||
|
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.PantallaUtileria;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.menu.DefaultItemMenuSistema;
|
||||||
|
|
||||||
|
public class ItemMenuPrecoApanhe extends DefaultItemMenuSistema {
|
||||||
|
|
||||||
|
public ItemMenuPrecoApanhe() {
|
||||||
|
super("indexController.mniPrecoApanhe.label");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getClaveMenu() {
|
||||||
|
return "COM.RJCONSULTORES.ADMINISTRACION.GUI.TARIFAS.MENU.PRECOAPANHE";
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void ejecutar() {
|
||||||
|
PantallaUtileria.openWindow("/gui/tarifas/busquedaPrecoApanhe.zul",
|
||||||
|
Labels.getLabel("busquedaPrecoApanheContorller.window.title"), getArgs(), desktop);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,22 @@
|
||||||
|
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.Hotel;
|
||||||
|
|
||||||
|
public class RenderHotel implements ListitemRenderer {
|
||||||
|
|
||||||
|
public void render(Listitem lstm, Object o) throws Exception {
|
||||||
|
Hotel hotel = (Hotel) o;
|
||||||
|
|
||||||
|
Listcell lc = new Listcell(hotel.getHotelId().toString());
|
||||||
|
lc.setParent(lstm);
|
||||||
|
|
||||||
|
lc = new Listcell(hotel.getDeschotel());
|
||||||
|
lc.setParent(lstm);
|
||||||
|
|
||||||
|
lstm.setAttribute("data", hotel);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,31 @@
|
||||||
|
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.PrecoApanhe;
|
||||||
|
|
||||||
|
public class RenderPrecoApanhe implements ListitemRenderer {
|
||||||
|
|
||||||
|
public void render(Listitem lstm, Object o) throws Exception {
|
||||||
|
PrecoApanhe precoApanhe = (PrecoApanhe) o;
|
||||||
|
|
||||||
|
Listcell lc = new Listcell(precoApanhe.getPrecoapanheId().toString());
|
||||||
|
lc.setParent(lstm);
|
||||||
|
|
||||||
|
lc = new Listcell(precoApanhe.getHotel() != null ? precoApanhe.getHotel().getDeschotel() : "");
|
||||||
|
lc.setParent(lstm);
|
||||||
|
|
||||||
|
lc = new Listcell(precoApanhe.getCiudad() != null ? precoApanhe.getCiudad().getNombciudad() : "");
|
||||||
|
lc.setParent(lstm);
|
||||||
|
|
||||||
|
lc = new Listcell(precoApanhe.getColonia() != null ? precoApanhe.getColonia().getDesccolonia() : "");
|
||||||
|
lc.setParent(lstm);
|
||||||
|
|
||||||
|
lc = new Listcell(precoApanhe.getPreco().toString());
|
||||||
|
lc.setParent(lstm);
|
||||||
|
|
||||||
|
lstm.setAttribute("data", precoApanhe);
|
||||||
|
}
|
||||||
|
}
|
|
@ -371,6 +371,8 @@
|
||||||
<value>com.rjconsultores.ventaboletos.entidad.FechamentoParamgeral</value>
|
<value>com.rjconsultores.ventaboletos.entidad.FechamentoParamgeral</value>
|
||||||
<value>com.rjconsultores.ventaboletos.entidad.FechamentoParamptovta</value>
|
<value>com.rjconsultores.ventaboletos.entidad.FechamentoParamptovta</value>
|
||||||
<value>com.rjconsultores.ventaboletos.entidad.TipoIdentificacion</value>
|
<value>com.rjconsultores.ventaboletos.entidad.TipoIdentificacion</value>
|
||||||
|
<value>com.rjconsultores.ventaboletos.entidad.Hotel</value>
|
||||||
|
<value>com.rjconsultores.ventaboletos.entidad.PrecoApanhe</value>
|
||||||
|
|
||||||
<value>com.rjconsultores.ventaboletos.entidad.FiscalTotnaofiscalEmpresa</value>
|
<value>com.rjconsultores.ventaboletos.entidad.FiscalTotnaofiscalEmpresa</value>
|
||||||
<value>com.rjconsultores.ventaboletos.entidad.FiscalFormapagoEmpresa</value>
|
<value>com.rjconsultores.ventaboletos.entidad.FiscalFormapagoEmpresa</value>
|
||||||
|
|
|
@ -175,6 +175,7 @@ indexController.mniColonia.label = Barrio
|
||||||
indexController.mniArticulo.label = Articulo
|
indexController.mniArticulo.label = Articulo
|
||||||
indexController.mniTipoCorte.label = Turno de cierre de caja
|
indexController.mniTipoCorte.label = Turno de cierre de caja
|
||||||
indexController.mniTurno.label = Turno
|
indexController.mniTurno.label = Turno
|
||||||
|
indexController.mniHotel.label = Hotel
|
||||||
indexController.mniTipoMovimiento.label = Tipo movimiento
|
indexController.mniTipoMovimiento.label = Tipo movimiento
|
||||||
indexController.mniTipoOcupacion.label = Tipo ocupación
|
indexController.mniTipoOcupacion.label = Tipo ocupación
|
||||||
indexController.mniTipoDomicilio.label = Tipo domicilio
|
indexController.mniTipoDomicilio.label = Tipo domicilio
|
||||||
|
@ -238,6 +239,7 @@ indexController.mniFechamentoParamgeral.label = Fechamento Conta Corrente
|
||||||
indexController.mniFechamentoParamptovta.label = Fechamento Conta Corrente Agência
|
indexController.mniFechamentoParamptovta.label = Fechamento Conta Corrente Agência
|
||||||
indexController.mniRelatorioCorridas.label = Reporte de Corridas
|
indexController.mniRelatorioCorridas.label = Reporte de Corridas
|
||||||
indexController.mniRelatorioDemandas.label = Reporte de Demandas
|
indexController.mniRelatorioDemandas.label = Reporte de Demandas
|
||||||
|
indexController.mniPrecoApanhe.label = Preço Apanhe
|
||||||
|
|
||||||
#PARTE REALIZADA POR MANUEL
|
#PARTE REALIZADA POR MANUEL
|
||||||
indexController.mnCortesias.label = Cortesias para empleados
|
indexController.mnCortesias.label = Cortesias para empleados
|
||||||
|
@ -5154,4 +5156,45 @@ filtroRelatorioAgenciasNaoImportadas.lbDataFin.value = Fecha Final
|
||||||
indexController.mniRelatorioAgenciaFechamento.label= Relatorio Agências Fechamento
|
indexController.mniRelatorioAgenciaFechamento.label= Relatorio Agências Fechamento
|
||||||
|
|
||||||
integracion.totvs=ERRO ao fazer integracion com a TOTVS
|
integracion.totvs=ERRO ao fazer integracion com a TOTVS
|
||||||
integracion.totvs.ja.cadastrado = Está Agencia já possui cadastrado no sistema da TOTVS. Os dados de integração não seram enviados novamente
|
integracion.totvs.ja.cadastrado = Está Agencia já possui cadastrado no sistema da TOTVS. Os dados de integração não seram enviados novamente
|
||||||
|
|
||||||
|
# Búsqueda Hotel
|
||||||
|
busquedaHotelController.window.title = Hotel
|
||||||
|
busquedaHotelController.btnRefresh.tooltiptext = Actualizar
|
||||||
|
busquedaHotelController.btnNovo.tooltiptext = Incluir
|
||||||
|
busquedaHotelController.btnCerrar.tooltiptext = Cerrar
|
||||||
|
busquedaHotelController.txtNombre.label = Descripción
|
||||||
|
busquedaHotelController.btnPesquisa.label = Búsqueda
|
||||||
|
busquedaHotelController.lhId.label = ID
|
||||||
|
busquedaHotelController.lhDesc.label = Descripción
|
||||||
|
|
||||||
|
# Editar Hotel
|
||||||
|
editarHotelController.window.title = Hotel
|
||||||
|
editarHotelController.btnApagar.tooltiptext = Eliminar
|
||||||
|
editarHotelController.btnSalvar.tooltiptext = Guardar
|
||||||
|
editarHotelController.btnFechar.tooltiptext = Cerrar
|
||||||
|
editarHotelController.lhDesc.label = Descripción
|
||||||
|
editarHotelController.lhCep.label = Cep
|
||||||
|
editarHotelController.lhEndereco.label = Logradouro
|
||||||
|
editarHotelController.lhNumero.label = Numero
|
||||||
|
editarHotelController.lhComplemento.label = Complemento
|
||||||
|
editarHotelController.lhBairro.label = Colonia
|
||||||
|
editarHotelController.lhCidade.label = Ciudad
|
||||||
|
editarHotelController.lhEstado.label = Estado
|
||||||
|
editarHotelController.MSG.suscribirOK = Hotel se registró exitosamente
|
||||||
|
editarHotelController.MSG.borrarPergunta = Eliminar hotel?
|
||||||
|
editarHotelController.MSG.borrarOK = Hotel se eliminó exitosamente
|
||||||
|
|
||||||
|
# Pesquisa Preco Apanhe
|
||||||
|
busquedaPrecoApanheController.window.title = Preço Apanhe
|
||||||
|
busquedaPrecoApanheController.btnRefresh.tooltiptext = Actualizar
|
||||||
|
busquedaPrecoApanheController.btnNovo.tooltiptext = Incluir
|
||||||
|
busquedaPrecoApanheController.btnCerrar.tooltiptext = Cerrar
|
||||||
|
busquedaPrecoApanheController.btnPesquisa.label = Búsqueda
|
||||||
|
busquedaPrecoApanheController.lhId.label = ID
|
||||||
|
busquedaPrecoApanheController.lhHotel.label = Hotel
|
||||||
|
busquedaPrecoApanheController.lhColonia.label = Colonia
|
||||||
|
busquedaPrecoApanheController.lhCiudad.label = Ciudad
|
||||||
|
busquedaPrecoApanheController.lhPreco.label = Precio
|
||||||
|
editarPrecoApanheController.error.verificarHotelColoniaCiudadInformado.label = Informar sólo: Hotel o Colonia o Ciudad
|
||||||
|
editarPrecoApanheController.MSG.suscribirOK = Preço Apanhe se registró exitosamente
|
|
@ -177,6 +177,7 @@ indexController.mniColonia.label = Bairro
|
||||||
indexController.mniArticulo.label = Artigo
|
indexController.mniArticulo.label = Artigo
|
||||||
indexController.mniTipoCorte.label = Turno de Fechamento de Caixa
|
indexController.mniTipoCorte.label = Turno de Fechamento de Caixa
|
||||||
indexController.mniTurno.label = Turno
|
indexController.mniTurno.label = Turno
|
||||||
|
indexController.mniHotel.label = Hotel
|
||||||
indexController.mniTipoMovimiento.label = Tipo Movimento
|
indexController.mniTipoMovimiento.label = Tipo Movimento
|
||||||
indexController.mniTipoOcupacion.label = Tipo Ocupação
|
indexController.mniTipoOcupacion.label = Tipo Ocupação
|
||||||
indexController.mniTipoDomicilio.label = Tipo Domicilio
|
indexController.mniTipoDomicilio.label = Tipo Domicilio
|
||||||
|
@ -243,6 +244,7 @@ indexController.mniFechamentoParamptovta.label = Fechamento Conta Corrente Agên
|
||||||
indexController.mniRelatorioCorridas.label = Relatório de Serviços
|
indexController.mniRelatorioCorridas.label = Relatório de Serviços
|
||||||
indexController.mniRelatorioCorridas.label = Relatório de Serviços
|
indexController.mniRelatorioCorridas.label = Relatório de Serviços
|
||||||
indexController.mniRelatorioDemandas.label = Relatório de Demandas
|
indexController.mniRelatorioDemandas.label = Relatório de Demandas
|
||||||
|
indexController.mniPrecoApanhe.label = Preço Apanhe
|
||||||
|
|
||||||
indexController.mnSubMenuImpressaoFiscal.label=Impressão Fiscal
|
indexController.mnSubMenuImpressaoFiscal.label=Impressão Fiscal
|
||||||
indexController.mniTotnaofiscalEmpresa.label=Totalizadoes Não-fiscais
|
indexController.mniTotnaofiscalEmpresa.label=Totalizadoes Não-fiscais
|
||||||
|
@ -5224,9 +5226,60 @@ relatorioGratuidadeController.lbDataFin.value = Data Final
|
||||||
|
|
||||||
indexController.mniRelatorioAgenciaFechamento.label= Relatorio Agências Fechamento
|
indexController.mniRelatorioAgenciaFechamento.label= Relatorio Agências Fechamento
|
||||||
|
|
||||||
integracion.totvs = ERRO ao fazer integração com a TOTVS
|
integracion.totvs=ERRO ao fazer integração com a TOTVS
|
||||||
integracion.totvs.ja.cadastrado = Está Agencia já possui cadastrado no sistema da TOTVS. Os dados de integração não seram enviados novamente
|
integracion.totvs.ja.cadastrado = Está Agencia já possui cadastrado no sistema da TOTVS. Os dados de integração não seram enviados novamente
|
||||||
|
|
||||||
|
# Pesquisa Hotel
|
||||||
|
busquedaHotelController.window.title = Hotel
|
||||||
|
busquedaHotelController.btnRefresh.tooltiptext = Atualizar
|
||||||
|
busquedaHotelController.btnNovo.tooltiptext = Incluir
|
||||||
|
busquedaHotelController.btnCerrar.tooltiptext = Fechar
|
||||||
|
busquedaHotelController.txtNombre.label = Descrição
|
||||||
|
busquedaHotelController.btnPesquisa.label = Pesquisa
|
||||||
|
busquedaHotelController.lhId.label = ID
|
||||||
|
busquedaHotelController.lhDesc.label = Descrição
|
||||||
|
|
||||||
|
# Editar Hotel
|
||||||
|
editarHotelController.window.title = Hotel
|
||||||
|
editarHotelController.btnApagar.tooltiptext = Eliminar
|
||||||
|
editarHotelController.btnSalvar.tooltiptext = Salvar
|
||||||
|
editarHotelController.btnFechar.tooltiptext = Fechar
|
||||||
|
editarHotelController.lhDesc.label = Descrição
|
||||||
|
editarHotelController.lhCep.label = Cep
|
||||||
|
editarHotelController.lhEndereco.label = Logradouro
|
||||||
|
editarHotelController.lhNumero.label = Número
|
||||||
|
editarHotelController.lhComplemento.label = Complemento
|
||||||
|
editarHotelController.lhBairro.label = Bairro
|
||||||
|
editarHotelController.lhCidade.label = Cidade
|
||||||
|
editarHotelController.lhEstado.label = Estado
|
||||||
|
editarHotelController.MSG.suscribirOK = Hotel Registrado com Sucesso.
|
||||||
|
editarHotelController.MSG.borrarPergunta = Eliminar Hotel?
|
||||||
|
editarHotelController.MSG.borrarOK = Hotel Excluido com Sucesso.
|
||||||
|
|
||||||
|
# Pesquisa Preco Apanhe
|
||||||
|
busquedaPrecoApanheController.window.title = Preço Apanhe
|
||||||
|
busquedaPrecoApanheController.btnRefresh.tooltiptext = Atualizar
|
||||||
|
busquedaPrecoApanheController.btnNovo.tooltiptext = Incluir
|
||||||
|
busquedaPrecoApanheController.btnCerrar.tooltiptext = Fechar
|
||||||
|
busquedaPrecoApanheController.btnPesquisa.label = Pesquisa
|
||||||
|
busquedaPrecoApanheController.lhId.label = ID
|
||||||
|
busquedaPrecoApanheController.lhHotel.label = Hotel
|
||||||
|
busquedaPrecoApanheController.lhColonia.label = Bairro
|
||||||
|
busquedaPrecoApanheController.lhCiudad.label = Cidade
|
||||||
|
busquedaPrecoApanheController.lhPreco.label = Preço
|
||||||
|
|
||||||
|
# Editar Preco Apanhe
|
||||||
|
editarPrecoApanheController.window.title = Preço Apanhe
|
||||||
|
editarPrecoApanheController.btnApagar.tooltiptext = Eliminar
|
||||||
|
editarPrecoApanheController.btnSalvar.tooltiptext = Salvar
|
||||||
|
editarPrecoApanheController.btnFechar.tooltiptext = Fechar
|
||||||
|
editarPrecoApanheController.lhHotel.label = Hotel
|
||||||
|
editarPrecoApanheController.lhColonia.label = Bairro
|
||||||
|
editarPrecoApanheController.lhCiudad.label = Cidade
|
||||||
|
editarPrecoApanheController.lhPreco.label = Preço
|
||||||
|
editarPrecoApanheController.error.verificarHotelColoniaCiudadInformado.label = Informar apenas: Hotel ou Bairro ou Cidade
|
||||||
|
editarPrecoApanheController.MSG.suscribirOK = Preço Apanhe Registrado com Sucesso.
|
||||||
|
|
||||||
|
|
||||||
#Parametros Impressão Fiscal
|
#Parametros Impressão Fiscal
|
||||||
busquedaTotnaofiscalEmpresaController.window.title=Impressão Fiscal :: Totalizadores não-fiscais
|
busquedaTotnaofiscalEmpresaController.window.title=Impressão Fiscal :: Totalizadores não-fiscais
|
||||||
|
|
|
@ -0,0 +1,53 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<?page contentType="text/html;charset=UTF-8"?>
|
||||||
|
<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>
|
||||||
|
<?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" arg0="winBusquedaHotel"?>
|
||||||
|
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
||||||
|
|
||||||
|
<zk xmlns="http://www.zkoss.org/2005/zul">
|
||||||
|
<window id="winBusquedaHotel" title="${c:l('busquedaHotelController.window.title')}"
|
||||||
|
apply="${busquedaHotelController}" contentStyle="overflow:auto"
|
||||||
|
height="450px" width="650px" border="normal" >
|
||||||
|
<toolbar>
|
||||||
|
<button id="btnRefresh" image="/gui/img/refresh.png" width="35px"
|
||||||
|
tooltiptext="${c:l('busquedaHotelController.btnRefresh.tooltiptext')}" />
|
||||||
|
<separator orient="vertical" />
|
||||||
|
<button id="btnNovo" image="/gui/img/add.png" width="35px"
|
||||||
|
tooltiptext="${c:l('busquedaHotelController.btnNovo.tooltiptext')}" />
|
||||||
|
<separator orient="vertical" />
|
||||||
|
<button id="btnCerrar" onClick="winBusquedaHotel.detach()" image="/gui/img/exit.png" width="35px"
|
||||||
|
tooltiptext="${c:l('busquedaHotelController.btnCerrar.tooltiptext')}"/>
|
||||||
|
</toolbar>
|
||||||
|
|
||||||
|
<grid fixedLayout="true">
|
||||||
|
<columns>
|
||||||
|
<column width="30%" />
|
||||||
|
<column width="70%" />
|
||||||
|
</columns>
|
||||||
|
<rows>
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('busquedaHotelController.window.title')}"/>
|
||||||
|
<textbox id="txtNome" width="300px" use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
|
||||||
|
</row>
|
||||||
|
</rows>
|
||||||
|
</grid>
|
||||||
|
|
||||||
|
<toolbar>
|
||||||
|
<button id="btnPesquisa" image="/gui/img/find.png"
|
||||||
|
label="${c:l('busquedaHotelController.btnPesquisa.label')}"/>
|
||||||
|
</toolbar>
|
||||||
|
|
||||||
|
<paging id="pagingHotel" pageSize="10"/>
|
||||||
|
<listbox id="hotelList" use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||||
|
vflex="true" multiple="false">
|
||||||
|
<listhead sizable="true">
|
||||||
|
<listheader id="lhId" width="70px" image="/gui/img/builder.gif"
|
||||||
|
label="${c:l('busquedaHotelController.lhId.label')}"
|
||||||
|
sort="auto(hotelId)"/>
|
||||||
|
<listheader id="lhDesc" image="/gui/img/create_doc.gif"
|
||||||
|
label="${c:l('busquedaHotelController.lhDesc.label')}"
|
||||||
|
sort="auto(deschotel)"/>
|
||||||
|
</listhead>
|
||||||
|
</listbox>
|
||||||
|
</window>
|
||||||
|
</zk>
|
|
@ -0,0 +1,84 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<?page contentType="text/html;charset=UTF-8"?>
|
||||||
|
<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>
|
||||||
|
<?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" arg0="winEditarHotel"?>
|
||||||
|
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
||||||
|
|
||||||
|
<zk xmlns="http://www.zkoss.org/2005/zul">
|
||||||
|
<window id="winEditarHotel" border="normal"
|
||||||
|
apply="${editarHotelController}"
|
||||||
|
width="600px" height="285px" contentStyle="overflow:auto"
|
||||||
|
title="${c:l('editarHotelController.window.title')}">
|
||||||
|
<toolbar>
|
||||||
|
<hbox spacing="5px" style="padding:1px" align="right">
|
||||||
|
<button id="btnApagar" height="20"
|
||||||
|
image="/gui/img/remove.png" width="35px"
|
||||||
|
tooltiptext="${c:l('editarHotelController.btnApagar.tooltiptext')}"/>
|
||||||
|
<button id="btnSalvar" height="20"
|
||||||
|
image="/gui/img/save.png" width="35px"
|
||||||
|
tooltiptext="${c:l('editarHotelController.btnSalvar.tooltiptext')}"/>
|
||||||
|
<button id="btnFechar" height="20"
|
||||||
|
image="/gui/img/exit.png" width="35px"
|
||||||
|
onClick="winEditarHotel.detach()"
|
||||||
|
tooltiptext="${c:l('editarHotelController.btnFechar.tooltiptext')}"/>
|
||||||
|
</hbox>
|
||||||
|
</toolbar>
|
||||||
|
|
||||||
|
<grid fixedLayout="true">
|
||||||
|
<columns>
|
||||||
|
<column width="25%" />
|
||||||
|
<column width="75%" />
|
||||||
|
</columns>
|
||||||
|
<rows>
|
||||||
|
<row>
|
||||||
|
<label id="lbNome" value="${c:l('editarHotelController.lhDesc.label')}"/>
|
||||||
|
<textbox id="txtNome" constraint="no empty" width="90%" maxlength="100"
|
||||||
|
value="@{winEditarHotel$composer.hotel.deschotel}"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label id="lbCep" value="${c:l('editarHotelController.lhCep.label')}"/>
|
||||||
|
<textbox id="txtCep" width="25%" maxlength="8"
|
||||||
|
value="@{winEditarHotel$composer.hotel.cep}"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label id="lbEndereco" value="${c:l('editarHotelController.lhEndereco.label')}"/>
|
||||||
|
<textbox id="txtEndereco" width="90%" maxlength="100"
|
||||||
|
value="@{winEditarHotel$composer.hotel.endereco}"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label id="lbNumero" value="${c:l('editarHotelController.lhNumero.label')}"/>
|
||||||
|
<textbox id="txtNumero" width="25%" maxlength="10"
|
||||||
|
value="@{winEditarHotel$composer.hotel.numero}"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label id="lbComplemento" value="${c:l('editarHotelController.lhComplemento.label')}"/>
|
||||||
|
<textbox id="txtComplemento" width="50%" maxlength="20"
|
||||||
|
value="@{winEditarHotel$composer.hotel.complemento}"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label id="lbBairro" value="${c:l('editarHotelController.lhBairro.label')}"/>
|
||||||
|
<textbox id="txtBairro" width="90%" maxlength="50"
|
||||||
|
value="@{winEditarHotel$composer.hotel.bairro}"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label id="lbCidade" value="${c:l('editarHotelController.lhCidade.label')}"/>
|
||||||
|
<textbox id="txtCidade" width="90%" maxlength="50"
|
||||||
|
value="@{winEditarHotel$composer.hotel.cidade}"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label id="lbEstado" value="${c:l('editarHotelController.lhEstado.label')}"/>
|
||||||
|
<textbox id="txtEstado" width="90%" maxlength="50"
|
||||||
|
value="@{winEditarHotel$composer.hotel.estado}"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
|
||||||
|
</row>
|
||||||
|
</rows>
|
||||||
|
</grid>
|
||||||
|
</window>
|
||||||
|
</zk>
|
|
@ -0,0 +1,49 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<?page contentType="text/html;charset=UTF-8"?>
|
||||||
|
<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>
|
||||||
|
<?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" arg0="winBusquedaPrecoApanhe"?>
|
||||||
|
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
||||||
|
|
||||||
|
<zk xmlns="http://www.zkoss.org/2005/zul">
|
||||||
|
<window id="winBusquedaPrecoApanhe" title="${c:l('busquedaPrecoApanheController.window.title')}"
|
||||||
|
apply="${busquedaPrecoApanheController}" contentStyle="overflow:auto"
|
||||||
|
height="450px" width="650px" border="normal" >
|
||||||
|
<toolbar>
|
||||||
|
<button id="btnRefresh" image="/gui/img/refresh.png" width="35px"
|
||||||
|
tooltiptext="${c:l('busquedaPrecoApanheController.btnRefresh.tooltiptext')}" />
|
||||||
|
<separator orient="vertical" />
|
||||||
|
<button id="btnNovo" image="/gui/img/add.png" width="35px"
|
||||||
|
tooltiptext="${c:l('busquedaPrecoApanheController.btnNovo.tooltiptext')}" />
|
||||||
|
<separator orient="vertical" />
|
||||||
|
<button id="btnCerrar" onClick="winBusquedaPrecoApanhe.detach()" image="/gui/img/exit.png" width="35px"
|
||||||
|
tooltiptext="${c:l('busquedaPrecoApanheController.btnCerrar.tooltiptext')}"/>
|
||||||
|
</toolbar>
|
||||||
|
|
||||||
|
<toolbar>
|
||||||
|
<button id="btnPesquisa" image="/gui/img/find.png"
|
||||||
|
label="${c:l('busquedaPrecoApanheController.btnPesquisa.label')}"/>
|
||||||
|
</toolbar>
|
||||||
|
|
||||||
|
<paging id="pagingPrecoApanhe" pageSize="10"/>
|
||||||
|
<listbox id="precoApanheList" use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||||
|
vflex="true" multiple="false">
|
||||||
|
<listhead sizable="true">
|
||||||
|
<listheader id="lhId" width="70px" image="/gui/img/builder.gif"
|
||||||
|
label="${c:l('busquedaPrecoApanheController.lhId.label')}"
|
||||||
|
sort="auto(precoApanheId)"/>
|
||||||
|
<listheader id="lhHotel" image="/gui/img/create_doc.gif"
|
||||||
|
label="${c:l('busquedaPrecoApanheController.lhHotel.label')}"
|
||||||
|
sort="auto(hotel.deschotel)"/>
|
||||||
|
<listheader id="lhCiudad" image="/gui/img/create_doc.gif"
|
||||||
|
label="${c:l('busquedaPrecoApanheController.lhCiudad.label')}"
|
||||||
|
sort="auto(ciudade.nombciudad)"/>
|
||||||
|
<listheader id="lhColonia" image="/gui/img/create_doc.gif"
|
||||||
|
label="${c:l('busquedaPrecoApanheController.lhColonia.label')}"
|
||||||
|
sort="auto(colonia.desccolonia)"/>
|
||||||
|
<listheader id="lhPreco" image="/gui/img/create_doc.gif"
|
||||||
|
label="${c:l('busquedaPrecoApanheController.lhPreco.label')}"
|
||||||
|
sort="auto(preco)"/>
|
||||||
|
</listhead>
|
||||||
|
</listbox>
|
||||||
|
</window>
|
||||||
|
</zk>
|
|
@ -0,0 +1,73 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<?page contentType="text/html;charset=UTF-8"?>
|
||||||
|
<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>
|
||||||
|
<?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" arg0="winEditarPrecoApanhe"?>
|
||||||
|
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
||||||
|
|
||||||
|
<zk xmlns="http://www.zkoss.org/2005/zul">
|
||||||
|
<window id="winEditarPrecoApanhe" border="normal"
|
||||||
|
apply="${editarPrecoApanheController}"
|
||||||
|
width="600px" height="285px" contentStyle="overflow:auto"
|
||||||
|
title="${c:l('editarPrecoApanheController.window.title')}">
|
||||||
|
<toolbar>
|
||||||
|
<hbox spacing="5px" style="padding:1px" align="right">
|
||||||
|
<button id="btnApagar" height="20"
|
||||||
|
image="/gui/img/remove.png" width="35px"
|
||||||
|
tooltiptext="${c:l('editarPrecoApanheController.btnApagar.tooltiptext')}"/>
|
||||||
|
<button id="btnSalvar" height="20"
|
||||||
|
image="/gui/img/save.png" width="35px"
|
||||||
|
tooltiptext="${c:l('editarPrecoApanheController.btnSalvar.tooltiptext')}"/>
|
||||||
|
<button id="btnFechar" height="20"
|
||||||
|
image="/gui/img/exit.png" width="35px"
|
||||||
|
onClick="winEditarPrecoApanhe.detach()"
|
||||||
|
tooltiptext="${c:l('editarPrecoApanheController.btnFechar.tooltiptext')}"/>
|
||||||
|
</hbox>
|
||||||
|
</toolbar>
|
||||||
|
|
||||||
|
<grid fixedLayout="true">
|
||||||
|
<columns>
|
||||||
|
<column width="15%" />
|
||||||
|
<column width="85%" />
|
||||||
|
</columns>
|
||||||
|
<rows>
|
||||||
|
<row>
|
||||||
|
<label id="lbHotel" value="${c:l('editarPrecoApanheController.lhHotel.label')}"/>
|
||||||
|
<combobox id="cmbHotel"
|
||||||
|
width="90%"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||||
|
mold="rounded"
|
||||||
|
buttonVisible="true"
|
||||||
|
initialValue="@{winEditarPrecoApanhe$composer.precoApanhe.hotel}"
|
||||||
|
selectedItem="@{winEditarPrecoApanhe$composer.precoApanhe.hotel}"
|
||||||
|
model="@{winEditarPrecoApanhe$composer.lsHotel}" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label id="lbColonia" value="${c:l('editarPrecoApanheController.lhColonia.label')}"/>
|
||||||
|
<combobox id="cmbColonia"
|
||||||
|
width="90%"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxColonia"
|
||||||
|
initialValue="@{winEditarPrecoApanhe$composer.precoApanhe.colonia}"
|
||||||
|
selectedItem="@{winEditarPrecoApanhe$composer.precoApanhe.colonia}"
|
||||||
|
mold="rounded"
|
||||||
|
buttonVisible="true" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label id="lbCiudad" value="${c:l('editarPrecoApanheController.lhCiudad.label')}"/>
|
||||||
|
<combobox id="cmbCiudad"
|
||||||
|
width="90%"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxCiudad"
|
||||||
|
initialValue="@{winEditarPrecoApanhe$composer.precoApanhe.ciudad}"
|
||||||
|
selectedItem="@{winEditarPrecoApanhe$composer.precoApanhe.ciudad}"
|
||||||
|
mold="rounded"
|
||||||
|
buttonVisible="true" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label id="lbPreco" value="${c:l('editarPrecoApanheController.lhPreco.label')}"/>
|
||||||
|
<textbox id="txtPreco" constraint="no empty" width="20%" maxlength="10"
|
||||||
|
value="@{winEditarPrecoApanhe$composer.precoApanhe.preco}"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"/>
|
||||||
|
</row>
|
||||||
|
</rows>
|
||||||
|
</grid>
|
||||||
|
</window>
|
||||||
|
</zk>
|
Loading…
Reference in New Issue