bug#0015875
dev: Wallace qua: xxx git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@98085 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
57b034f7a7
commit
3c427b4f56
|
@ -31,7 +31,6 @@ import com.rjconsultores.ventaboletos.service.EmpresaService;
|
||||||
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
|
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.PagedListWrapper;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@ -50,6 +49,7 @@ public class BusquedaConfTotemController extends MyGenericForwardComposer {
|
||||||
private Checkbox chkPermitirTecladoAlfaNumerico;
|
private Checkbox chkPermitirTecladoAlfaNumerico;
|
||||||
private Checkbox chkPermitirVenda;
|
private Checkbox chkPermitirVenda;
|
||||||
private Checkbox chkTituloInicial;
|
private Checkbox chkTituloInicial;
|
||||||
|
private Checkbox chkSeguroTabela;
|
||||||
private Checkbox chkPermitirImpressao;
|
private Checkbox chkPermitirImpressao;
|
||||||
private Checkbox chkPermitirReserva;
|
private Checkbox chkPermitirReserva;
|
||||||
private static Logger log = Logger.getLogger(BusquedaConfTotemController.class);
|
private static Logger log = Logger.getLogger(BusquedaConfTotemController.class);
|
||||||
|
@ -98,9 +98,10 @@ public class BusquedaConfTotemController extends MyGenericForwardComposer {
|
||||||
chkPermitirTecladoAlfaNumerico.setChecked(StringUtils.isBlank(map.get("isAlphaNumericKeyboard")) ? false : Boolean.parseBoolean(map.get("isAlphaNumericKeyboard")));
|
chkPermitirTecladoAlfaNumerico.setChecked(StringUtils.isBlank(map.get("isAlphaNumericKeyboard")) ? false : Boolean.parseBoolean(map.get("isAlphaNumericKeyboard")));
|
||||||
chkPermitirVenda.setChecked(StringUtils.isBlank(map.get("isVendaHabilitado")) ? false : Boolean.parseBoolean(map.get("isVendaHabilitado")));
|
chkPermitirVenda.setChecked(StringUtils.isBlank(map.get("isVendaHabilitado")) ? false : Boolean.parseBoolean(map.get("isVendaHabilitado")));
|
||||||
chkPermitirImpressao.setChecked(StringUtils.isBlank(map.get("isImpressaoHabilitado")) ? false : Boolean.parseBoolean(map.get("isImpressaoHabilitado")));
|
chkPermitirImpressao.setChecked(StringUtils.isBlank(map.get("isImpressaoHabilitado")) ? false : Boolean.parseBoolean(map.get("isImpressaoHabilitado")));
|
||||||
chkTituloInicial.setChecked(StringUtils.isBlank(map.get("isTituloInicialDesabilitado")) ? false : Boolean.parseBoolean(map.get("isTituloInicialDesabilitado")));
|
|
||||||
chkPermitirReserva.setChecked(StringUtils.isBlank(map.get("isReservaHabilitado")) ? false : Boolean.parseBoolean(map.get("isReservaHabilitado")));
|
chkPermitirReserva.setChecked(StringUtils.isBlank(map.get("isReservaHabilitado")) ? false : Boolean.parseBoolean(map.get("isReservaHabilitado")));
|
||||||
|
chkTituloInicial.setChecked(StringUtils.isBlank(map.get("isTituloInicialDesabilitado")) ? false : Boolean.parseBoolean(map.get("isTituloInicialDesabilitado")));
|
||||||
|
chkSeguroTabela.setChecked(StringUtils.isBlank(map.get("isSeguroTabelaViraOpcional")) ? false : Boolean.parseBoolean(map.get("isSeguroTabelaViraOpcional")));
|
||||||
|
|
||||||
empresaList.setData(lsEmpresas);
|
empresaList.setData(lsEmpresas);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -114,6 +115,7 @@ public class BusquedaConfTotemController extends MyGenericForwardComposer {
|
||||||
refreshLista();
|
refreshLista();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("unchecked")
|
||||||
public void onClick$buttonSalvar(Event ev) throws InterruptedException {
|
public void onClick$buttonSalvar(Event ev) throws InterruptedException {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
@ -198,6 +200,19 @@ public class BusquedaConfTotemController extends MyGenericForwardComposer {
|
||||||
novoItem.setValor(String.valueOf(chkTituloInicial.isChecked()));
|
novoItem.setValor(String.valueOf(chkTituloInicial.isChecked()));
|
||||||
confTotemService.suscribir(novoItem);
|
confTotemService.suscribir(novoItem);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
confTotem = map.get("isSeguroTabelaViraOpcional");
|
||||||
|
if (confTotem != null) {
|
||||||
|
confTotem.setValor(String.valueOf(chkSeguroTabela.isChecked()));
|
||||||
|
confTotem.setFecmodif(new Date());
|
||||||
|
confTotem.setUsuarioId(UsuarioLogado.getUsuarioLogado().getUsuarioId());
|
||||||
|
confTotemService.actualizacion(confTotem);
|
||||||
|
} else {
|
||||||
|
novoItem = new ConfTotem();
|
||||||
|
novoItem.setChave("chkSeguroTabela");
|
||||||
|
novoItem.setValor(String.valueOf(chkSeguroTabela.isChecked()));
|
||||||
|
confTotemService.suscribir(novoItem);
|
||||||
|
}
|
||||||
|
|
||||||
confTotem = map.get("empresasParaVenda");
|
confTotem = map.get("empresasParaVenda");
|
||||||
List<Empresa> lsEmpresas = empresaList.getListData();
|
List<Empresa> lsEmpresas = empresaList.getListData();
|
||||||
|
|
|
@ -21,9 +21,9 @@ import com.rjconsultores.ventaboletos.service.ConexionExcepcionService;
|
||||||
import com.rjconsultores.ventaboletos.service.CorridaService;
|
import com.rjconsultores.ventaboletos.service.CorridaService;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.PagedListWrapper;
|
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderCorridaConexion;
|
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderCorridaConexion;
|
||||||
|
|
||||||
|
@SuppressWarnings({ "unchecked", "rawtypes" })
|
||||||
@Controller("editarConexionExcepcionController")
|
@Controller("editarConexionExcepcionController")
|
||||||
@Scope("prototype")
|
@Scope("prototype")
|
||||||
public class EditarConexionExcepcionController extends MyGenericForwardComposer {
|
public class EditarConexionExcepcionController extends MyGenericForwardComposer {
|
||||||
|
@ -35,8 +35,6 @@ public class EditarConexionExcepcionController extends MyGenericForwardComposer
|
||||||
private ConexionExcepcionService conexionExcepcionService;
|
private ConexionExcepcionService conexionExcepcionService;
|
||||||
@Autowired
|
@Autowired
|
||||||
private CorridaService corridaService;
|
private CorridaService corridaService;
|
||||||
@Autowired
|
|
||||||
private transient PagedListWrapper<Corrida> plwServico;
|
|
||||||
private MyListbox servicoList;
|
private MyListbox servicoList;
|
||||||
private MyListbox servicoListSelList;
|
private MyListbox servicoListSelList;
|
||||||
private Intbox txtCorridaId;
|
private Intbox txtCorridaId;
|
||||||
|
|
|
@ -11,7 +11,6 @@ import java.util.HashMap;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import org.apache.log4j.Logger;
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.context.annotation.Scope;
|
import org.springframework.context.annotation.Scope;
|
||||||
import org.springframework.stereotype.Controller;
|
import org.springframework.stereotype.Controller;
|
||||||
|
@ -36,7 +35,6 @@ import com.rjconsultores.ventaboletos.service.ClaseServicioService;
|
||||||
import com.rjconsultores.ventaboletos.service.MarcaService;
|
import com.rjconsultores.ventaboletos.service.MarcaService;
|
||||||
import com.rjconsultores.ventaboletos.service.MonedaService;
|
import com.rjconsultores.ventaboletos.service.MonedaService;
|
||||||
import com.rjconsultores.ventaboletos.service.RutaService;
|
import com.rjconsultores.ventaboletos.service.RutaService;
|
||||||
import com.rjconsultores.ventaboletos.service.TarifaOficialService;
|
|
||||||
import com.rjconsultores.ventaboletos.utilerias.ApplicationProperties;
|
import com.rjconsultores.ventaboletos.utilerias.ApplicationProperties;
|
||||||
import com.rjconsultores.ventaboletos.utilerias.CustomEnum;
|
import com.rjconsultores.ventaboletos.utilerias.CustomEnum;
|
||||||
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
|
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
|
||||||
|
@ -51,6 +49,7 @@ import com.rjconsultores.ventaboletos.web.utilerias.render.RenderTarifaOficial;
|
||||||
*
|
*
|
||||||
* @author rodrigo
|
* @author rodrigo
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings({"serial","rawtypes","unchecked"})
|
||||||
@Controller("busquedaTarifaOficialController")
|
@Controller("busquedaTarifaOficialController")
|
||||||
@Scope("prototype")
|
@Scope("prototype")
|
||||||
public class BusquedaTarifaOficialController extends MyGenericForwardComposer {
|
public class BusquedaTarifaOficialController extends MyGenericForwardComposer {
|
||||||
|
@ -79,8 +78,6 @@ public class BusquedaTarifaOficialController extends MyGenericForwardComposer {
|
||||||
private RutaService rutaService;
|
private RutaService rutaService;
|
||||||
@Autowired
|
@Autowired
|
||||||
private MonedaService monedaService;
|
private MonedaService monedaService;
|
||||||
@Autowired
|
|
||||||
private TarifaOficialService tarifaOficialService;
|
|
||||||
private List<Marca> lsMarcas;
|
private List<Marca> lsMarcas;
|
||||||
private List<ClaseServicio> lsClaseServico;
|
private List<ClaseServicio> lsClaseServico;
|
||||||
private List<Ruta> lsRuta;
|
private List<Ruta> lsRuta;
|
||||||
|
@ -99,8 +96,6 @@ public class BusquedaTarifaOficialController extends MyGenericForwardComposer {
|
||||||
private Listheader listheaderTPP;
|
private Listheader listheaderTPP;
|
||||||
private Combobox cmbVende;
|
private Combobox cmbVende;
|
||||||
|
|
||||||
private static final Logger log = Logger.getLogger(BusquedaTarifaOficialController.class);
|
|
||||||
|
|
||||||
public Combobox getCmbVigenciaTarifaOficial() {
|
public Combobox getCmbVigenciaTarifaOficial() {
|
||||||
return cmbVigenciaTarifaOficial;
|
return cmbVigenciaTarifaOficial;
|
||||||
}
|
}
|
||||||
|
@ -277,7 +272,6 @@ public class BusquedaTarifaOficialController extends MyGenericForwardComposer {
|
||||||
return tb.getValue().equals("") ? null : tb.getValue();
|
return tb.getValue().equals("") ? null : tb.getValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
|
||||||
private <T> T getIfSelected(Combobox cb) {
|
private <T> T getIfSelected(Combobox cb) {
|
||||||
return (T) (cb.getSelectedItem() == null ? null : cb.getSelectedItem().getValue());
|
return (T) (cb.getSelectedItem() == null ? null : cb.getSelectedItem().getValue());
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,10 +2,7 @@ package com.rjconsultores.ventaboletos.web.gui.controladores.tarifas;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Calendar;
|
import java.util.Calendar;
|
||||||
import java.util.Collections;
|
|
||||||
import java.util.HashMap;
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import java.util.TreeSet;
|
import java.util.TreeSet;
|
||||||
|
|
||||||
|
@ -17,11 +14,7 @@ import org.zkoss.util.resource.Labels;
|
||||||
import org.zkoss.zhtml.Messagebox;
|
import org.zkoss.zhtml.Messagebox;
|
||||||
import org.zkoss.zk.ui.Component;
|
import org.zkoss.zk.ui.Component;
|
||||||
import org.zkoss.zk.ui.event.Event;
|
import org.zkoss.zk.ui.event.Event;
|
||||||
import org.zkoss.zk.ui.event.EventListener;
|
|
||||||
import org.zkoss.zul.Button;
|
import org.zkoss.zul.Button;
|
||||||
import org.zkoss.zul.Intbox;
|
|
||||||
import org.zkoss.zul.Paging;
|
|
||||||
import org.zkoss.zul.Textbox;
|
|
||||||
|
|
||||||
import com.rjconsultores.ventaboletos.entidad.ClaseServicio;
|
import com.rjconsultores.ventaboletos.entidad.ClaseServicio;
|
||||||
import com.rjconsultores.ventaboletos.entidad.OrgaoConcedente;
|
import com.rjconsultores.ventaboletos.entidad.OrgaoConcedente;
|
||||||
|
@ -30,18 +23,15 @@ import com.rjconsultores.ventaboletos.entidad.TaxaEmbarqueKm;
|
||||||
import com.rjconsultores.ventaboletos.service.ClaseServicioService;
|
import com.rjconsultores.ventaboletos.service.ClaseServicioService;
|
||||||
import com.rjconsultores.ventaboletos.service.OrgaoConcedenteService;
|
import com.rjconsultores.ventaboletos.service.OrgaoConcedenteService;
|
||||||
import com.rjconsultores.ventaboletos.service.TarifaKmService;
|
import com.rjconsultores.ventaboletos.service.TarifaKmService;
|
||||||
import com.rjconsultores.ventaboletos.service.TaxaEmbarqueKmService;
|
|
||||||
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
|
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar;
|
import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal;
|
import com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.HibernateSearchObject;
|
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.PagedListWrapper;
|
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.PagedListWrapper;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderTarifaKm;
|
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderTarifaKm;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderTaxaEmbarqueKm;
|
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderTaxaEmbarqueOrgao;
|
|
||||||
|
|
||||||
|
@SuppressWarnings({ "rawtypes", "unchecked" })
|
||||||
@Controller("editarTarifaKmController")
|
@Controller("editarTarifaKmController")
|
||||||
@Scope("prototype")
|
@Scope("prototype")
|
||||||
public class EditarTarifaKmController extends MyGenericForwardComposer {
|
public class EditarTarifaKmController extends MyGenericForwardComposer {
|
||||||
|
@ -51,8 +41,6 @@ public class EditarTarifaKmController extends MyGenericForwardComposer {
|
||||||
private transient PagedListWrapper<OrgaoConcedente> plwOrgao;
|
private transient PagedListWrapper<OrgaoConcedente> plwOrgao;
|
||||||
private MyListbox tarifaKmMyListBox;
|
private MyListbox tarifaKmMyListBox;
|
||||||
private Set<TarifaKm> lsTarifaKm;
|
private Set<TarifaKm> lsTarifaKm;
|
||||||
// private Paging pagingTaxaEmbarqueKm;
|
|
||||||
// private Textbox txtOrgao;
|
|
||||||
private List<ClaseServicio> lsClase;
|
private List<ClaseServicio> lsClase;
|
||||||
@Autowired
|
@Autowired
|
||||||
private ClaseServicioService claseService;
|
private ClaseServicioService claseService;
|
||||||
|
@ -68,18 +56,6 @@ public class EditarTarifaKmController extends MyGenericForwardComposer {
|
||||||
private MyTextboxDecimal txtKm;
|
private MyTextboxDecimal txtKm;
|
||||||
private static Logger log = Logger.getLogger(EditarTarifaKmController.class);
|
private static Logger log = Logger.getLogger(EditarTarifaKmController.class);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// public Textbox getTxtOrgao() {
|
|
||||||
// return txtOrgao;
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// public void setTxtOrgao(Textbox txtOrgao) {
|
|
||||||
// this.txtOrgao = txtOrgao;
|
|
||||||
// }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public List<ClaseServicio> getLsClase() {
|
public List<ClaseServicio> getLsClase() {
|
||||||
return lsClase;
|
return lsClase;
|
||||||
}
|
}
|
||||||
|
@ -157,88 +133,13 @@ public class EditarTarifaKmController extends MyGenericForwardComposer {
|
||||||
@Override
|
@Override
|
||||||
public void doAfterCompose(Component comp) throws Exception {
|
public void doAfterCompose(Component comp) throws Exception {
|
||||||
super.doAfterCompose(comp);
|
super.doAfterCompose(comp);
|
||||||
|
|
||||||
lsClase = claseService.obtenerTodos();
|
lsClase = claseService.obtenerTodos();
|
||||||
|
|
||||||
orgao = orgaoConcedenteService.obtenerID(OrgaoConcedente.CODIGO_ARTESP);//artesp = 21
|
orgao = orgaoConcedenteService.obtenerID(OrgaoConcedente.CODIGO_ARTESP);//artesp = 21
|
||||||
//orgao = orgaoConcedenteService.buscar("ARTESP").get(0);
|
|
||||||
|
|
||||||
tarifaKmMyListBox.setItemRenderer(new RenderTarifaKm());
|
tarifaKmMyListBox.setItemRenderer(new RenderTarifaKm());
|
||||||
//lsTarifaKm = new TreeSet<TarifaKm>();
|
|
||||||
|
|
||||||
tarifaKmMyListBox.setData(new ArrayList());//lsTarifaKm) );
|
tarifaKmMyListBox.setData(new ArrayList());//lsTarifaKm) );
|
||||||
|
|
||||||
// if (orgao != null && orgao.getOrgaoConcedenteId() != null) {
|
|
||||||
//
|
|
||||||
// if(null != cmbClase.getSelectedItem().getValue() &&
|
|
||||||
// (cmbClase.getSelectedItem().getValue() instanceof ClaseServicio) )
|
|
||||||
// {
|
|
||||||
// ClaseServicio c = (ClaseServicio)cmbClase.getSelectedItem().getValue();
|
|
||||||
// }
|
|
||||||
|
|
||||||
// lsTarifaKm = tarifaKmService.buscarPorOrgaoAndClasse(orgao, claseId);
|
|
||||||
// taxaEmbarqueKmArtespList.setData(lsTaxaEmbarqueKmArtesp);
|
|
||||||
// cmbOrgao.setDisabled(Boolean.TRUE);
|
|
||||||
// cmbOrgao.setValue(orgao.getDescOrgao());
|
|
||||||
// }
|
|
||||||
// TaxaEmbarqueKm t = new TaxaEmbarqueKm() ;
|
|
||||||
// lsTaxaEmbarqueKmArtesp.add(t);
|
|
||||||
// taxaEmbarqueKmArtespList.setData(lsTaxaEmbarqueKmArtesp);
|
|
||||||
|
|
||||||
//orgaoConcedenteService.
|
|
||||||
|
|
||||||
//
|
|
||||||
// taxaEmbarqueKmList.setItemRenderer(new RenderTaxaEmbarqueOrgao());
|
|
||||||
// taxaEmbarqueKmList.addEventListener("onDoubleClick", new EventListener() {
|
|
||||||
//
|
|
||||||
// @Override
|
|
||||||
// public void onEvent(Event event) throws Exception {
|
|
||||||
// OrgaoConcedente c = (OrgaoConcedente) taxaEmbarqueKmList.getSelected();
|
|
||||||
// verTaxaEmbarqueKm(c);
|
|
||||||
// }
|
|
||||||
// });
|
|
||||||
//
|
|
||||||
// refreshLista();
|
|
||||||
//
|
|
||||||
// txtOrgao.focus();
|
|
||||||
}
|
|
||||||
|
|
||||||
private void verTaxaEmbarqueKm(OrgaoConcedente o) {
|
|
||||||
// if (o == null) {
|
|
||||||
// return;
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// Map args = new HashMap();
|
|
||||||
// args.put("orgao", o);
|
|
||||||
// args.put("taxaEmbarqueKmList", taxaEmbarqueKmArtespList);
|
|
||||||
//
|
|
||||||
// openWindow("/gui/tarifas/editarTaxaEmbarqueKm.zul",
|
|
||||||
// Labels.getLabel("busquedaTaxaEmbarqueKmController.window.title"),
|
|
||||||
// args, MODAL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void refreshLista() {
|
private void refreshLista() {
|
||||||
|
|
||||||
// HibernateSearchObject<OrgaoConcedente> taxaEmbarqueKmBusqueda = new HibernateSearchObject<OrgaoConcedente>(OrgaoConcedente.class, pagingTaxaEmbarqueKm.getPageSize());
|
|
||||||
//
|
|
||||||
// taxaEmbarqueKmBusqueda.addFilterEqual("activo", Boolean.TRUE);
|
|
||||||
//
|
|
||||||
// if (!txtOrgao.getValue().equals("")) {
|
|
||||||
// taxaEmbarqueKmBusqueda.addFilterLike("descOrgao", "%" + txtOrgao.getText().trim().concat("%"));
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// taxaEmbarqueKmBusqueda.addSortAsc("descOrgao");
|
|
||||||
//
|
|
||||||
// plwOrgao.init(taxaEmbarqueKmBusqueda, taxaEmbarqueKmList, pagingTaxaEmbarqueKm);
|
|
||||||
//
|
|
||||||
// if (taxaEmbarqueKmList.getData().length == 0) {
|
|
||||||
// try {
|
|
||||||
// Messagebox.show(Labels.getLabel("MSG.ningunRegistro"),
|
|
||||||
// Labels.getLabel("busquedaTaxaEmbarqueKmController.window.title"),
|
|
||||||
// Messagebox.OK, Messagebox.INFORMATION);
|
|
||||||
// } catch (InterruptedException ex) {
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void limparInput() {
|
private void limparInput() {
|
||||||
|
@ -412,17 +313,5 @@ public class EditarTarifaKmController extends MyGenericForwardComposer {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void verTaxaEmbarqueKm(TaxaEmbarqueKm tx) {
|
private void verTaxaEmbarqueKm(TaxaEmbarqueKm tx) {
|
||||||
// if (tx == null) {
|
|
||||||
// return;
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// Map args = new HashMap();
|
|
||||||
// args.put("orgao", null);
|
|
||||||
// args.put("taxaEmbarqueKm", tx);
|
|
||||||
// args.put("taxaEmbarqueKmList", taxaEmbarqueKmArtespList);
|
|
||||||
//
|
|
||||||
// openWindow("/gui/tarifas/editarTaxaEmbarqueKm.zul",
|
|
||||||
// Labels.getLabel("busquedaTaxaEmbarqueKmController.window.title"),
|
|
||||||
// args, MODAL);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -8385,4 +8385,6 @@ busquedaConfTotemController.btnRemoveEmpresa.tooltiptext=Remover empresas para v
|
||||||
busquedaConfTotemController.empresa.label=Empresa:
|
busquedaConfTotemController.empresa.label=Empresa:
|
||||||
busquedaConfTotemController.permitirReserva.ajuda=Permitir Reserva.
|
busquedaConfTotemController.permitirReserva.ajuda=Permitir Reserva.
|
||||||
busquedaConfTotemController.tituloInicial.ajuda=Título Inicial.
|
busquedaConfTotemController.tituloInicial.ajuda=Título Inicial.
|
||||||
busquedaConfTotemController.tituloInicial=Título Inicial.
|
busquedaConfTotemController.tituloInicial=Título Inicial.
|
||||||
|
busquedaConfTotemController.seguroTabela.ajuda=Habilita a opção de escolher ou não o seguro de tabela no carrinho de compras do totem. Esta configuração ainda depende do parametro que esta em: ADM > CATALOGOS > PONTO DE VENDA > Aba: Seguro/Taxa de Embarque.
|
||||||
|
busquedaConfTotemController.seguroTabela=Seguro Tabela Opcional.
|
|
@ -8779,6 +8779,8 @@ busquedaConfTotemController.empresa.label=Empresa:
|
||||||
busquedaConfTotemController.permitirReserva.ajuda=Permitir Reserva.
|
busquedaConfTotemController.permitirReserva.ajuda=Permitir Reserva.
|
||||||
busquedaConfTotemController.tituloInicial.ajuda=Título Inicial.
|
busquedaConfTotemController.tituloInicial.ajuda=Título Inicial.
|
||||||
busquedaConfTotemController.tituloInicial=Título Inicial.
|
busquedaConfTotemController.tituloInicial=Título Inicial.
|
||||||
|
busquedaConfTotemController.seguroTabela.ajuda=Habilita a opção de escolher ou não o seguro de tabela no carrinho de compras do totem. Esta configuração ainda depende do parametro que esta em: ADM > CATALOGOS > PONTO DE VENDA > Aba: Seguro/Taxa de Embarque.
|
||||||
|
busquedaConfTotemController.seguroTabela=Seguro Tabela Opcional
|
||||||
|
|
||||||
indexController.mniTrocoSimples.mniRelatorioTrocoSimples.label=Relatório Troco Simples
|
indexController.mniTrocoSimples.mniRelatorioTrocoSimples.label=Relatório Troco Simples
|
||||||
relatorioTrocoSimples.window.title=Relatório Troco Simples
|
relatorioTrocoSimples.window.title=Relatório Troco Simples
|
||||||
|
|
|
@ -34,11 +34,9 @@
|
||||||
|
|
||||||
<hlayout>
|
<hlayout>
|
||||||
|
|
||||||
<checkbox
|
<checkbox id="chkPermitirTecladoAlfaNumerico" />
|
||||||
id="chkPermitirTecladoAlfaNumerico"
|
|
||||||
value="@{winBusquedaConfTotem$composer.empresa.indImprimeGratuidade}" />
|
|
||||||
<image src="/gui/img/Question_mark_1.png"
|
<image src="/gui/img/Question_mark_1.png"
|
||||||
tooltiptext="${c:l('busquedaConfTotemController.permitirImpressaoGratuidade.ajuda')}"
|
tooltiptext="${c:l('busquedaConfTotemController.permitirTecladoAlfaNumerico.ajuda')}"
|
||||||
style="cursor: help" />
|
style="cursor: help" />
|
||||||
|
|
||||||
</hlayout>
|
</hlayout>
|
||||||
|
@ -51,7 +49,7 @@
|
||||||
|
|
||||||
<checkbox id="chkPermitirVenda"></checkbox>
|
<checkbox id="chkPermitirVenda"></checkbox>
|
||||||
<image src="/gui/img/Question_mark_1.png"
|
<image src="/gui/img/Question_mark_1.png"
|
||||||
tooltiptext="${c:l('busquedaConfTotemController.permitirTecladoAlfaNumerico.ajuda')}"
|
tooltiptext="${c:l('busquedaConfTotemController.permitirVenda.ajuda')}"
|
||||||
style="cursor: help" />
|
style="cursor: help" />
|
||||||
|
|
||||||
</hlayout>
|
</hlayout>
|
||||||
|
@ -92,14 +90,29 @@
|
||||||
|
|
||||||
<hlayout>
|
<hlayout>
|
||||||
|
|
||||||
<checkbox id="chkTituloInicial" />
|
<checkbox id="chkTituloInicial"></checkbox>
|
||||||
<image src="/gui/img/Question_mark_1.png"
|
<image src="/gui/img/Question_mark_1.png"
|
||||||
tooltiptext="${c:l('busquedaConfTotemController.tituloInicial.ajuda')}"
|
tooltiptext="${c:l('busquedaConfTotemController.tituloInicial.ajuda')}"
|
||||||
style="cursor: help" />
|
style="cursor: help" />
|
||||||
|
|
||||||
</hlayout>
|
</hlayout>
|
||||||
</groupbox>
|
</groupbox>
|
||||||
|
<groupbox>
|
||||||
|
<caption
|
||||||
|
label="${c:l('busquedaConfTotemController.seguroTabela')}" />
|
||||||
|
|
||||||
|
<hlayout>
|
||||||
|
|
||||||
|
<checkbox id="chkSeguroTabela"></checkbox>
|
||||||
|
<image src="/gui/img/Question_mark_1.png"
|
||||||
|
tooltiptext="${c:l('busquedaConfTotemController.seguroTabela.ajuda')}"
|
||||||
|
style="cursor: help" />
|
||||||
|
|
||||||
|
</hlayout>
|
||||||
|
</groupbox>
|
||||||
|
|
||||||
</row>
|
</row>
|
||||||
|
|
||||||
<row>
|
<row>
|
||||||
|
|
||||||
<groupbox>
|
<groupbox>
|
||||||
|
|
Loading…
Reference in New Issue