diff --git a/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/configuracioneccomerciales/BusquedaMotivoCancelVendaPacoteController.java b/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/configuracioneccomerciales/BusquedaMotivoCancelVendaPacoteController.java new file mode 100644 index 000000000..f63dbe592 --- /dev/null +++ b/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/configuracioneccomerciales/BusquedaMotivoCancelVendaPacoteController.java @@ -0,0 +1,161 @@ +/* + * To change this template, choose Tools | Templates + * and open the template in the editor. + */ +package com.rjconsultores.ventaboletos.web.gui.controladores.configuracioneccomerciales; + +import java.util.HashMap; +import java.util.List; +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.Combobox; +import org.zkoss.zul.Comboitem; +import org.zkoss.zul.Paging; +import org.zkoss.zul.Textbox; + +import com.rjconsultores.ventaboletos.entidad.MotivoCancelVendaPacote; +import com.rjconsultores.ventaboletos.web.gui.controladores.tarifas.EnumTipoCancelVendaPacote; +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.RenderMotivoCancelVendaPacote; + +/** + * + * @author Bruno + */ +@Controller("busquedaMotivoCancelVendaPacoteController") +@Scope("prototype") +public class BusquedaMotivoCancelVendaPacoteController extends MyGenericForwardComposer { + + @Autowired + private transient PagedListWrapper plwMotivoCancelVendaPacote; + private MyListbox motivoCancelVendaPacoteList; + private Paging pagingMotivoCancelVendaPacote; + private Textbox txtNombre; + private Combobox cmbTipoMotivo; + private List lsMotivoCancelamento; + + public Combobox getCmbTipoMotivo() { + return cmbTipoMotivo; + } + + public void setCmbTipoMotivo(Combobox cmbTipoMotivo) { + this.cmbTipoMotivo = cmbTipoMotivo; + } + + public Paging getPagingMotivoCancelVendaPacote() { + return pagingMotivoCancelVendaPacote; + } + + public void setPagingMotivoCancelVendaPacote(Paging pagingMotivoCancelVendaPacote) { + this.pagingMotivoCancelVendaPacote = pagingMotivoCancelVendaPacote; + } + + public MyListbox getMotivoCancelVendaPacoteList() { + return motivoCancelVendaPacoteList; + } + + public void setMotivoCancelVendaPacoteList(MyListbox motivoCancelVendaPacoteList) { + this.motivoCancelVendaPacoteList = motivoCancelVendaPacoteList; + } + + public PagedListWrapper getPlwMotivoCancelVendaPacote() { + return plwMotivoCancelVendaPacote; + } + + public void setPlwMotivoCancelVendaPacote(PagedListWrapper plwMotivoCancelVendaPacote) { + this.plwMotivoCancelVendaPacote = plwMotivoCancelVendaPacote; + } + + public void onClick$btnPesquisa(Event ev) throws InterruptedException { + refreshLista(); + } + + public void onClick$btnRefresh(Event ev) { + refreshLista(); + } + + public void onClick$btnNovo(Event ev) { + verPeriodo(new MotivoCancelVendaPacote()); + } + + @Override + public void doAfterCompose(Component comp) throws Exception { + super.doAfterCompose(comp); + + motivoCancelVendaPacoteList.setItemRenderer(new RenderMotivoCancelVendaPacote()); + setLsMotivoCancelamento(EnumTipoCancelVendaPacote.obterBundleValues()); + lsMotivoCancelamento.add(0, " "); + motivoCancelVendaPacoteList.addEventListener("onDoubleClick", new EventListener() { + + @Override + public void onEvent(Event event) throws Exception { + MotivoCancelVendaPacote mc = (MotivoCancelVendaPacote) motivoCancelVendaPacoteList.getSelected(); + verPeriodo(mc); + } + }); + + refreshLista(); + + txtNombre.focus(); + } + + private void verPeriodo(MotivoCancelVendaPacote mc) { + if (mc == null) { + return; + } + + Map args = new HashMap(); + args.put("motivoCancelVendaPacote", mc); + args.put("motivoCancelVendaPacoteList", motivoCancelVendaPacoteList); + + openWindow("/gui/configuraciones_comerciales/editarMotivoCancelVendaPacote.zul", + Labels.getLabel("editarMotivoCancelVendaPacoteController.window.title"), args, MODAL); + } + + private void refreshLista() { + HibernateSearchObject claseServicioBusqueda = + new HibernateSearchObject(MotivoCancelVendaPacote.class, pagingMotivoCancelVendaPacote.getPageSize()); + + Comboitem ci = cmbTipoMotivo.getSelectedItem(); + String tipoMotivo = null; + if (ci != null && ci.getValue() != " ") { + tipoMotivo = (String) ci.getValue(); + } + + claseServicioBusqueda.addFilterLike("descmotivocancel", "%" + txtNombre.getText().trim().concat("%")); + claseServicioBusqueda.addFilterEqual("tipomotivocancel", tipoMotivo); + claseServicioBusqueda.addFilterEqual("activo", true); + claseServicioBusqueda.addSortAsc("descmotivocancel"); + + plwMotivoCancelVendaPacote.init(claseServicioBusqueda, motivoCancelVendaPacoteList, pagingMotivoCancelVendaPacote); + + if (motivoCancelVendaPacoteList.getData().length == 0) { + try { + Messagebox.show(Labels.getLabel("MSG.ningunRegistro"), + Labels.getLabel("busquedaMotivoCancelVendaPacoteController.window.title"), + Messagebox.OK, Messagebox.INFORMATION); + } catch (InterruptedException ex) { + } + } + } + + public List getLsMotivoCancelamento() { + return lsMotivoCancelamento; + } + + public void setLsMotivoCancelamento(List lsMotivoCancelamento) { + this.lsMotivoCancelamento = lsMotivoCancelamento; + } + +} diff --git a/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/configuracioneccomerciales/EditarMotivoCancelVendaPacoteController.java b/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/configuracioneccomerciales/EditarMotivoCancelVendaPacoteController.java new file mode 100644 index 000000000..b49567956 --- /dev/null +++ b/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/configuracioneccomerciales/EditarMotivoCancelVendaPacoteController.java @@ -0,0 +1,211 @@ +/* + * To change this template, choose Tools | Templates + * and open the template in the editor. + */ +package com.rjconsultores.ventaboletos.web.gui.controladores.configuracioneccomerciales; + +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.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 org.zkoss.zul.Messagebox; +import org.zkoss.zul.Textbox; + +import com.rjconsultores.ventaboletos.entidad.MotivoCancelVendaPacote; +import com.rjconsultores.ventaboletos.service.MotivoCancelVendaPacoteService; +import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado; +import com.rjconsultores.ventaboletos.web.gui.controladores.tarifas.EnumTipoCancelVendaPacote; +import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer; +import com.rjconsultores.ventaboletos.web.utilerias.MyListbox; +import com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal; + +/** + * + * @author Bruno + */ +@Controller("editarMotivoCancelVendaPacoteController") +@Scope("prototype") +public class EditarMotivoCancelVendaPacoteController extends MyGenericForwardComposer { + + private static final long serialVersionUID = 1L; + + @Autowired + private MotivoCancelVendaPacoteService motivoCancelVendaPacoteService; + private MotivoCancelVendaPacote motivoCancelVendaPacote; + private MyListbox motivoCancelVendaPacoteList; + private static Logger log = Logger.getLogger(EditarMotivoCancelVendaPacoteController.class); + private Textbox txtNome; + private Button btnApagar; + private Combobox cmbTipoMotivo; + private MyTextboxDecimal decPorcMulta; + private List lsMotivoCancelamento; + + public Button getBtnApagar() { + return btnApagar; + } + + public void setBtnApagar(Button btnApagar) { + this.btnApagar = btnApagar; + } + + public Textbox getTxtNome() { + return txtNome; + } + + public void setTxtNome(Textbox txtNome) { + this.txtNome = txtNome; + } + public Combobox getCmbTipoMotivo() { + return cmbTipoMotivo; + } + + public void setCmbTipoMotivo(Combobox cmbTipoMotivo) { + this.cmbTipoMotivo = cmbTipoMotivo; + } + + public MyTextboxDecimal getDecPorcMulta() { + return decPorcMulta; + } + + public void setDecPorcMulta(MyTextboxDecimal decPorcMulta) { + this.decPorcMulta = decPorcMulta; + } + + @Override + public void doAfterCompose(Component comp) throws Exception { + super.doAfterCompose(comp); + + motivoCancelVendaPacote = (MotivoCancelVendaPacote) Executions.getCurrent().getArg().get("motivoCancelVendaPacote"); + motivoCancelVendaPacoteList = (MyListbox) Executions.getCurrent().getArg().get("motivoCancelVendaPacoteList"); + setLsMotivoCancelamento(EnumTipoCancelVendaPacote.obterBundleValues()); + txtNome.focus(); + } + + + + + public void onClick$btnSalvar(Event ev) throws InterruptedException { + txtNome.getValue(); + cmbTipoMotivo.getValue(); + decPorcMulta.getValueDecimal(); + try { + motivoCancelVendaPacote.setActivo(true); + motivoCancelVendaPacote.setFecmodif(Calendar.getInstance().getTime()); + motivoCancelVendaPacote.setPorcmulta(decPorcMulta.getValueDecimal()); + motivoCancelVendaPacote.setTipomotivocancel(EnumTipoCancelVendaPacote.obterEnumPorDescricao(cmbTipoMotivo.getValue()).getDescricao()); + + + motivoCancelVendaPacote.setUsuarioId(UsuarioLogado.getUsuarioLogado().getUsuarioId()); + if (motivoCancelVendaPacote.getTipomotivocancel() == null) { + Messagebox.show( + Labels.getLabel("editarMotivoCancelVendaPacoteController.MSG.tipo"), + Labels.getLabel("editarMotivoCancelVendaPacoteController.window.title"), + Messagebox.OK, Messagebox.EXCLAMATION); + } else { + if (motivoCancelVendaPacote.getMotivocancelvendapacoteId() == null) { + List lsMotivoCancelVendaPacote = + motivoCancelVendaPacoteService.buscar(motivoCancelVendaPacote.getDescmotivocancel(), + motivoCancelVendaPacote.getTipomotivocancel()); + + if (lsMotivoCancelVendaPacote.isEmpty()) { + motivoCancelVendaPacoteService.suscribir(motivoCancelVendaPacote); + motivoCancelVendaPacoteList.addItem(motivoCancelVendaPacote); + + Messagebox.show( + Labels.getLabel("editarMotivoCancelVendaPacoteController.MSG.suscribirOK"), + Labels.getLabel("editarMotivoCancelVendaPacoteController.window.title"), + Messagebox.OK, Messagebox.INFORMATION); + } else { + Messagebox.show( + Labels.getLabel("MSG.Registro.Existe"), + Labels.getLabel("editarMotivoCancelVendaPacoteController.window.title"), + Messagebox.OK, Messagebox.EXCLAMATION); + } + } else { + motivoCancelVendaPacoteService.actualizacion(motivoCancelVendaPacote); + motivoCancelVendaPacoteList.updateItem(motivoCancelVendaPacote); + + Messagebox.show( + Labels.getLabel("editarMotivoCancelVendaPacoteController.MSG.suscribirOK"), + Labels.getLabel("editarMotivoCancelaVendaPacoteController.window.title"), + Messagebox.OK, Messagebox.INFORMATION); + } + + closeWindow(); + } + } catch (Exception ex) { + log.error("editarMotivoCancelVendaPacoteController: " + ex); + Messagebox.show( + Labels.getLabel("MSG.Error"), + Labels.getLabel("editarMotivoCancelVendaPacoteController.window.title"), + Messagebox.OK, Messagebox.ERROR); + } + } + + public void onClick$btnApagar(Event ev) { + try { + int resp = Messagebox.show( + Labels.getLabel("editarMotivoCancelVendaPacoteController.MSG.borrarPergunta"), + Labels.getLabel("editarMotivoCancelVendaPacoteController.window.title"), + Messagebox.YES | Messagebox.NO, Messagebox.QUESTION); + + if (resp == Messagebox.YES) { + + motivoCancelVendaPacoteService.borrar(motivoCancelVendaPacote); + + Messagebox.show( + Labels.getLabel("editarMotivoCancelVendaPacoteController.MSG.borrarOK"), + Labels.getLabel("editarMotivoCancelVendaPacoteController.window.title"), + Messagebox.OK, Messagebox.INFORMATION); + + motivoCancelVendaPacoteList.removeItem(motivoCancelVendaPacote); + + closeWindow(); + } + } catch (Exception ex) { + log.error(ex); + } + } + + public MotivoCancelVendaPacote getMotivoCancelVendaPacote() { + return motivoCancelVendaPacote; + } + + public void setMotivoCancelVendaPacote(MotivoCancelVendaPacote motivoCancelVendaPacote) { + this.motivoCancelVendaPacote = motivoCancelVendaPacote; + } + + public MyListbox getMotivoCancelVendaPacoteList() { + return motivoCancelVendaPacoteList; + } + + public void setMotivoCancelVendaPacoteList(MyListbox motivoCancelVendaPacoteList) { + this.motivoCancelVendaPacoteList = motivoCancelVendaPacoteList; + } + + public MotivoCancelVendaPacoteService getMotivoCancelVendaPacoteService() { + return motivoCancelVendaPacoteService; + } + + public void setMotivoCancelVendaPacoteService(MotivoCancelVendaPacoteService motivoCancelVendaPacoteService) { + this.motivoCancelVendaPacoteService = motivoCancelVendaPacoteService; + } + + public List getLsMotivoCancelamento() { + return lsMotivoCancelamento; + } + + public void setLsMotivoCancelamento(List lsMotivoCancelamento) { + this.lsMotivoCancelamento = lsMotivoCancelamento; + } + +} diff --git a/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/tarifas/EnumTipoCancelVendaPacote.java b/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/tarifas/EnumTipoCancelVendaPacote.java new file mode 100644 index 000000000..3fb5a0ff2 --- /dev/null +++ b/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/tarifas/EnumTipoCancelVendaPacote.java @@ -0,0 +1,51 @@ +package com.rjconsultores.ventaboletos.web.gui.controladores.tarifas; + +import java.util.ArrayList; +import java.util.List; + +import org.zkoss.util.resource.Labels; + +public enum EnumTipoCancelVendaPacote { + + + + + CANCELAMENTO_VENDA(Labels.getLabel("busquedaMotivoCancelVendaPacoteController.lhCancelacionVenta.label")), + NOTA_CREDITO(Labels.getLabel("busquedaMotivoCancelVendaPacoteController.lhNotaCredito.label")), + REEMBOLSO(Labels.getLabel("busquedaMotivoCancelVendaPacoteController.lhReembolso .label")); + + private String descricao; + + private EnumTipoCancelVendaPacote(String descricao) { + this.descricao = descricao; + } + + public String getDescricao() { + return descricao; + } + + public void setDescricao(String descricao) { + this.descricao = descricao; + } + + public static List obterBundleValues(){ + List lst = new ArrayList(); + lst.add(EnumTipoCancelVendaPacote.CANCELAMENTO_VENDA.getDescricao()); + lst.add(EnumTipoCancelVendaPacote.NOTA_CREDITO.getDescricao()); + lst.add(EnumTipoCancelVendaPacote.REEMBOLSO.getDescricao()); + + return lst; + } + + public static EnumTipoCancelVendaPacote obterEnumPorDescricao(String descricao){ + if(descricao.equals(EnumTipoCancelVendaPacote.CANCELAMENTO_VENDA.descricao)){ + return EnumTipoCancelVendaPacote.CANCELAMENTO_VENDA; + }else if(descricao.equals(EnumTipoCancelVendaPacote.NOTA_CREDITO.descricao)){ + return EnumTipoCancelVendaPacote.NOTA_CREDITO; + }else if(descricao.equals(EnumTipoCancelVendaPacote.REEMBOLSO.descricao)){ + return EnumTipoCancelVendaPacote.REEMBOLSO; + } + + return null; + } +} \ No newline at end of file diff --git a/src/java/com/rjconsultores/ventaboletos/web/utilerias/menu/item/confcomerciales/ItemMenuMotivoCancelVendaPacote.java b/src/java/com/rjconsultores/ventaboletos/web/utilerias/menu/item/confcomerciales/ItemMenuMotivoCancelVendaPacote.java new file mode 100644 index 000000000..32122ac88 --- /dev/null +++ b/src/java/com/rjconsultores/ventaboletos/web/utilerias/menu/item/confcomerciales/ItemMenuMotivoCancelVendaPacote.java @@ -0,0 +1,26 @@ +package com.rjconsultores.ventaboletos.web.utilerias.menu.item.confcomerciales; + +import org.zkoss.util.resource.Labels; + +import com.rjconsultores.ventaboletos.web.utilerias.PantallaUtileria; +import com.rjconsultores.ventaboletos.web.utilerias.menu.DefaultItemMenuSistema; + +public class ItemMenuMotivoCancelVendaPacote extends DefaultItemMenuSistema { + + public ItemMenuMotivoCancelVendaPacote() { + super("indexController.mniMotivoCancelVendaPacote.label"); + } + + @Override + public String getClaveMenu() { + return "COM.RJCONSULTORES.ADMINISTRACION.GUI.CATALOGO.MENU.MOTIVOSDELACANCELVENDAPACOTE"; + } + + @Override + public void ejecutar() { + PantallaUtileria.openWindow("/gui/configuraciones_comerciales/busquedaMotivoCancelVendaPacote.zul", + Labels.getLabel("busquedaMotivoCancelVendaPacoteController.window.title"), getArgs(), desktop); + + } + +} diff --git a/src/java/com/rjconsultores/ventaboletos/web/utilerias/menu/menu_original.properties b/src/java/com/rjconsultores/ventaboletos/web/utilerias/menu/menu_original.properties index 1ca6bda64..9c85db0a3 100644 --- a/src/java/com/rjconsultores/ventaboletos/web/utilerias/menu/menu_original.properties +++ b/src/java/com/rjconsultores/ventaboletos/web/utilerias/menu/menu_original.properties @@ -49,6 +49,7 @@ confComerciales.configuracionGeneral=com.rjconsultores.ventaboletos.web.utileria confComerciales.configuracionFeriado=com.rjconsultores.ventaboletos.web.utilerias.menu.item.confcomerciales.ItemMenuConfiguracionFeriado confComerciales.tarjetacredito=com.rjconsultores.ventaboletos.web.utilerias.menu.item.confcomerciales.ItemMenuTarjetaCredito confComerciales.fechamentoParamgeral=com.rjconsultores.ventaboletos.web.utilerias.menu.item.confcomerciales.ItemMenuFechamentoParamgeral +confComerciales.motivoCancelVendaPacote=com.rjconsultores.ventaboletos.web.utilerias.menu.item.confcomerciales.ItemMenuMotivoCancelVendaPacote confComerciales.impressaofiscal=com.rjconsultores.ventaboletos.web.utilerias.menu.item.impressaofiscal.SubMenuImpressaoFiscal confComerciales.impressaofiscal.totnaofiscalEmpresa=com.rjconsultores.ventaboletos.web.utilerias.menu.item.impressaofiscal.ItemMenuTotnaofiscalEmpresa confComerciales.impressaofiscal.formapagoEmpresa=com.rjconsultores.ventaboletos.web.utilerias.menu.item.impressaofiscal.ItemMenuFormapagoEmpresa diff --git a/src/java/com/rjconsultores/ventaboletos/web/utilerias/render/RenderMotivoCancelVendaPacote.java b/src/java/com/rjconsultores/ventaboletos/web/utilerias/render/RenderMotivoCancelVendaPacote.java new file mode 100644 index 000000000..00f4b5fc7 --- /dev/null +++ b/src/java/com/rjconsultores/ventaboletos/web/utilerias/render/RenderMotivoCancelVendaPacote.java @@ -0,0 +1,38 @@ +/* + * To change this template, choose Tools | Templates + * and open the template in the editor. + */ +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.MotivoCancelVendaPacote; +import com.rjconsultores.ventaboletos.web.gui.controladores.tarifas.EnumTipoCancelVendaPacote; + +/** + * + * @author Bruno + */ +public class RenderMotivoCancelVendaPacote implements ListitemRenderer { + + public void render(Listitem lstm, Object o) throws Exception { + MotivoCancelVendaPacote motivoCancelVendaPacote = (MotivoCancelVendaPacote) o; + + Listcell lc = new Listcell(motivoCancelVendaPacote.getMotivocancelvendapacoteId().toString()); + lc.setParent(lstm); + + lc = new Listcell(motivoCancelVendaPacote.getDescmotivocancel()); + lc.setParent(lstm); + + + lc = new Listcell(EnumTipoCancelVendaPacote.obterEnumPorDescricao(motivoCancelVendaPacote.getTipomotivocancel()).getDescricao()); + lc.setParent(lstm); + + lc = new Listcell(motivoCancelVendaPacote.getPorcmulta().toString()); + lc.setParent(lstm); + + lstm.setAttribute("data", motivoCancelVendaPacote); + } +} diff --git a/src/java/spring-config.xml b/src/java/spring-config.xml index ad5cea631..d611e3acb 100644 --- a/src/java/spring-config.xml +++ b/src/java/spring-config.xml @@ -162,6 +162,8 @@ com.rjconsultores.ventaboletos.entidad.MotivoCancelacion + com.rjconsultores.ventaboletos.entidad.MotivoCancelVendaPacote + com.rjconsultores.ventaboletos.entidad.MotivocancelacionEquivalencia com.rjconsultores.ventaboletos.entidad.MotivoReimpresion diff --git a/web/WEB-INF/i3-label_es_MX.label b/web/WEB-INF/i3-label_es_MX.label index d08f271b3..52350aaad 100644 --- a/web/WEB-INF/i3-label_es_MX.label +++ b/web/WEB-INF/i3-label_es_MX.label @@ -108,6 +108,7 @@ indexController.mniGeracionCorrida.label = Generación de servicio indexController.mniFormaPago.label = Forma de pago indexController.mniPeriodoVacacional.label = Periodo de vacaciones indexController.mniMotivoCancelacion.label = Motivo de cancelación +indexController.mniMotivoCancelVendaPacote.label = Motivo de cancelación indexController.mniMotivoReimpresion.label = Motivo de la reimpresión indexController.mniCategoria.label = Tipo de pasaje indexController.mniPuntoVenta.label = Punto de venta (Agencias) @@ -727,6 +728,35 @@ busquedaMotivoCancelacionController.lhId.label = ID busquedaMotivoCancelacionController.lhDesc.label = Descripción busquedaMotivoCancelacionController.txtNombre.label = Motivo de Cancelación + +# Pantalla Editar CANCELACION VENDA PACOTE Razón +editarMotivoCancelVendaPacoteController.window.title = Motivo de Cancelación +editarMotivoCancelVendaPacoteController.btnApagar.tooltiptext = Eliminar +editarMotivoCancelVendaPacoteController.btnSalvar.tooltiptext = Guardar +editarMotivoCancelVendaPacoteController.btnFechar.tooltiptext = Cerrar +editarMotivoCancelVendaPacoteController.lbNome.value = Descripción +editarMotivoCancelVendaPacoteController.MSG.suscribirOK = Motivo de Cancelación se Registró Exitosamente +editarMotivoCancelVendaPacoteController.MSG.borrarPergunta = Desea eliminar este motivo de cancelación? +editarMotivoCancelVendaPacoteController.MSG.borrarOK = Motivo de cancelación se eliminó exitosamente +editarMotivoCancelVendaPacoteController.lbtipomotivo.value = Tipo motivo +editarMotivoCancelVendaPacoteController.lbttextoVenda.value = Descripción para reporte de cancelación +editarMotivoCancelVendaPacoteController.MSG.tipo = Necesita informar un tipo motivo +editarMotivoCancelVendaPacoteController.lbPorcMulta.value = Porc. Multa. + +# Muestra a CANCELACION VENDA PACOTE da Búsqueda Razón +busquedaMotivoCancelVendaPacoteController.window.title = Motivo de cancelación +busquedaMotivoCancelVendaPacoteController.btnRefresh.tooltiptext = Actualizar +busquedaMotivoCancelVendaPacoteController.btnNovo.tooltiptext = Incluir +busquedaMotivoCancelVendaPacoteController.btnCerrar.tooltiptext = Cerrar +busquedaMotivoCancelVendaPacoteController.btnPesquisa.label = Búsqueda +busquedaMotivoCancelVendaPacoteController.lhId.label = ID +busquedaMotivoCancelVendaPacoteController.lhDesc.label = Descripción +busquedaMotivoCancelVendaPacoteController.txtNombre.label = Motivo de Cancelación +busquedaMotivoCancelVendaPacoteController.lhCancelacionVenta.label = Cancelamento Venda +busquedaMotivoCancelVendaPacoteController.lhReembolso .label = Reembolso +busquedaMotivoCancelVendaPacoteController.lhNotaCredito.label = Nota Credito + + # Pantalla Editar CANCELACION Razón editarMotivoCancelacionController.window.title = Motivo de Cancelación editarMotivoCancelacionController.btnApagar.tooltiptext = Eliminar diff --git a/web/WEB-INF/i3-label_pt_BR.label b/web/WEB-INF/i3-label_pt_BR.label index cdefa4563..6695db1bd 100644 --- a/web/WEB-INF/i3-label_pt_BR.label +++ b/web/WEB-INF/i3-label_pt_BR.label @@ -110,6 +110,7 @@ indexController.mniGeracionCorrida.label = Geração de Serviço indexController.mniFormaPago.label = Forma de Pagamento indexController.mniPeriodoVacacional.label = Período de Férias indexController.mniMotivoCancelacion.label = Motivo do Cancelamento +indexController.mniMotivoCancelVendaPacote.label = Motivo do Cancelamento Venda Pacote indexController.mniMotivoReimpresion.label = Motivo da Reimpressão indexController.mniCategoria.label = Tipo de Passagem indexController.mniPuntoVenta.label = Ponto de Venda (Agências) @@ -780,6 +781,34 @@ editarMotivoCancelacionController.lbtipomotivo.value = Tipo motivo editarMotivoCancelacionController.lbttextoVenda.value = Descrição para relatório de cancelamento. editarMotivoCancelacionController.MSG.tipo = Necessita informar um tipo motivo. +# Muestra a CANCELACION da Pesquisa Razón +busquedaMotivoCancelVendaPacoteController.window.title = Motivo de Cancelamento +busquedaMotivoCancelVendaPacoteController.btnRefresh.tooltiptext = Atualizar +busquedaMotivoCancelVendaPacoteController.btnNovo.tooltiptext = Incluir +busquedaMotivoCancelVendaPacoteController.btnCerrar.tooltiptext = Fechar +busquedaMotivoCancelVendaPacoteController.btnPesquisa.label = Pesquisa +busquedaMotivoCancelVendaPacoteController.lhId.label = ID +busquedaMotivoCancelVendaPacoteController.lhDesc.label = Descrição +busquedaMotivoCancelVendaPacoteController.txtNombre.label = Motivo de Cancelamento +busquedaMotivoCancelVendaPacoteController.lhCancelacionVenta.label = Cancelamento Venda +busquedaMotivoCancelVendaPacoteController.lhReembolso .label = Reembolso +busquedaMotivoCancelVendaPacoteController.lhNotaCredito.label = Nota Credito +busquedaMotivoCancelVendaPacoteController.lbPorcMulta.value = Porcentagem Multa + +# Pantalla Editar CANCELACION Razón +editarMotivoCancelVendaPacoteController.window.title = Motivo de Cancelamento +editarMotivoCancelVendaPacoteController.btnApagar.tooltiptext = Eliminar +editarMotivoCancelVendaPacoteController.btnSalvar.tooltiptext = Salvar +editarMotivoCancelVendaPacoteController.btnFechar.tooltiptext = Fechar +editarMotivoCancelVendaPacoteController.lbNome.value = Descrição +editarMotivoCancelVendaPacoteController.MSG.suscribirOK = Motivo do cancelamento Registrado com Sucesso. +editarMotivoCancelVendaPacoteController.MSG.borrarPergunta = Deseja Eliminar Este Motivo de Cancelamento? +editarMotivoCancelVendaPacoteController.MSG.borrarOK = Motivo de Cancelamento Excluido com Sucesso. +editarMotivoCancelVendaPacoteController.lbtipomotivo.value = Tipo motivo +editarMotivoCancelVendaPacoteController.lbttextoVenda.value = Descrição para relatório de cancelamento. +editarMotivoCancelVendaPacoteController.MSG.tipo = Necessita informar um tipo motivo. +editarMotivoCancelVendaPacoteController.lbPorcMulta.value = Porcentagem Multa + # Muestra a Reimpresión da Pesquisa Razón busquedaMotivoReimpresionController.window.title = Motivos da reimpressão busquedaMotivoReimpresionController.btnRefresh.tooltiptext = Atualizar @@ -3903,7 +3932,7 @@ busquedaExcepcionPeajeController.lhOrigem.label = Origen busquedaExcepcionPeajeController.lhDestino.label = Destino busquedaExcepcionPeajeController.lhRuta.label = Linha busquedaExcepcionPeajeController.MSG.suscribirOK = Exceção de Pedágio Registrado com Sucesso. -busquedaExcepcionPeajeController.lhId.label +busquedaExcepcionPeajeController.lhId.label = colocar Label # editar ExcepcionPeaje editarExcepcionPeajeController.window.title = Exceção de Pedágio @@ -6712,7 +6741,7 @@ editarLogConferenciaComissaoController.window.title = Lançamento de Observaçõ editarLogConferenciaComissaoController.lhSituacaoLog.value = Situação editarLogConferenciaComissaoController.lhObservacao.value = Observação editarLogConferenciaComissaoController.lhValorLog.value = Valor -editarLogConferenciaComissaoController.btnCerrar.tooltiptext +editarLogConferenciaComissaoController.btnCerrar.tooltiptext = colocar label editarLogConferenciaComissaoController.btnAdicionarObservacaoLog.tooltiptext = Adicionar Observação # Tipo Informativo Comissão diff --git a/web/gui/configuraciones_comerciales/busquedaMotivoCancelVendaPacote.zul b/web/gui/configuraciones_comerciales/busquedaMotivoCancelVendaPacote.zul new file mode 100644 index 000000000..c9e18702c --- /dev/null +++ b/web/gui/configuraciones_comerciales/busquedaMotivoCancelVendaPacote.zul @@ -0,0 +1,66 @@ + + + + + + + + + +