Inserido menu e tela Tipo de Documento. fixes bug #AL-4655
parent
d9facd72a0
commit
d984c198bd
6
pom.xml
6
pom.xml
|
@ -4,12 +4,12 @@
|
|||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>br.com.rjconsultores</groupId>
|
||||
<artifactId>ventaboletosadm</artifactId>
|
||||
<version>1.122.1</version>
|
||||
<version>1.123.0</version>
|
||||
<packaging>war</packaging>
|
||||
|
||||
<properties>
|
||||
<modelWeb.version>1.90.1</modelWeb.version>
|
||||
<flyway.version>1.77.2</flyway.version>
|
||||
<modelWeb.version>1.95.0</modelWeb.version>
|
||||
<flyway.version>1.81.2</flyway.version>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
</properties>
|
||||
|
||||
|
|
|
@ -0,0 +1,140 @@
|
|||
/*
|
||||
* To change this template, choose Tools | Templates
|
||||
* and open the template in the editor.
|
||||
*/
|
||||
package com.rjconsultores.ventaboletos.web.gui.controladores.catalogos;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
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.TipoIdentificacion;
|
||||
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.RenderTipoIdentificacion;
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
import org.apache.logging.log4j.Logger;
|
||||
/**
|
||||
*
|
||||
* @author Administrador
|
||||
*/
|
||||
@Controller("busquedaTipoDocumentoController")
|
||||
@Scope("prototype")
|
||||
public class BusquedaTipoDocumentoController extends MyGenericForwardComposer {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 4233778656660930728L;
|
||||
@Autowired
|
||||
private transient PagedListWrapper<TipoIdentificacion> plwClaseServico;
|
||||
private MyListbox tipoIdentificacionList;
|
||||
private Paging pagingTipoIdentificacion;
|
||||
private Textbox txtNome;
|
||||
private static Logger log = LogManager.getLogger(BusquedaTipoDocumentoController.class);
|
||||
|
||||
public MyListbox getTipoIdentificacionList() {
|
||||
return tipoIdentificacionList;
|
||||
}
|
||||
|
||||
public void setTipoIdentificacionList(MyListbox TipoIdentificacionList) {
|
||||
this.tipoIdentificacionList = TipoIdentificacionList;
|
||||
}
|
||||
|
||||
public Paging getPagingTipoIdentificacion() {
|
||||
return pagingTipoIdentificacion;
|
||||
}
|
||||
|
||||
public void setPagingTipoIdentificacion(Paging pagingTipoIdentificacion) {
|
||||
this.pagingTipoIdentificacion = pagingTipoIdentificacion;
|
||||
}
|
||||
|
||||
public Textbox getTxtNome() {
|
||||
return txtNome;
|
||||
}
|
||||
|
||||
public void setTxtNome(Textbox txtNome) {
|
||||
this.txtNome = txtNome;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void doAfterCompose(Component comp) throws Exception {
|
||||
super.doAfterCompose(comp);
|
||||
|
||||
tipoIdentificacionList.setItemRenderer(new RenderTipoIdentificacion());
|
||||
tipoIdentificacionList.addEventListener("onDoubleClick", new EventListener() {
|
||||
|
||||
@Override
|
||||
public void onEvent(Event event) throws Exception {
|
||||
TipoIdentificacion c = (TipoIdentificacion) tipoIdentificacionList.getSelected();
|
||||
verTipoIdentificacion(c);
|
||||
}
|
||||
});
|
||||
|
||||
refreshLista();
|
||||
|
||||
txtNome.focus();
|
||||
}
|
||||
|
||||
@SuppressWarnings({ "rawtypes", "unchecked" })
|
||||
private void verTipoIdentificacion(TipoIdentificacion t) {
|
||||
Map args = new HashMap();
|
||||
if (t != null) {
|
||||
args.put("tipoDocumento", t);
|
||||
args.put("tipoDocumentoList", tipoIdentificacionList);
|
||||
}
|
||||
|
||||
|
||||
openWindow("/gui/catalogos/editarTipoDocumento.zul",
|
||||
Labels.getLabel("editarTipoDocumentoController.window.title"), args, MODAL);
|
||||
}
|
||||
|
||||
private void refreshLista() {
|
||||
HibernateSearchObject<TipoIdentificacion> tipoIdentificacionBusqueda =
|
||||
new HibernateSearchObject<TipoIdentificacion>(TipoIdentificacion.class,
|
||||
pagingTipoIdentificacion.getPageSize());
|
||||
|
||||
tipoIdentificacionBusqueda.addFilterLike("desctipo",
|
||||
"%" + txtNome.getText().trim().concat("%"));
|
||||
tipoIdentificacionBusqueda.addFilterNotEqual("tipoIdentificacionId", -1);
|
||||
|
||||
tipoIdentificacionBusqueda.addSortAsc("desctipo");
|
||||
tipoIdentificacionBusqueda.addFilterEqual("activo", Boolean.TRUE);
|
||||
|
||||
plwClaseServico.init(tipoIdentificacionBusqueda, tipoIdentificacionList, pagingTipoIdentificacion);
|
||||
|
||||
if (tipoIdentificacionList.getData().length == 0) {
|
||||
try {
|
||||
Messagebox.show(Labels.getLabel("MSG.ningunRegistro"),
|
||||
Labels.getLabel("busquedaTipoIdentificacionController.window.title"),
|
||||
Messagebox.OK, Messagebox.INFORMATION);
|
||||
} catch (InterruptedException ex) {
|
||||
log.error("Erro ao mostrar mensagem", ex);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void onClick$btnPesquisa(Event ev) {
|
||||
refreshLista();
|
||||
}
|
||||
|
||||
public void onClick$btnRefresh(Event ev) {
|
||||
refreshLista();
|
||||
}
|
||||
|
||||
public void onClick$btnNovo(Event ev) {
|
||||
verTipoIdentificacion(null);
|
||||
}
|
||||
}
|
|
@ -0,0 +1,179 @@
|
|||
/*
|
||||
* To change this template, choose Tools | Templates
|
||||
* and open the template in the editor.
|
||||
*/
|
||||
package com.rjconsultores.ventaboletos.web.gui.controladores.catalogos;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.commons.lang.StringUtils;
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
import org.apache.logging.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.Checkbox;
|
||||
|
||||
import com.rjconsultores.ventaboletos.entidad.TipoIdentificacion;
|
||||
import com.rjconsultores.ventaboletos.enums.TipoClasseServicoBPe;
|
||||
import com.rjconsultores.ventaboletos.service.TipoIdentificacionService;
|
||||
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;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Administrador
|
||||
*/
|
||||
@Controller("editarTipoDocumentoController")
|
||||
@Scope("prototype")
|
||||
public class EditarTipoDocumentoController extends MyGenericForwardComposer {
|
||||
|
||||
private static final long serialVersionUID = 5671864130172992489L;
|
||||
|
||||
private static Logger log = LogManager.getLogger(EditarTipoDocumentoController.class);
|
||||
|
||||
|
||||
private TipoIdentificacion tipoDocumento;
|
||||
private MyListbox tipoDocumentoList;
|
||||
private Button btnApagar;
|
||||
private Checkbox chkExibeConfirmacaoTotalbus;
|
||||
private Button btnSalvar;
|
||||
|
||||
@Autowired
|
||||
TipoIdentificacionService tipoIdentificacionService;
|
||||
private MyTextbox txtDescTipoDocumento;
|
||||
|
||||
|
||||
@Override
|
||||
public void doAfterCompose(Component comp) throws Exception {
|
||||
super.doAfterCompose(comp);
|
||||
btnSalvar.setVisible(true);
|
||||
btnSalvar.setDisabled(false);
|
||||
tipoDocumento = (TipoIdentificacion) Executions.getCurrent().getArg().get("tipoDocumento");
|
||||
tipoDocumentoList = (MyListbox) Executions.getCurrent().getArg().get("tipoDocumentoList");
|
||||
if (tipoDocumento==null) {
|
||||
btnApagar.setVisible(Boolean.FALSE);
|
||||
}else {
|
||||
chkExibeConfirmacaoTotalbus.setChecked(tipoDocumento.getIndExibeConfirmacaoTotalbus());
|
||||
}
|
||||
txtDescTipoDocumento.focus();
|
||||
}
|
||||
|
||||
public void onClick$btnSalvar(Event ev) throws InterruptedException {
|
||||
|
||||
|
||||
txtDescTipoDocumento.getValue();
|
||||
chkExibeConfirmacaoTotalbus.getValue();
|
||||
String descTipoDoc = txtDescTipoDocumento.getValue();
|
||||
if(StringUtils.isBlank(descTipoDoc)) {
|
||||
Messagebox.show(
|
||||
Labels.getLabel("MSG.Registro.Existe"),
|
||||
Labels.getLabel("editarClaseServicioController.window.title"),
|
||||
Messagebox.OK, Messagebox.EXCLAMATION);
|
||||
return;
|
||||
}
|
||||
try {
|
||||
|
||||
TipoIdentificacion tipoDocumentoJaExistentes = null;
|
||||
if(tipoDocumento ==null) {
|
||||
tipoDocumentoJaExistentes = tipoIdentificacionService.buscarPorNome(descTipoDoc.trim());
|
||||
if(tipoDocumentoJaExistentes ==null){
|
||||
tipoDocumento = new TipoIdentificacion();
|
||||
tipoDocumento.setActivo(Boolean.TRUE);
|
||||
tipoDocumento.setFecmodif(new Date());
|
||||
tipoDocumento.setDesctipo(txtDescTipoDocumento.getValue());
|
||||
tipoDocumento.setUsuarioId(UsuarioLogado.getUsuarioLogado().getUsuarioId());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (tipoDocumentoJaExistentes==null) {
|
||||
tipoDocumento.setIndExibeConfirmacaoTotalbus(chkExibeConfirmacaoTotalbus.isChecked());
|
||||
if (tipoDocumento.getTipoIdentificacionId() == null) {
|
||||
tipoIdentificacionService.suscribir(tipoDocumento);
|
||||
tipoDocumentoList.addItem(tipoDocumento);
|
||||
} else {
|
||||
tipoIdentificacionService.actualizacion(tipoDocumento);
|
||||
tipoDocumentoList.updateItem(tipoDocumento);
|
||||
}
|
||||
|
||||
Messagebox.show(
|
||||
Labels.getLabel("editarClaseServicioController.MSG.suscribirOK"),
|
||||
Labels.getLabel("editarTipoDocumentoController.window.title"),
|
||||
Messagebox.OK, Messagebox.INFORMATION);
|
||||
|
||||
closeWindow();
|
||||
} else {
|
||||
Messagebox.show(
|
||||
Labels.getLabel("MSG.Registro.Existe"),
|
||||
Labels.getLabel("editarTipoDocumentoController.window.title"),
|
||||
Messagebox.OK, Messagebox.EXCLAMATION);
|
||||
}
|
||||
} catch (Exception ex) {
|
||||
log.error("Erro ao editar Tipo de Documento", ex);
|
||||
Messagebox.show(
|
||||
Labels.getLabel("MSG.Error"),
|
||||
Labels.getLabel("editarTipoDocumentoController.window.title"),
|
||||
Messagebox.OK, Messagebox.ERROR);
|
||||
}
|
||||
}
|
||||
|
||||
public void onClick$btnApagar(Event ev) throws InterruptedException {
|
||||
int resp = Messagebox.show(
|
||||
Labels.getLabel("editarTipoDocumentoController.MSG.borrarPergunta"),
|
||||
Labels.getLabel("editarTipoDocumentoController.window.title"),
|
||||
Messagebox.YES | Messagebox.NO, Messagebox.QUESTION);
|
||||
|
||||
if (resp == Messagebox.YES) {
|
||||
tipoIdentificacionService.borrar(tipoDocumento);
|
||||
|
||||
Messagebox.show(
|
||||
Labels.getLabel("editarTipoDocumentoController.MSG.borrarOK"),
|
||||
Labels.getLabel("editarTipoDocumentoController.window.title"),
|
||||
Messagebox.OK, Messagebox.INFORMATION);
|
||||
|
||||
tipoDocumentoList.removeItem(tipoDocumento);
|
||||
closeWindow();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public Button getBtnApagar() {
|
||||
return btnApagar;
|
||||
}
|
||||
|
||||
public void setBtnApagar(Button btnApagar) {
|
||||
this.btnApagar = btnApagar;
|
||||
}
|
||||
|
||||
public List<TipoClasseServicoBPe> getTiposClasseServicoBPe() {
|
||||
return TipoClasseServicoBPe.getList();
|
||||
}
|
||||
|
||||
public TipoIdentificacion getTipoDocumento() {
|
||||
return tipoDocumento;
|
||||
}
|
||||
|
||||
public void setTipoDocumento(TipoIdentificacion tipoDocumento) {
|
||||
this.tipoDocumento = tipoDocumento;
|
||||
}
|
||||
|
||||
public Button getBtnSalvar() {
|
||||
return btnSalvar;
|
||||
}
|
||||
|
||||
public void setBtnSalvar(Button btnSalvar) {
|
||||
this.btnSalvar = btnSalvar;
|
||||
}
|
||||
|
||||
|
||||
}
|
|
@ -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 ItemMenuTipoDocumento extends DefaultItemMenuSistema {
|
||||
|
||||
public ItemMenuTipoDocumento() {
|
||||
super("indexController.mniTipoDocumento.label");
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getClaveMenu() {
|
||||
return "COM.RJCONSULTORES.ADMINISTRACION.GUI.CATALOGO.MENU.TIPODOCUMENTO";
|
||||
}
|
||||
|
||||
@Override
|
||||
public void ejecutar() {
|
||||
PantallaUtileria.openWindow("/gui/catalogos/busquedaTipoDocumento.zul",
|
||||
Labels.getLabel("busquedaTipoDocumentoController.window.title"), getArgs(), desktop);
|
||||
|
||||
}
|
||||
|
||||
}
|
|
@ -2,6 +2,7 @@ catalogos=com.rjconsultores.ventaboletos.web.utilerias.menu.item.catalogos.MenuC
|
|||
catalogos.mensagemRecusa=com.rjconsultores.ventaboletos.web.utilerias.menu.item.catalogos.ItemMenuMensagemRecusa
|
||||
catalogos.claseServicio=com.rjconsultores.ventaboletos.web.utilerias.menu.item.catalogos.ItemMenuClaseServicio
|
||||
catalogos.categoria=com.rjconsultores.ventaboletos.web.utilerias.menu.item.catalogos.ItemMenuCategoria
|
||||
catalogos.tipoDocumento=com.rjconsultores.ventaboletos.web.utilerias.menu.item.catalogos.ItemMenuTipoDocumento
|
||||
catalogos.grupoCategoria=com.rjconsultores.ventaboletos.web.utilerias.menu.item.catalogos.ItemMenuGrupoCategoria
|
||||
catalogos.curso=com.rjconsultores.ventaboletos.web.utilerias.menu.item.catalogos.ItemMenuCurso
|
||||
catalogos.escola=com.rjconsultores.ventaboletos.web.utilerias.menu.item.catalogos.ItemMenuEscola
|
||||
|
|
|
@ -0,0 +1,31 @@
|
|||
/*
|
||||
* To change this template, choose Tools | Templates
|
||||
* and open the template in the editor.
|
||||
*/
|
||||
package com.rjconsultores.ventaboletos.web.utilerias.render;
|
||||
|
||||
import com.rjconsultores.ventaboletos.entidad.ClaseServicio;
|
||||
import com.rjconsultores.ventaboletos.entidad.TipoIdentificacion;
|
||||
|
||||
import org.zkoss.zul.Listcell;
|
||||
import org.zkoss.zul.Listitem;
|
||||
import org.zkoss.zul.ListitemRenderer;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Administrador
|
||||
*/
|
||||
public class RenderTipoIdentificacion implements ListitemRenderer {
|
||||
|
||||
public void render(Listitem lstm, Object o) throws Exception {
|
||||
TipoIdentificacion tipoIdentificacion = (TipoIdentificacion) o;
|
||||
|
||||
Listcell lc = new Listcell(tipoIdentificacion.getTipoIdentificacionId().toString());
|
||||
lc.setParent(lstm);
|
||||
|
||||
lc = new Listcell(tipoIdentificacion.getDesctipo());
|
||||
lc.setParent(lstm);
|
||||
|
||||
lstm.setAttribute("data", tipoIdentificacion);
|
||||
}
|
||||
}
|
|
@ -1939,6 +1939,10 @@ busquedaTipoCortesiaDController.lhDesc.label = Courtesy Type
|
|||
busquedaTipoCortesiaDController.lhId.label = ID
|
||||
busquedaTipoCortesiaDController.lhporDesc.label = Percentage %
|
||||
busquedaTipoCortesiaDController.lhtipoC.label = Description
|
||||
#
|
||||
busquedaTipoDocumentoController.window.title = Identification Type
|
||||
busquedaClaseServicioController.txtTipoDocumento.label=Identification Type
|
||||
|
||||
#Pantalla Pesquisa Tipo Cortesias com Desconto
|
||||
busquedaTipoCortesiaDController.window.title = Discount per type of Courtesy
|
||||
busquedaTipoDomicilioController.btnCerrar.tooltiptext = Close
|
||||
|
@ -1950,6 +1954,17 @@ busquedaTipoDomicilioController.lhDesc.label = Description
|
|||
busquedaTipoDomicilioController.lhId.label = ID
|
||||
busquedaTipoDomicilioController.txtCve.label = Code
|
||||
busquedaTipoDomicilioController.txtNombre.label = Description
|
||||
|
||||
# Tipo de Documento
|
||||
busquedaTipoDocumentoController.window.title = Tipo de Documento
|
||||
busquedaTipoDocumentoController.txtTipoDocumento.label=Tipo de Documento
|
||||
editarTipoDocumentoController.window.title = Tipo de Documento
|
||||
editarTipoDocumentoController.txtTipoDocumento.label= Tipo de Documento
|
||||
editarTipoDocumentoController.txtTipoDocumento.label= Tipo de Documento
|
||||
editarTipoDocumentoController.chkExibeConfirmacaoTotalbus.label = Exibe na tela de confirmação do Totalbus
|
||||
editarTipoDocumentoController.MSG.borrarPergunta = Deseja Eliminar Tipo de Documento?
|
||||
editarTipoDocumentoController.MSG.borrarOK = Tipo de Documento Excluido com Sucesso.
|
||||
|
||||
# Pesquisa Tipo Domicilio
|
||||
busquedaTipoDomicilioController.window.title = Household Type
|
||||
busquedaTipoEventoExtraController.btnCerrar.tooltiptext = Close
|
||||
|
@ -7995,6 +8010,7 @@ indexController.mniTipoConvenio.label = Agreement Type
|
|||
indexController.mniTipoCorte.label = Cashier Closing Shift
|
||||
indexController.mniTipoCortesia.label = Courtesy Type
|
||||
indexController.mniTipoCortesiaD.label = Discount by Type of Courtesy
|
||||
indexController.mniTipoDocumento.label = Identification Type
|
||||
indexController.mniTipoDomicilio.label = Household Type
|
||||
# Tipo Informativo Comissão
|
||||
indexController.mniTipoInformativoComissao.label = Information Type Commission
|
||||
|
|
|
@ -1922,6 +1922,17 @@ busquedaTipoCortesiaController.lblDesc.label = Tipo cortesia
|
|||
busquedaTipoCortesiaController.lhDesc.label = Tipo cortesia
|
||||
busquedaTipoCortesiaController.lhGC.label = Grupo cortesia
|
||||
busquedaTipoCortesiaController.lhId.label = ID
|
||||
|
||||
#Tipo de Documento
|
||||
busquedaTipoDocumentoController.window.title = Tipo de Documento
|
||||
busquedaTipoDocumentoController.txtTipoDocumento.label=Tipo de Documento
|
||||
editarTipoDocumentoController.window.title = Tipo de Documento
|
||||
editarTipoDocumentoController.txtTipoDocumento.label= Tipo de Documento
|
||||
editarTipoDocumentoController.txtTipoDocumento.label= Tipo de Documento
|
||||
editarTipoDocumentoController.chkExibeConfirmacaoTotalbus.label = Exibe na tela de confirmação do Totalbus
|
||||
editarTipoDocumentoController.MSG.borrarPergunta = Deseja Eliminar Tipo de Documento?
|
||||
editarTipoDocumentoController.MSG.borrarOK = Tipo de Documento Excluido com Sucesso.
|
||||
|
||||
#Pantalla Búsqueda Tipo Cortesia
|
||||
busquedaTipoCortesiaController.window.title = Tipo cortesia
|
||||
busquedaTipoCortesiaDController.btnCerrar.tooltiptext = Cerrar
|
||||
|
@ -1936,6 +1947,10 @@ busquedaTipoCortesiaDController.lhDesc.label = Tipo cortesia
|
|||
busquedaTipoCortesiaDController.lhId.label = ID
|
||||
busquedaTipoCortesiaDController.lhporDesc.label = Porcentaje %
|
||||
busquedaTipoCortesiaDController.lhtipoC.label = Descripción
|
||||
#
|
||||
busquedaTipoDocumentoController.window.title = Tipo de Identificacion
|
||||
busquedaTipoDocumentoController.txtTipoDocumento.label=Tipo de Identificacion
|
||||
|
||||
#Pantalla Búsqueda Tipo Cortesias con Descuento
|
||||
busquedaTipoCortesiaDController.window.title = Descuento por tipo de cortesia
|
||||
busquedaTipoDomicilioController.btnCerrar.tooltiptext = Cerrar
|
||||
|
@ -8006,6 +8021,7 @@ indexController.mniTipoConvenio.label = Tipo convenio
|
|||
indexController.mniTipoCorte.label = Turno de cierre de caja
|
||||
indexController.mniTipoCortesia.label = Tipo cortesia
|
||||
indexController.mniTipoCortesiaD.label = Descuento por tipo de cortesia
|
||||
indexController.mniTipoDocumento.label = Tipo de Indentificacion
|
||||
indexController.mniTipoDomicilio.label = Tipo domicilio
|
||||
# Tipo Informativo Comissão
|
||||
indexController.mniTipoInformativoComissao.label = Tipo Informativo Comisión
|
||||
|
|
|
@ -1940,6 +1940,17 @@ busquedaTipoCortesiaDController.lhporDesc.label = Pourcentage %
|
|||
busquedaTipoCortesiaDController.lhtipoC.label = Description
|
||||
#Pantalla Pesquisa Tipo Cortesias com Desconto
|
||||
busquedaTipoCortesiaDController.window.title = Remise par type de courtoisie
|
||||
|
||||
#Tipo de Documento
|
||||
busquedaTipoDocumentoController.window.title = Type de Identificacion
|
||||
busquedaTipoDocumentoController.txtTipoDocumento.label=Type de Identificacion
|
||||
editarTipoDocumentoController.window.title = Type de Identificacion
|
||||
editarTipoDocumentoController.txtTipoDocumento.label= Type de Identificacion
|
||||
editarTipoDocumentoController.txtTipoDocumento.label= Type de Identificacion
|
||||
editarTipoDocumentoController.chkExibeConfirmacaoTotalbus.label = Exibe na tela de confirmação do Totalbus
|
||||
editarTipoDocumentoController.MSG.borrarPergunta = Deseja Eliminar Tipo de Documento?
|
||||
editarTipoDocumentoController.MSG.borrarOK = Tipo de Documento Excluido com Sucesso.
|
||||
|
||||
busquedaTipoDomicilioController.btnCerrar.tooltiptext = Fermer
|
||||
busquedaTipoDomicilioController.btnNovo.tooltiptext = Inclure
|
||||
busquedaTipoDomicilioController.btnPesquisa.label = Recherche
|
||||
|
@ -7995,6 +8006,7 @@ indexController.mniTipoConvenio.label = Type d'accord
|
|||
indexController.mniTipoCorte.label = Quart de fermeture du caissier
|
||||
indexController.mniTipoCortesia.label = Type de courtoisie
|
||||
indexController.mniTipoCortesiaD.label = Remise par type de courtoisie
|
||||
indexController.mniTipoDocumento.label = Type de Identificacion
|
||||
indexController.mniTipoDomicilio.label = Type de ménage
|
||||
# Tipo Informativo Comissão
|
||||
indexController.mniTipoInformativoComissao.label = Commission de type d'informations
|
||||
|
|
|
@ -1939,6 +1939,17 @@ busquedaTipoCortesiaDController.lhDesc.label = Tipo Cortesia
|
|||
busquedaTipoCortesiaDController.lhId.label = ID
|
||||
busquedaTipoCortesiaDController.lhporDesc.label = Porcentagem %
|
||||
busquedaTipoCortesiaDController.lhtipoC.label = Descrição
|
||||
|
||||
#Tipo de Documento
|
||||
busquedaTipoDocumentoController.window.title = Tipo de Documento
|
||||
busquedaTipoDocumentoController.txtTipoDocumento.label=Tipo de Documento
|
||||
editarTipoDocumentoController.window.title = Tipo de Documento
|
||||
editarTipoDocumentoController.txtTipoDocumento.label= Tipo de Documento
|
||||
editarTipoDocumentoController.txtTipoDocumento.label= Tipo de Documento
|
||||
editarTipoDocumentoController.chkExibeConfirmacaoTotalbus.label = Exibe na tela de confirmação do Totalbus
|
||||
editarTipoDocumentoController.MSG.borrarPergunta = Deseja Eliminar Tipo de Documento?
|
||||
editarTipoDocumentoController.MSG.borrarOK = Tipo de Documento Excluido com Sucesso.
|
||||
|
||||
#Pantalla Pesquisa Tipo Cortesias com Desconto
|
||||
busquedaTipoCortesiaDController.window.title = Desconto por tipo de Cortesia
|
||||
busquedaTipoDomicilioController.btnCerrar.tooltiptext = Fechar
|
||||
|
@ -7985,6 +7996,7 @@ indexController.mniTipoConvenio.label = Tipo Convênio
|
|||
indexController.mniTipoCorte.label = Turno de Fechamento de Caixa
|
||||
indexController.mniTipoCortesia.label = Tipo Cortesia
|
||||
indexController.mniTipoCortesiaD.label = Desconto por Tipo de Cortesia
|
||||
indexController.mniTipoDocumento.label = Tipo de Documento
|
||||
indexController.mniTipoDomicilio.label = Tipo Domicilio
|
||||
# Tipo Informativo Comissão
|
||||
indexController.mniTipoInformativoComissao.label = Tipo Informativo Comissão
|
||||
|
|
|
@ -0,0 +1,52 @@
|
|||
<?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="winBusquedaTipoDocumento"?>
|
||||
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
||||
|
||||
<zk xmlns="http://www.zkoss.org/2005/zul">
|
||||
<window id="winBusquedaTipoDocumento" title="${c:l('busquedaTipoDocumentoController.window.title')}" apply="${busquedaTipoDocumentoController}"
|
||||
contentStyle="overflow:auto" height="450px" width="600px" border="normal" >
|
||||
<toolbar>
|
||||
<button id="btnRefresh" image="/gui/img/refresh.png" width="35px"
|
||||
tooltiptext="${c:l('busquedaClaseServicioController.btnRefresh.tooltiptext')}" />
|
||||
<separator orient="vertical" />
|
||||
<button id="btnNovo" image="/gui/img/add.png" width="35px"
|
||||
tooltiptext="${c:l('busquedaClaseServicioController.btnNovo.tooltiptext')}" />
|
||||
<separator orient="vertical" />
|
||||
<button id="btnCerrar" onClick="winBusquedaTipoDocumento.detach()" image="/gui/img/exit.png" width="35px"
|
||||
tooltiptext="${c:l('busquedaClaseServicioController.btnCerrar.tooltiptext')}"/>
|
||||
</toolbar>
|
||||
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
<column width="30%" />
|
||||
<column width="70%" />
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label value="${c:l('busquedaTipoDocumentoController.txtTipoDocumento.label')}"/>
|
||||
<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('busquedaClaseServicioController.btnPesquisa.label')}"/>
|
||||
</toolbar>
|
||||
|
||||
<paging id="pagingTipoIdentificacion" pageSize="20"/>
|
||||
<listbox id="tipoIdentificacionList" use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||
vflex="true" multiple="false" height="80%">
|
||||
<listhead sizable="true">
|
||||
<listheader image="/gui/img/create_doc.gif"
|
||||
label="${c:l('busquedaClaseServicioController.lhId.label')}" width="70px"
|
||||
sort="auto(tipoIdentificacionId)"/>
|
||||
<listheader id="lhDesc" image="/gui/img/create_doc.gif"
|
||||
label="${c:l('busquedaClaseServicioController.lhDesc.label')}"
|
||||
sort="auto(desctipo)"/>
|
||||
</listhead>
|
||||
</listbox>
|
||||
</window>
|
||||
</zk>
|
|
@ -0,0 +1,47 @@
|
|||
<?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="winEditarTipoDocumento"?>
|
||||
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
||||
|
||||
<zk xmlns="http://www.zkoss.org/2005/zul">
|
||||
<window id="winEditarTipoDocumento" border="normal"
|
||||
apply="${editarTipoDocumentoController}"
|
||||
width="400px" height="457x" contentStyle="overflow:auto"
|
||||
title="${c:l('editarTipoDocumentoController.window.title')}">
|
||||
<toolbar>
|
||||
<hbox spacing="5px" style="padding:1px" align="right">
|
||||
<button id="btnApagar" height="20" disabled="false"
|
||||
image="/gui/img/remove.png" width="35px"
|
||||
tooltiptext="${c:l('editarClaseServicioController.btnApagar.tooltiptext')}"/>
|
||||
<button id="btnSalvar" height="20" disabled="false"
|
||||
image="/gui/img/save.png" width="35px"
|
||||
tooltiptext="${c:l('editarClaseServicioController.btnSalvar.tooltiptext')}"/>
|
||||
<button id="btnFechar" height="20"
|
||||
image="/gui/img/exit.png" width="35px"
|
||||
onClick="winEditarTipoDocumento.detach()"
|
||||
tooltiptext="${c:l('editarClaseServicioController.btnFechar.tooltiptext')}"/>
|
||||
</hbox>
|
||||
</toolbar>
|
||||
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
<column width="40%" />
|
||||
<column width="60%" />
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label id="lbNome" value="${c:l('editarTipoDocumentoController.txtTipoDocumento.label')}"/>
|
||||
<textbox id="txtDescTipoDocumento" width="100%" maxlength="30"
|
||||
value="@{winEditarTipoDocumento$composer.tipoDocumento.desctipo}"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
|
||||
</row>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarTipoDocumentoController.chkExibeConfirmacaoTotalbus.label')}" />
|
||||
<checkbox id="chkExibeConfirmacaoTotalbus" />
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
</window>
|
||||
</zk>
|
Loading…
Reference in New Issue