merge master
commit
8b0555cedc
|
@ -0,0 +1 @@
|
|||
docker run -it -p 8080:8080 -p 9990:999name ventaboletosadm --env-file=conf/env-file.env -v /mnt/f/Desenvolvimento/rjconsultores/Adm/VentaBoletosAdm/dist:/home/rjconsultores/dist/:rw fabiomagoo/ventaboletosadm
|
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.119.2</version>
|
||||
<version>1.122.0</version>
|
||||
<packaging>war</packaging>
|
||||
|
||||
<properties>
|
||||
<modelWeb.version>1.91.0</modelWeb.version>
|
||||
<flyway.version>1.78.1</flyway.version>
|
||||
<modelWeb.version>1.94.0</modelWeb.version>
|
||||
<flyway.version>1.81.0</flyway.version>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
</properties>
|
||||
|
||||
|
|
|
@ -96,6 +96,7 @@ import com.rjconsultores.ventaboletos.entidad.EmpresaEmailConfig;
|
|||
import com.rjconsultores.ventaboletos.entidad.EmpresaEmailEComerce;
|
||||
import com.rjconsultores.ventaboletos.entidad.EmpresaEmailFlexBus;
|
||||
import com.rjconsultores.ventaboletos.entidad.EmpresaImposto;
|
||||
import com.rjconsultores.ventaboletos.entidad.EmpresaIziPayConfig;
|
||||
import com.rjconsultores.ventaboletos.entidad.EmpresaMercadoPagoConfig;
|
||||
import com.rjconsultores.ventaboletos.entidad.EmpresaPMArtespConfig;
|
||||
import com.rjconsultores.ventaboletos.entidad.EmpresaRecargaConfig;
|
||||
|
@ -129,6 +130,7 @@ import com.rjconsultores.ventaboletos.service.EmpresaEmailEComerceService;
|
|||
import com.rjconsultores.ventaboletos.service.EmpresaEmailFlexBusService;
|
||||
import com.rjconsultores.ventaboletos.service.EmpresaEmailService;
|
||||
import com.rjconsultores.ventaboletos.service.EmpresaImpostoService;
|
||||
import com.rjconsultores.ventaboletos.service.EmpresaIziPayService;
|
||||
import com.rjconsultores.ventaboletos.service.EmpresaMercadoPagoConfigService;
|
||||
import com.rjconsultores.ventaboletos.service.EmpresaPMArtespConfigService;
|
||||
import com.rjconsultores.ventaboletos.service.EmpresaRecargaService;
|
||||
|
@ -202,6 +204,8 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
|||
@Autowired
|
||||
private EmpresaCieloLinkService empresaCieloLinkService;
|
||||
@Autowired
|
||||
private EmpresaIziPayService empresaIziPayService;
|
||||
@Autowired
|
||||
private EmpresaRecargaService empresaRecargaService;
|
||||
@Autowired
|
||||
private EmpresaSaferConfigService empresaSaferConfigService;
|
||||
|
@ -231,6 +235,7 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
|||
private EmpresaEmailConfig empresaEmailConfig;
|
||||
private EmpresaEmailFlexBus empresaEmailFlexBus;
|
||||
private EmpresaCieloLinkConfig empresaCieloLinkConfig;
|
||||
private EmpresaIziPayConfig empresaIziPayConfig;
|
||||
private EmpresaRecargaConfig empresaRecargaConfig;
|
||||
private EmpresaSaferConfig empresaSaferConfig;
|
||||
private EmpresaAdyenConfig empresaAdyenConfig;
|
||||
|
@ -286,6 +291,12 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
|||
private Textbox txtMinutosCancela;
|
||||
private Textbox txtCieloUrl;
|
||||
|
||||
//IziPay
|
||||
private Textbox txtIziPayClientId;
|
||||
private Textbox txtIziPaySecret;
|
||||
private Textbox txtIziPayDiasCancela;
|
||||
private Textbox txtIziPayUrl;
|
||||
|
||||
//Recarga Celular
|
||||
private Textbox txtRecargaClientId;
|
||||
private Textbox txtRecargaSecret;
|
||||
|
@ -657,6 +668,7 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
|||
if (empresa != null && empresa.getEmpresaId() != null) {
|
||||
empresaEmailFlexBus = empresaEmailFlexBusService.buscarPorEmpresa(empresa);
|
||||
empresaCieloLinkConfig = empresaCieloLinkService.buscarPorEmpresa(empresa).orElse(null);
|
||||
empresaIziPayConfig = empresaIziPayService.buscarPorEmpresa(empresa).orElse(null);
|
||||
empresaRecargaConfig = empresaRecargaService.buscarPorEmpresa(empresa).orElse(null);
|
||||
}
|
||||
|
||||
|
@ -726,6 +738,13 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
|||
txtMinutosCancela.setText(empresaCieloLinkConfig.getMinutosCancela().toString());
|
||||
}
|
||||
|
||||
if (empresaIziPayConfig != null) {
|
||||
txtIziPayClientId.setText(empresaIziPayConfig.getClientId());
|
||||
txtIziPaySecret.setText(empresaIziPayConfig.getSecret());
|
||||
txtIziPayUrl.setText(empresaIziPayConfig.getUrl());
|
||||
txtIziPayDiasCancela.setText(empresaIziPayConfig.getDiasCancela().toString());
|
||||
}
|
||||
|
||||
if (empresaRecargaConfig != null) {
|
||||
txtRecargaClientId.setText(empresaRecargaConfig.getClientId());
|
||||
txtRecargaSecret.setText(empresaRecargaConfig.getSecret());
|
||||
|
@ -1419,6 +1438,16 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
|||
empresaCieloLinkService.actualizacion(empresaCieloLinkConfig);
|
||||
}
|
||||
|
||||
if (empresaIziPayConfig == null) {
|
||||
empresaIziPayConfig = new EmpresaIziPayConfig();
|
||||
empresaIziPayConfig.setEmpresa(empresa);
|
||||
preencheInformacoesIziPayConfig();
|
||||
empresaIziPayConfig = empresaIziPayService.suscribir(empresaIziPayConfig);
|
||||
} else {
|
||||
preencheInformacoesIziPayConfig();
|
||||
empresaIziPayService.actualizacion(empresaIziPayConfig);
|
||||
}
|
||||
|
||||
if (empresaRecargaConfig == null) {
|
||||
empresaRecargaConfig = new EmpresaRecargaConfig();
|
||||
empresaRecargaConfig.setEmpresa(empresa);
|
||||
|
@ -1686,6 +1715,18 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
|||
);
|
||||
}
|
||||
|
||||
private void preencheInformacoesIziPayConfig() {
|
||||
empresaIziPayConfig.setClientId(txtIziPayClientId.getValue());
|
||||
empresaIziPayConfig.setSecret(txtIziPaySecret.getValue());
|
||||
empresaIziPayConfig.setUrl(txtIziPayUrl.getValue());
|
||||
|
||||
empresaIziPayConfig.setDiasCancela(
|
||||
StringUtils.isEmpty(txtIziPayDiasCancela.getValue())?
|
||||
30:
|
||||
Integer.parseInt(txtIziPayDiasCancela.getValue())
|
||||
);
|
||||
}
|
||||
|
||||
private void preencheInformacoesRecargaConfig() {
|
||||
empresaRecargaConfig.setClientId(txtRecargaClientId.getValue());
|
||||
empresaRecargaConfig.setSecret(txtRecargaSecret.getValue());
|
||||
|
|
|
@ -69,6 +69,8 @@ public class BusquedaClienteCorporativoController extends MyGenericForwardCompos
|
|||
return;
|
||||
}
|
||||
|
||||
clienteCorporativoList.getAnnotatedProperties().stream().findFirst();
|
||||
|
||||
Map args = new HashMap();
|
||||
args.put("clienteCorporativo", cc);
|
||||
args.put("clienteCorporativoList", clienteCorporativoList);
|
||||
|
|
|
@ -3,6 +3,7 @@ package com.rjconsultores.ventaboletos.web.gui.controladores.esquemaoperacional;
|
|||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.commons.lang.BooleanUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.Scope;
|
||||
import org.springframework.stereotype.Controller;
|
||||
|
@ -76,7 +77,7 @@ public class EditarAliasClasseController extends MyGenericForwardComposer {
|
|||
aliasClasse = (AliasClasse) Executions.getCurrent().getArg().get("aliasClasse");
|
||||
aliasClasseList = (MyListbox) Executions.getCurrent().getArg().get("aliasClasseList");
|
||||
setLsRuta(buscarRutasPorEmpresaOrgaoConcedenteClaseServicio());
|
||||
chkSomenteImpressao.setChecked(aliasClasse.getIndSomenteImpressao());
|
||||
chkSomenteImpressao.setChecked(BooleanUtils.toBoolean(aliasClasse.getIndSomenteImpressao()));
|
||||
}
|
||||
|
||||
public void onClick$btnSalvar(Event ev) throws InterruptedException {
|
||||
|
|
|
@ -1,14 +1,24 @@
|
|||
package com.rjconsultores.ventaboletos.web.gui.controladores.expressos;
|
||||
|
||||
import java.io.InputStream;
|
||||
|
||||
import org.apache.commons.io.IOUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.Scope;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.zkoss.util.media.Media;
|
||||
import org.zkoss.util.resource.Labels;
|
||||
import org.zkoss.zhtml.Fileupload;
|
||||
import org.zkoss.zk.ui.Component;
|
||||
import org.zkoss.zk.ui.Executions;
|
||||
import org.zkoss.zk.ui.event.Event;
|
||||
import org.zkoss.zk.ui.event.EventListener;
|
||||
import org.zkoss.zul.Messagebox;
|
||||
import org.zkoss.zul.Paging;
|
||||
|
||||
import com.rjconsultores.ventaboletos.entidad.SolicitudExpreso;
|
||||
import com.rjconsultores.ventaboletos.entidad.TrayectosExpresos;
|
||||
import com.rjconsultores.ventaboletos.service.TrayectosExpresosService;
|
||||
import com.rjconsultores.ventaboletos.utilerias.DateUtil;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
||||
|
@ -26,6 +36,9 @@ public class AsignarBusExpresosController extends MyGenericForwardComposer{
|
|||
@Autowired
|
||||
private transient PagedListWrapper<TrayectosExpresos> plwTrayectosExpresos;
|
||||
|
||||
@Autowired
|
||||
TrayectosExpresosService trayectoService;
|
||||
|
||||
MyTextbox txtNumSolicitud;
|
||||
MyTextbox txtRuta;
|
||||
MyTextbox txtIdaRegreso;
|
||||
|
@ -40,6 +53,7 @@ public class AsignarBusExpresosController extends MyGenericForwardComposer{
|
|||
private Paging pagingTrayectosExpresos;
|
||||
|
||||
SolicitudExpreso expreso;
|
||||
TrayectosExpresos trayecto;
|
||||
|
||||
@Override
|
||||
public void doAfterCompose(Component comp) throws Exception {
|
||||
|
@ -47,7 +61,30 @@ public class AsignarBusExpresosController extends MyGenericForwardComposer{
|
|||
|
||||
super.doAfterCompose(comp);
|
||||
|
||||
trayectosList.setItemRenderer(new RenderAsignarBusExpresos(this));
|
||||
trayectosList.setItemRenderer(new RenderAsignarBusExpresos(this, new EventListener() {
|
||||
@Override
|
||||
public void onEvent(Event arg0) throws Exception {
|
||||
trayecto = (TrayectosExpresos)arg0.getTarget().getAttribute("data");
|
||||
|
||||
Media fluec = Fileupload.get();
|
||||
|
||||
if(fluec.getFormat().equalsIgnoreCase("pdf")) {
|
||||
InputStream inputStream = fluec.getStreamData();
|
||||
byte[] bytesIs = IOUtils.toByteArray(inputStream);
|
||||
|
||||
trayecto.setDocFluec(bytesIs);
|
||||
|
||||
trayectoService.actualizacion(trayecto);
|
||||
} else {
|
||||
Messagebox.show(
|
||||
Labels.getLabel("cargaContratoController.MSG.errorFormatoContrato") + " " + fluec,
|
||||
Labels.getLabel("winExpressoCargaContrato.title"),
|
||||
Messagebox.OK, Messagebox.ERROR);
|
||||
}
|
||||
|
||||
refreshLista();
|
||||
}
|
||||
}));
|
||||
|
||||
txtNumSolicitud.setValue(expreso.getSolicitudExpresoId().toString());
|
||||
txtRuta.setValue(expreso.getCiudadOrigen().getNombciudad() + " - " + expreso.getCiudadDestino().getNombciudad());
|
||||
|
@ -66,7 +103,7 @@ public class AsignarBusExpresosController extends MyGenericForwardComposer{
|
|||
new HibernateSearchObject<TrayectosExpresos>(TrayectosExpresos.class, pagingTrayectosExpresos.getPageSize());
|
||||
|
||||
buscarTrayectos.addFilterEqual("solicitudExpresoId.solicitudExpresoId", expreso.getSolicitudExpresoId());
|
||||
buscarTrayectos.addFilterEqual("status", true);
|
||||
buscarTrayectos.addFilterEqual("activo", true);
|
||||
|
||||
plwTrayectosExpresos.init(buscarTrayectos, trayectosList, pagingTrayectosExpresos);
|
||||
}
|
||||
|
|
|
@ -0,0 +1,52 @@
|
|||
package com.rjconsultores.ventaboletos.web.gui.controladores.expressos;
|
||||
|
||||
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.Messagebox;
|
||||
import org.zkoss.zul.Window;
|
||||
|
||||
import com.rjconsultores.ventaboletos.entidad.TrayectosExpresos;
|
||||
import com.rjconsultores.ventaboletos.service.TrayectosExpresosService;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyTextbox;
|
||||
|
||||
@Controller("cargarPlacaBusExpresosController")
|
||||
@Scope("prototype")
|
||||
public class CargarPlacaBusExpresoController extends MyGenericForwardComposer{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Autowired
|
||||
TrayectosExpresosService trayectosExpresosService;
|
||||
|
||||
TrayectosExpresos trayecto;
|
||||
|
||||
private MyTextbox txtRuta;
|
||||
private MyTextbox txtNumPlaca;
|
||||
|
||||
@Override
|
||||
public void doAfterCompose(Component comp) throws Exception {
|
||||
super.doAfterCompose(comp);
|
||||
trayecto = (TrayectosExpresos) Executions.getCurrent().getArg().get("trayecto");
|
||||
//winCotizarExpresso = (Window) Executions.getCurrent().getArg().get("winCotizarExpresso");
|
||||
|
||||
txtRuta.setValue(trayecto.getDescTrayecto() == null ? "" : trayecto.getDescTrayecto());
|
||||
}
|
||||
|
||||
public void onClick$btnGuardar(Event event) throws Exception {
|
||||
if(txtNumPlaca.getValue() == null || txtNumPlaca.getValue() == "") {
|
||||
Messagebox.show(
|
||||
Labels.getLabel("cargaContratoController.MSG.errorNumPlacaInvalidOrNull"),
|
||||
Labels.getLabel("winCargarPlacaBusExpresos.title"),
|
||||
Messagebox.OK, Messagebox.ERROR);
|
||||
}else {
|
||||
trayecto.setNumPlaca(txtNumPlaca.getValue());
|
||||
trayectosExpresosService.actualizacion(trayecto);
|
||||
this.closeWindow();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -2,12 +2,38 @@ package com.rjconsultores.ventaboletos.web.gui.controladores.expressos;
|
|||
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.security.KeyManagementException;
|
||||
import java.security.KeyStoreException;
|
||||
import java.security.NoSuchAlgorithmException;
|
||||
import java.security.cert.CertificateException;
|
||||
import java.security.cert.X509Certificate;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import javax.xml.bind.DatatypeConverter;
|
||||
|
||||
import org.apache.http.client.methods.CloseableHttpResponse;
|
||||
import org.apache.http.client.methods.HttpPost;
|
||||
import org.apache.http.client.methods.HttpUriRequest;
|
||||
import org.apache.commons.codec.binary.Base64;
|
||||
import org.apache.commons.io.IOUtils;
|
||||
import org.apache.commons.lang.StringUtils;
|
||||
import org.apache.http.HttpEntity;
|
||||
import org.apache.http.HttpResponse;
|
||||
import org.apache.http.NameValuePair;
|
||||
import org.apache.http.client.ClientProtocolException;
|
||||
import org.apache.http.client.HttpClient;
|
||||
import org.apache.http.client.entity.UrlEncodedFormEntity;
|
||||
import org.apache.http.conn.ssl.NoopHostnameVerifier;
|
||||
import org.apache.http.entity.mime.MultipartEntityBuilder;
|
||||
import org.apache.http.impl.client.CloseableHttpClient;
|
||||
import org.apache.http.impl.client.HttpClientBuilder;
|
||||
import org.apache.http.impl.client.HttpClients;
|
||||
import org.apache.http.message.BasicNameValuePair;
|
||||
import org.apache.http.ssl.SSLContextBuilder;
|
||||
import org.apache.http.ssl.TrustStrategy;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.Scope;
|
||||
import org.springframework.stereotype.Controller;
|
||||
|
@ -27,10 +53,12 @@ import org.zkoss.zul.Paging;
|
|||
|
||||
import com.rjconsultores.ventaboletos.entidad.Articulo;
|
||||
import com.rjconsultores.ventaboletos.entidad.Ciudad;
|
||||
import com.rjconsultores.ventaboletos.entidad.Constante;
|
||||
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
||||
import com.rjconsultores.ventaboletos.entidad.SolicitudExpreso;
|
||||
import com.rjconsultores.ventaboletos.entidad.TrayectosExpresos;
|
||||
import com.rjconsultores.ventaboletos.service.CiudadService;
|
||||
import com.rjconsultores.ventaboletos.service.ConstanteService;
|
||||
import com.rjconsultores.ventaboletos.service.SolicitudExpresosService;
|
||||
import com.rjconsultores.ventaboletos.service.TrayectosExpresosService;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||
|
@ -39,6 +67,7 @@ import com.rjconsultores.ventaboletos.web.utilerias.MyTextbox;
|
|||
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.HibernateSearchObject;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.PagedListWrapper;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderTrayectosExpreso;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.spring.AppContext;
|
||||
|
||||
@Controller("cotizarExpresoController")
|
||||
@Scope("prototype")
|
||||
|
@ -58,6 +87,9 @@ public class CotizarExpresoController extends MyGenericForwardComposer{
|
|||
@Autowired
|
||||
SolicitudExpresosService solicitudExpresosService;
|
||||
|
||||
@Autowired
|
||||
ConstanteService constanteService;
|
||||
|
||||
SolicitudExpreso expreso;
|
||||
TrayectosExpresos trayecto;
|
||||
|
||||
|
@ -156,7 +188,7 @@ public class CotizarExpresoController extends MyGenericForwardComposer{
|
|||
refreshLista();
|
||||
}
|
||||
|
||||
public void onClick$btnGuardarCotizacion(Event event) throws Exception {
|
||||
public void onClick$btnGuardarCotizacion(Event event) throws KeyManagementException, NoSuchAlgorithmException, KeyStoreException, Exception {
|
||||
if(docCotizacion == null) {
|
||||
Messagebox.show(
|
||||
Labels.getLabel("expresoController.MSG.errorArchivo"),
|
||||
|
@ -166,6 +198,8 @@ public class CotizarExpresoController extends MyGenericForwardComposer{
|
|||
expreso.setDocCotizacion(docCotizacion);
|
||||
expreso.setStatusSolicitudExpresoId(2);
|
||||
solicitudExpresosService.actualizacion(expreso);
|
||||
|
||||
enviarEmail();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -186,6 +220,58 @@ public class CotizarExpresoController extends MyGenericForwardComposer{
|
|||
refreshLista();
|
||||
}
|
||||
|
||||
private void enviarEmail() throws KeyManagementException, NoSuchAlgorithmException, KeyStoreException, ClientProtocolException, IOException, InterruptedException {
|
||||
|
||||
String urlAPIRJ = valorConstante("URL_API_RJ_INFOBIP");
|
||||
String credenciais = valorConstante("CREDENCIAIS_API_RJ");
|
||||
String tenant = valorConstante("TENANT_API_RJ");
|
||||
String empresaId = valorConstante("EMPRESA_NOTIFICACOES_BOLIVARIANO");
|
||||
|
||||
urlAPIRJ = urlAPIRJ.concat("EnviarEmailGenerico");
|
||||
|
||||
CloseableHttpClient httpClient = HttpClients.createDefault();
|
||||
|
||||
HttpPost request = new HttpPost(urlAPIRJ);
|
||||
|
||||
List<NameValuePair> urlParameters = new ArrayList<NameValuePair>();
|
||||
urlParameters.add(new BasicNameValuePair("emailCliente", expreso.getDescEmail()));
|
||||
urlParameters.add(new BasicNameValuePair("assunto", Labels.getLabel("expresoController.MSG.asuntoCorreoCotizacion")));
|
||||
urlParameters.add(new BasicNameValuePair("texto", Labels.getLabel("expresoController.MSG.cuerpoCorreoCotizacion", new Object[] { expreso.getDescNombre() + " " + expreso.getDescApellidos(), "[INSERT LINK HERE]" })));
|
||||
urlParameters.add(new BasicNameValuePair("empresaId", empresaId));
|
||||
|
||||
UrlEncodedFormEntity params = new UrlEncodedFormEntity(urlParameters, "UTF-8");
|
||||
|
||||
request.addHeader("Authorization", "Basic " + new String(Base64.encodeBase64(credenciais.getBytes())));
|
||||
|
||||
if (StringUtils.isNotBlank(tenant)){
|
||||
request.addHeader("x-tenant-id", tenant);
|
||||
}
|
||||
|
||||
request.setEntity(params);
|
||||
|
||||
CloseableHttpResponse response = httpClient.execute(request);
|
||||
|
||||
if(response.getStatusLine().getStatusCode() == 200 && response.getStatusLine().getReasonPhrase().equalsIgnoreCase("OK")) {
|
||||
Messagebox.show(
|
||||
Labels.getLabel("cotizarExpresoController.MSG.emailEnviado"),
|
||||
Labels.getLabel("expresosPorCotizarCotizar.window.title"),
|
||||
Messagebox.OK, Messagebox.INFORMATION);
|
||||
} else {
|
||||
Messagebox.show(
|
||||
Labels.getLabel("cotizarExpresoController.MSG.emailNoEnviado"),
|
||||
Labels.getLabel("expresosPorCotizarCotizar.window.title"),
|
||||
Messagebox.OK, Messagebox.ERROR);
|
||||
}
|
||||
|
||||
this.closeWindow();
|
||||
}
|
||||
|
||||
public String valorConstante(String nombreConstante) {
|
||||
Constante constante = constanteService.buscarPorNomeConstante(nombreConstante);
|
||||
|
||||
return constante != null ? constante.getValorconstante() : null ;
|
||||
}
|
||||
|
||||
public SolicitudExpreso getExpreso() {
|
||||
return expreso;
|
||||
}
|
||||
|
|
|
@ -0,0 +1,152 @@
|
|||
package com.rjconsultores.ventaboletos.web.gui.controladores.expressos;
|
||||
|
||||
import java.io.InputStream;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.commons.io.IOUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.Scope;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.zkoss.util.media.Media;
|
||||
import org.zkoss.util.resource.Labels;
|
||||
import org.zkoss.zhtml.Fileupload;
|
||||
import org.zkoss.zk.ui.Component;
|
||||
import org.zkoss.zk.ui.event.Event;
|
||||
import org.zkoss.zk.ui.event.EventListener;
|
||||
import org.zkoss.zul.Checkbox;
|
||||
import org.zkoss.zul.Combobox;
|
||||
import org.zkoss.zul.Messagebox;
|
||||
import org.zkoss.zul.Paging;
|
||||
|
||||
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
||||
import com.rjconsultores.ventaboletos.entidad.SolicitudExpreso;
|
||||
import com.rjconsultores.ventaboletos.entidad.TrayectosExpresos;
|
||||
import com.rjconsultores.ventaboletos.service.EmpresaService;
|
||||
import com.rjconsultores.ventaboletos.service.SolicitudExpresosService;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyDatebox;
|
||||
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.RenderCumplimientoServicioExpresos;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderDocumentosExpresos;
|
||||
|
||||
@Controller("cumplimientoServicioExpresosController")
|
||||
@Scope("prototype")
|
||||
public class CumplimientoServicioExpresosController extends MyGenericForwardComposer{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Autowired
|
||||
private transient PagedListWrapper<SolicitudExpreso> plwTrayectosExpresos;
|
||||
|
||||
@Autowired
|
||||
private EmpresaService empresaService;
|
||||
|
||||
@Autowired
|
||||
SolicitudExpresosService solicitudExpreso;
|
||||
|
||||
private List<Empresa> lsEmpresa;
|
||||
private Paging pagingExpresos;
|
||||
private Combobox cmbEmpresa;
|
||||
private MyListbox expresosList;
|
||||
private Checkbox ckServiciosInactivos;
|
||||
private MyDatebox txtFechaInicio;
|
||||
private MyDatebox txtFechaFin;
|
||||
|
||||
SolicitudExpreso expreso;
|
||||
|
||||
@Override
|
||||
public void doAfterCompose(Component comp) throws Exception {
|
||||
lsEmpresa = empresaService.obtenerTodos();
|
||||
super.doAfterCompose(comp);
|
||||
|
||||
expresosList.setItemRenderer(new RenderCumplimientoServicioExpresos(new EventListener() {
|
||||
@Override
|
||||
public void onEvent(Event arg0) throws Exception {
|
||||
expreso = (SolicitudExpreso)arg0.getTarget().getAttribute("data");
|
||||
|
||||
Media cumplimiento = Fileupload.get();
|
||||
|
||||
if(cumplimiento.getFormat().equalsIgnoreCase("pdf")) {
|
||||
InputStream inputStream = cumplimiento.getStreamData();
|
||||
byte[] bytesIs = IOUtils.toByteArray(inputStream);
|
||||
|
||||
expreso.setDocCumplimientoServicio(bytesIs);
|
||||
|
||||
solicitudExpreso.actualizacion(expreso);
|
||||
|
||||
refreshLista();
|
||||
} else {
|
||||
Messagebox.show(
|
||||
Labels.getLabel("cargaContratoController.MSG.errorFormatoContrato") + " " + cumplimiento,
|
||||
Labels.getLabel("winExpressoCargaContrato.title"),
|
||||
Messagebox.OK, Messagebox.ERROR);
|
||||
}
|
||||
}
|
||||
}));
|
||||
|
||||
refreshLista();
|
||||
}
|
||||
|
||||
private void refreshLista() {
|
||||
HibernateSearchObject<SolicitudExpreso> buscarExpresos =
|
||||
new HibernateSearchObject<SolicitudExpreso>(SolicitudExpreso.class, pagingExpresos.getPageSize());
|
||||
|
||||
Date fechaInicio = txtFechaInicio.getValue();
|
||||
if(fechaInicio != null) {
|
||||
buscarExpresos.addFilterGreaterOrEqual("FECSOLICITUD", fechaInicio);
|
||||
}
|
||||
|
||||
Date fechaFin = txtFechaFin.getValue();
|
||||
if(fechaFin != null) {
|
||||
buscarExpresos.addFilterLessOrEqual("FECSOLICITUD", fechaFin);
|
||||
}
|
||||
|
||||
if(ckServiciosInactivos.isChecked()) {
|
||||
buscarExpresos.addFilterLessOrEqual("ACTIVO", true);
|
||||
}
|
||||
|
||||
plwTrayectosExpresos.init(buscarExpresos, expresosList, pagingExpresos);
|
||||
}
|
||||
|
||||
public List<Empresa> getLsEmpresa() {
|
||||
return lsEmpresa;
|
||||
}
|
||||
|
||||
public void setLsEmpresa(List<Empresa> lsEmpresa) {
|
||||
this.lsEmpresa = lsEmpresa;
|
||||
}
|
||||
|
||||
public Combobox getCmbEmpresa() {
|
||||
return cmbEmpresa;
|
||||
}
|
||||
|
||||
public void setCmbEmpresa(Combobox cmbEmpresa) {
|
||||
this.cmbEmpresa = cmbEmpresa;
|
||||
}
|
||||
|
||||
public MyListbox getExpresosList() {
|
||||
return expresosList;
|
||||
}
|
||||
|
||||
public void setExpresosList(MyListbox expresosList) {
|
||||
this.expresosList = expresosList;
|
||||
}
|
||||
|
||||
public Paging getPagingExpresos() {
|
||||
return pagingExpresos;
|
||||
}
|
||||
|
||||
public void setPagingExpresos(Paging pagingExpresos) {
|
||||
this.pagingExpresos = pagingExpresos;
|
||||
}
|
||||
|
||||
public PagedListWrapper<SolicitudExpreso> getPlwTrayectosExpresos() {
|
||||
return plwTrayectosExpresos;
|
||||
}
|
||||
|
||||
public void setPlwTrayectosExpresos(PagedListWrapper<SolicitudExpreso> plwTrayectosExpresos) {
|
||||
this.plwTrayectosExpresos = plwTrayectosExpresos;
|
||||
}
|
||||
}
|
|
@ -51,23 +51,7 @@ public class DocumentosExpresosController extends MyGenericForwardComposer{
|
|||
lsEmpresa = empresaService.obtenerTodos();
|
||||
super.doAfterCompose(comp);
|
||||
|
||||
expresosList.setItemRenderer(new RenderDocumentosExpresos(this, new EventListener() {
|
||||
@Override
|
||||
public void onEvent(Event arg0) throws Exception {
|
||||
expreso = (SolicitudExpreso)arg0.getTarget().getAttribute("data");
|
||||
|
||||
//expreso.setStatusSolicitudExpresoId(); -- UPDATE ID SOLICITUD A CRÉDITO
|
||||
|
||||
refreshLista();
|
||||
}
|
||||
}));
|
||||
expresosList.addEventListener("onClick", new EventListener() {
|
||||
|
||||
@Override
|
||||
public void onEvent(Event event) throws Exception {
|
||||
expreso = (SolicitudExpreso) expresosList.getSelected();
|
||||
}
|
||||
});
|
||||
expresosList.setItemRenderer(new RenderDocumentosExpresos(this));
|
||||
|
||||
refreshLista();
|
||||
}
|
||||
|
|
|
@ -24,6 +24,7 @@ import com.rjconsultores.ventaboletos.entidad.Constante;
|
|||
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
||||
import com.rjconsultores.ventaboletos.entidad.FormaPago;
|
||||
import com.rjconsultores.ventaboletos.entidad.GrupoCortesia;
|
||||
import com.rjconsultores.ventaboletos.entidad.SolicitudExpreso;
|
||||
import com.rjconsultores.ventaboletos.entidad.TipoCortesia;
|
||||
import com.rjconsultores.ventaboletos.entidad.TipoIdentificacion;
|
||||
import com.rjconsultores.ventaboletos.entidad.Usuario;
|
||||
|
|
|
@ -23,6 +23,7 @@ import org.zkoss.zul.Button;
|
|||
import org.zkoss.zul.Checkbox;
|
||||
import org.zkoss.zul.Combobox;
|
||||
import org.zkoss.zul.Comboitem;
|
||||
import org.zkoss.zul.Intbox;
|
||||
import org.zkoss.zul.Messagebox;
|
||||
import org.zkoss.zul.Radio;
|
||||
import org.zkoss.zul.Row;
|
||||
|
@ -52,6 +53,8 @@ import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxPuntoVenta;
|
|||
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyTextbox;
|
||||
|
||||
import jxl.biff.IntegerHelper;
|
||||
/**
|
||||
*
|
||||
* @author Rafius
|
||||
|
@ -103,6 +106,7 @@ public class EditarTipoEventoExtraController extends MyGenericForwardComposer {
|
|||
/*Forma de Pagamento*/
|
||||
private Combobox cmbEmpresaFormaPago;
|
||||
private MyListbox formaPagoList;
|
||||
private Intbox intboxIndQuantViasImp;
|
||||
private List<TipoEventoExtraEmpresa> lsTipoEventoExtraEmpresa;
|
||||
|
||||
private static Logger log = LogManager.getLogger(EditarTipoEventoExtraController.class);
|
||||
|
@ -165,8 +169,36 @@ public class EditarTipoEventoExtraController extends MyGenericForwardComposer {
|
|||
lsFormaPago = formaPagoService.obtenerTodos();
|
||||
lsTipoEventoExtraFormaPago = tipoEventoExtra.getTipoeventoextraId() == null ? new ArrayList<TipoEventoExtraFormaPago>() : tipoEventoExtraFormaPagoService.buscarPorTipoEventoExtra(tipoEventoExtra);
|
||||
formaPagoList.setData(lsTipoEventoExtraFormaPago);
|
||||
intboxIndQuantViasImp.setValue(tipoEventoExtra.getIndQuantViasImp() == null ? 1 : tipoEventoExtra.getIndQuantViasImp());
|
||||
intboxIndQuantViasImp.setConstraint(Labels.getLabel("editarFormaPagoController.lbvias.semVazio"));
|
||||
}
|
||||
|
||||
public void onChange$intboxIndQuantViasImp(Event event) throws InterruptedException {
|
||||
validateIntbox();
|
||||
}
|
||||
|
||||
private void validateIntbox() throws InterruptedException {
|
||||
Integer value = intboxIndQuantViasImp.getValue();
|
||||
|
||||
if (value == null) {
|
||||
Messagebox.show(Labels.getLabel("editarFormaPagoController.lbvias.semVazio"), "Erro", Messagebox.OK, Messagebox.INFORMATION);
|
||||
intboxIndQuantViasImp.setValue(1);
|
||||
return;
|
||||
}
|
||||
|
||||
if (value <= 0) {
|
||||
Messagebox.show(Labels.getLabel("editarFormaPagoController.lbvias.semNegativo"), "Erro", Messagebox.OK, Messagebox.INFORMATION);
|
||||
intboxIndQuantViasImp.setValue(1);
|
||||
return;
|
||||
}
|
||||
|
||||
if (value > 5) {
|
||||
Messagebox.show(Labels.getLabel("editarFormaPagoController.lbvias.maxCinco"), "Erro", Messagebox.OK, Messagebox.INFORMATION);
|
||||
intboxIndQuantViasImp.setValue(1);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
public void onClick$btnRemoverEmpresa(Event ev) throws InterruptedException {
|
||||
if (empresasList.getSelectedItem() == null){
|
||||
Messagebox.show(Labels.getLabel("editarTipoEventoExtraController.MSG.selecionarEmpresa"),
|
||||
|
@ -243,6 +275,9 @@ public class EditarTipoEventoExtraController extends MyGenericForwardComposer {
|
|||
tipoEventoExtra.setIndboleto(Boolean.FALSE);// não valida boleto
|
||||
tipoEventoExtra.setPorciva(BigDecimal.ZERO);
|
||||
tipoEventoExtra.setIndtipo(raTipo11.isChecked() ? "1" : "0");
|
||||
tipoEventoExtra.setIndQuantViasImp(intboxIndQuantViasImp.getValue() == null
|
||||
|| intboxIndQuantViasImp.getValue() <= 0
|
||||
? 1 : intboxIndQuantViasImp.getValue());
|
||||
|
||||
Comboitem cbDescontoMonitrip = cmbCveTipoEvento.getSelectedItem();
|
||||
tipoEventoExtra.setCvetipoevento(null);
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
package com.rjconsultores.ventaboletos.web.utilerias.menu.item.expressos;
|
||||
|
||||
import org.zkoss.util.resource.Labels;
|
||||
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.PantallaUtileria;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.menu.DefaultItemMenuSistema;
|
||||
|
||||
public class ItemMenuCumplimientoServicio extends DefaultItemMenuSistema{
|
||||
public ItemMenuCumplimientoServicio() {
|
||||
super("indexController.mniExpressosCumplimientoServicio.label");
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getClaveMenu() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void ejecutar() {
|
||||
PantallaUtileria.openWindow("/gui/expressos/cumplimientoServicioExpreso.zul",
|
||||
Labels.getLabel("indexController.mniExpressosCumplimientoServicio.label"),
|
||||
getArgs(), desktop);
|
||||
}
|
||||
}
|
|
@ -360,7 +360,7 @@ expressos.porCotizar=com.rjconsultores.ventaboletos.web.utilerias.menu.item.expr
|
|||
expressos.cargaContrato=com.rjconsultores.ventaboletos.web.utilerias.menu.item.expressos.ItemMenuCargaContrato
|
||||
expressos.programacionVehiculo=com.rjconsultores.ventaboletos.web.utilerias.menu.item.expressos.ItemMenuProgramacionVehiculo
|
||||
expressos.documentos=com.rjconsultores.ventaboletos.web.utilerias.menu.item.expressos.ItemMenuDocumentos
|
||||
#expressos.cumplimientoServicio=com.rjconsultores.ventaboletos.web.utilerias.menu.item.expressos.ItemMenuCumplimientoServicio
|
||||
expressos.cumplimientoServicio=com.rjconsultores.ventaboletos.web.utilerias.menu.item.expressos.ItemMenuCumplimientoServicio
|
||||
#expressos.log=com.rjconsultores.ventaboletos.web.utilerias.menu.item.expressos.ItemMenuLog
|
||||
#expressos.InformeViajesOcasionales=com.rjconsultores.ventaboletos.web.utilerias.menu.item.expressos.ItemMenuInformeViajesOcasionales
|
||||
#expressos.seguimientoExpresos=com.rjconsultores.ventaboletos.web.utilerias.menu.item.expressos.ItemMenuSeguimientoExpresos
|
||||
|
|
|
@ -1,18 +1,23 @@
|
|||
package com.rjconsultores.ventaboletos.web.utilerias.render;
|
||||
|
||||
import java.io.InputStream;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import org.apache.commons.io.IOUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.zkoss.util.media.AMedia;
|
||||
import org.zkoss.util.media.Media;
|
||||
import org.zkoss.util.resource.Labels;
|
||||
import org.zkoss.zhtml.Filedownload;
|
||||
import org.zkoss.zhtml.Fileupload;
|
||||
import org.zkoss.zk.ui.event.Event;
|
||||
import org.zkoss.zk.ui.event.EventListener;
|
||||
import org.zkoss.zul.Button;
|
||||
import org.zkoss.zul.Listcell;
|
||||
import org.zkoss.zul.Listitem;
|
||||
import org.zkoss.zul.ListitemRenderer;
|
||||
import org.zkoss.zul.Messagebox;
|
||||
|
||||
import com.rjconsultores.ventaboletos.entidad.SolicitudExpreso;
|
||||
import com.rjconsultores.ventaboletos.entidad.TrayectosExpresos;
|
||||
|
@ -23,13 +28,16 @@ import com.rjconsultores.ventaboletos.web.utilerias.PantallaUtileria;
|
|||
|
||||
public class RenderAsignarBusExpresos implements ListitemRenderer {
|
||||
|
||||
EventListener listenerGenerico;
|
||||
|
||||
TrayectosExpresos trayecto;
|
||||
|
||||
AsignarBusExpresosController winAsignarBus;
|
||||
|
||||
public RenderAsignarBusExpresos(AsignarBusExpresosController window) {
|
||||
public RenderAsignarBusExpresos(AsignarBusExpresosController window, EventListener listenerGenerico) {
|
||||
super();
|
||||
winAsignarBus = window;
|
||||
this.listenerGenerico = listenerGenerico;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -59,7 +67,7 @@ public class RenderAsignarBusExpresos implements ListitemRenderer {
|
|||
Map args = new HashMap();
|
||||
args.put("trayecto", trayecto);
|
||||
|
||||
winAsignarBus.openWindow("/gui/expressos/cargarPlacaTrayectoExpreso.zul", Labels.getLabel("asignarBusExpreso.window.title"), args, PantallaUtileria.MODAL);
|
||||
winAsignarBus.openWindow("/gui/expressos/cargarPlacaBusExpreso.zul", Labels.getLabel("asignarBusExpreso.window.title"), args, PantallaUtileria.MODAL);
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -69,39 +77,18 @@ public class RenderAsignarBusExpresos implements ListitemRenderer {
|
|||
lc.setParent(item);
|
||||
}
|
||||
|
||||
lc = new Listcell();
|
||||
lc.setParent(item);
|
||||
|
||||
if(trayectos.getDocFluec() == null) {
|
||||
lc = new Listcell();
|
||||
lc.setParent(item);
|
||||
|
||||
Button btnCargarFluec = new Button(Labels.getLabel("expresosController.lbl.cargarFluec"));
|
||||
btnCargarFluec.addEventListener("onClick", new EventListener() {
|
||||
@Override
|
||||
public void onEvent(Event event) throws Exception {
|
||||
Listitem listItem = (Listitem) event.getTarget().getParent().getParent();
|
||||
trayecto = (TrayectosExpresos)listItem.getAttribute("data");
|
||||
btnCargarFluec.setAttribute("data", data);
|
||||
btnCargarFluec.addEventListener("onClick", listenerGenerico);
|
||||
|
||||
Map args = new HashMap();
|
||||
args.put("trayecto", trayecto);
|
||||
|
||||
winAsignarBus.openWindow("/gui/expressos/cargarFluecTrayectoExpreso.zul", Labels.getLabel("asignarBusExpreso.window.title"), args, PantallaUtileria.MODAL);
|
||||
}
|
||||
});
|
||||
lc.appendChild(btnCargarFluec);
|
||||
lc.appendChild(btnCargarFluec);
|
||||
}else {
|
||||
Button btnVerFluec = new Button(Labels.getLabel("expresosController.lbl.verFluec"));
|
||||
btnVerFluec.addEventListener("onClick", new EventListener() {
|
||||
@Override
|
||||
public void onEvent(Event event) throws Exception {
|
||||
Listitem listItem = (Listitem) event.getTarget().getParent().getParent();
|
||||
trayecto = (TrayectosExpresos)listItem.getAttribute("data");
|
||||
|
||||
AMedia amedia = new AMedia("fluec.pdf", "pdf", null, trayecto.getDocFluec());
|
||||
|
||||
org.zkoss.util.media.Media pdf = amedia;
|
||||
Filedownload.save(pdf);
|
||||
}
|
||||
});
|
||||
lc.appendChild(btnVerFluec);
|
||||
lc = new Listcell(Labels.getLabel("expresosController.lbl.fluecCargado"));
|
||||
lc.setParent(item);
|
||||
}
|
||||
|
||||
item.setAttribute("data", trayectos);
|
||||
|
|
|
@ -0,0 +1,95 @@
|
|||
package com.rjconsultores.ventaboletos.web.utilerias.render;
|
||||
|
||||
import org.zkoss.util.resource.Labels;
|
||||
import org.zkoss.zk.ui.event.EventListener;
|
||||
import org.zkoss.zul.Button;
|
||||
import org.zkoss.zul.Listcell;
|
||||
import org.zkoss.zul.Listitem;
|
||||
import org.zkoss.zul.ListitemRenderer;
|
||||
|
||||
import com.rjconsultores.ventaboletos.entidad.SolicitudExpreso;
|
||||
import com.rjconsultores.ventaboletos.utilerias.DateUtil;
|
||||
|
||||
public class RenderCumplimientoServicioExpresos implements ListitemRenderer {
|
||||
|
||||
EventListener listenerGenerico;
|
||||
|
||||
public RenderCumplimientoServicioExpresos(EventListener listenerGenerico) {
|
||||
super();
|
||||
this.listenerGenerico = listenerGenerico;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void render(Listitem item, Object data) throws Exception {
|
||||
SolicitudExpreso expresos = (SolicitudExpreso) data;
|
||||
|
||||
Listcell lc = new Listcell(expresos.getSolicitudExpresoId().toString());
|
||||
lc.setParent(item);
|
||||
|
||||
lc = new Listcell(DateUtil.getStringDate(expresos.getFechaSolicitud(), "dd/MM/yyyy"));
|
||||
lc.setParent(item);
|
||||
|
||||
String ruta = expresos.getCiudadOrigen().getNombciudad() + " - " + expresos.getCiudadDestino().getNombciudad();
|
||||
lc = new Listcell(ruta);
|
||||
lc.setParent(item);
|
||||
|
||||
if(expresos.getIndViajeRedondo() == false) {
|
||||
lc = new Listcell(Labels.getLabel("expresosController.lbl.ida"));
|
||||
lc.setParent(item);
|
||||
}else if (expresos.getIndViajeRedondo() == true) {
|
||||
lc = new Listcell(Labels.getLabel("expresosController.lbl.idaVuelta"));
|
||||
lc.setParent(item);
|
||||
}else {
|
||||
lc = new Listcell();
|
||||
lc.setParent(item);
|
||||
}
|
||||
|
||||
|
||||
lc = new Listcell(DateUtil.getStringDate(expresos.getFechaHoraIda(), "dd/MM/yyyy HH:mm"));
|
||||
lc.setParent(item);
|
||||
|
||||
lc = new Listcell(DateUtil.getStringDate(expresos.getFechaHoraRegreso(), "dd/MM/yyyy HH:mm"));
|
||||
lc.setParent(item);
|
||||
|
||||
lc = new Listcell(expresos.getDescSitioPartidaIda());
|
||||
lc.setParent(item);
|
||||
|
||||
lc = new Listcell(expresos.getDescSitioPartidaRegreso());
|
||||
lc.setParent(item);
|
||||
|
||||
int estadoExpreso = (expresos.getStatusSolicitudExpresoId() == null ? 0 : expresos.getStatusSolicitudExpresoId());
|
||||
|
||||
switch(estadoExpreso) {
|
||||
case 1:
|
||||
lc = new Listcell(Labels.getLabel("expresosController.lbl.estadoSolicitado"));
|
||||
lc.setParent(item);
|
||||
break;
|
||||
case 2:
|
||||
lc = new Listcell(Labels.getLabel("expresosController.lbl.estadoEnviado"));
|
||||
lc.setParent(item);
|
||||
break;
|
||||
case 3:
|
||||
lc = new Listcell(Labels.getLabel("expresosController.lbl.estadoAceptado"));
|
||||
lc.setParent(item);
|
||||
|
||||
lc = new Listcell();
|
||||
lc.setParent(item);
|
||||
|
||||
Button btnCargarCumplimiento = new Button(Labels.getLabel("expresosController.lbl.btnCargarCumplimientoServicio"));
|
||||
btnCargarCumplimiento.setAttribute("data", data);
|
||||
btnCargarCumplimiento.addEventListener("onClick", listenerGenerico);
|
||||
|
||||
lc.appendChild(btnCargarCumplimiento);
|
||||
|
||||
break;
|
||||
case 4:
|
||||
lc = new Listcell(Labels.getLabel("expresosController.lbl.estadoRechazado"));
|
||||
lc.setParent(item);
|
||||
break;
|
||||
default: break;
|
||||
}
|
||||
|
||||
lc = new Listcell();
|
||||
}
|
||||
|
||||
}
|
|
@ -3,8 +3,10 @@ package com.rjconsultores.ventaboletos.web.utilerias.render;
|
|||
import java.io.ByteArrayInputStream;
|
||||
import java.io.InputStream;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.zkoss.util.media.AMedia;
|
||||
import org.zkoss.util.resource.Labels;
|
||||
import org.zkoss.zhtml.Filedownload;
|
||||
|
@ -16,23 +18,27 @@ import org.zkoss.zul.Listitem;
|
|||
import org.zkoss.zul.ListitemRenderer;
|
||||
|
||||
import com.rjconsultores.ventaboletos.entidad.SolicitudExpreso;
|
||||
import com.rjconsultores.ventaboletos.entidad.TrayectosExpresos;
|
||||
import com.rjconsultores.ventaboletos.service.TrayectosExpresosService;
|
||||
import com.rjconsultores.ventaboletos.utilerias.DateUtil;
|
||||
import com.rjconsultores.ventaboletos.web.gui.controladores.expressos.DocumentosExpresosController;
|
||||
import com.rjconsultores.ventaboletos.web.gui.controladores.expressos.ExpressosPorCotizarController;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.PantallaUtileria;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.spring.AppContext;
|
||||
|
||||
public class RenderDocumentosExpresos implements ListitemRenderer {
|
||||
|
||||
private SolicitudExpreso expreso;
|
||||
private List<TrayectosExpresos> trayectos;
|
||||
|
||||
private EventListener listenerGenerico;
|
||||
@Autowired
|
||||
TrayectosExpresosService trayectosServices;
|
||||
|
||||
DocumentosExpresosController winDocumentosExpresosController;
|
||||
|
||||
public RenderDocumentosExpresos(DocumentosExpresosController window, EventListener listenerGenerico) {
|
||||
public RenderDocumentosExpresos(DocumentosExpresosController window) {
|
||||
super();
|
||||
winDocumentosExpresosController = window;
|
||||
this.listenerGenerico = listenerGenerico;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -87,47 +93,58 @@ public class RenderDocumentosExpresos implements ListitemRenderer {
|
|||
lc = new Listcell();
|
||||
lc.setParent(item);
|
||||
|
||||
Button btnVerContrato = new Button("");
|
||||
Button btnVerContrato = new Button(Labels.getLabel("expresosController.lbl.btnVerContrato"));
|
||||
btnVerContrato.addEventListener("onClick", new EventListener() {
|
||||
@Override
|
||||
public void onEvent(Event event) throws Exception {
|
||||
Listitem listItem = (Listitem) event.getTarget().getParent().getParent();
|
||||
expreso = (SolicitudExpreso)listItem.getAttribute("data");
|
||||
|
||||
AMedia amedia = new AMedia("contrato.pdf", "pdf", null, expreso.getDocContrato());
|
||||
if(expreso.getDocContrato() != null) {
|
||||
AMedia amedia = new AMedia("CONTRATO - EXPRESO " + expreso.getSolicitudExpresoId() + ".pdf", "pdf", null, expreso.getDocContrato());
|
||||
|
||||
org.zkoss.util.media.Media pdf = amedia;
|
||||
Filedownload.save(pdf);
|
||||
org.zkoss.util.media.Media pdf = amedia;
|
||||
Filedownload.save(pdf);
|
||||
}
|
||||
}
|
||||
});
|
||||
lc.appendChild(btnVerContrato);
|
||||
|
||||
Button btnVerFluec = new Button("");
|
||||
btnVerFluec.addEventListener("onClick", new EventListener() {
|
||||
Button btnVerFuec = new Button(Labels.getLabel("expresosController.lbl.btnVerFuec"));
|
||||
btnVerFuec.addEventListener("onClick", new EventListener() {
|
||||
@Override
|
||||
public void onEvent(Event event) throws Exception {
|
||||
Listitem listItem = (Listitem) event.getTarget().getParent().getParent();
|
||||
expreso = (SolicitudExpreso)listItem.getAttribute("data");
|
||||
|
||||
//trayectos = trayectosServices.obtenerTrayectosPorServicioId(expreso);
|
||||
|
||||
TrayectosExpresosService trayectosServices = (TrayectosExpresosService)AppContext.getApplicationContext().getBean("trayectosExpresosService");
|
||||
trayectos = trayectosServices.obtenerTrayectosPorServicioId(expreso);
|
||||
|
||||
for(TrayectosExpresos trayecto: trayectos) {
|
||||
if(trayecto.getDocFluec() != null) {
|
||||
AMedia amedia = new AMedia("FLUEC - TRAYECTO " + trayecto.getTrayectoExpresoId() + ".pdf", "pdf", null, trayecto.getDocFluec());
|
||||
org.zkoss.util.media.Media pdf = amedia;
|
||||
Filedownload.save(pdf);
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
lc.appendChild(btnVerFluec);
|
||||
lc.appendChild(btnVerFuec);
|
||||
|
||||
Button btnVerPlanilla = new Button("");
|
||||
btnVerPlanilla.addEventListener("onClick", new EventListener() {
|
||||
@Override
|
||||
public void onEvent(Event event) throws Exception {
|
||||
Listitem listItem = (Listitem) event.getTarget().getParent().getParent();
|
||||
expreso = (SolicitudExpreso)listItem.getAttribute("data");
|
||||
}
|
||||
});
|
||||
lc.appendChild(btnVerPlanilla);
|
||||
|
||||
Button btnVerListaPasajeros = new Button("");
|
||||
Button btnVerListaPasajeros = new Button(Labels.getLabel("expresosController.lbl.btnVerListaPasajeros"));
|
||||
btnVerListaPasajeros.addEventListener("onClick", new EventListener() {
|
||||
@Override
|
||||
public void onEvent(Event event) throws Exception {
|
||||
Listitem listItem = (Listitem) event.getTarget().getParent().getParent();
|
||||
expreso = (SolicitudExpreso)listItem.getAttribute("data");
|
||||
|
||||
if(expreso.getDocListaPasajeros() != null) {
|
||||
AMedia amedia = new AMedia("LISTA DE PASAJEROS - EXPRESO " + expreso.getStatusSolicitudExpresoId() + ".pdf", "pdf", null, expreso.getDocListaPasajeros());
|
||||
org.zkoss.util.media.Media pdf = amedia;
|
||||
Filedownload.save(pdf);
|
||||
}
|
||||
}
|
||||
});
|
||||
lc.appendChild(btnVerListaPasajeros);
|
||||
|
|
|
@ -40,6 +40,9 @@ public class RenderExpresosPorCotizar implements ListitemRenderer {
|
|||
@Autowired
|
||||
SolicitudExpresosService expresosService;
|
||||
|
||||
@Autowired
|
||||
ConstanteService constanteService;
|
||||
|
||||
public RenderExpresosPorCotizar(ExpressosPorCotizarController window) {
|
||||
super();
|
||||
expresosControllerWindow = window;
|
||||
|
@ -133,19 +136,17 @@ public class RenderExpresosPorCotizar implements ListitemRenderer {
|
|||
|
||||
lc.appendChild(btnCotizar); break;
|
||||
case 2:
|
||||
|
||||
ConstanteService constanteService = (ConstanteService) AppContext.getApplicationContext().getBean("constanteService");
|
||||
String pagoCreditoConstante = constanteService.buscarPorNomeConstante("FORMAPAGOCREDITO_ID").getValorconstante();
|
||||
Constante constante = constanteService.buscarPorNomeConstante("FORMAPAGOCREDITO_ID");
|
||||
String pagoCreditoConstante = constante == null ? "" : constante.getValorconstante();
|
||||
|
||||
if(expresos.getFormaPagoId() == null || expresos.getFormaPagoId() != Integer.valueOf(pagoCreditoConstante)) {
|
||||
Button btnPagoCredito = new Button("Pago Crédito");
|
||||
Button btnPagoCredito = new Button(Labels.getLabel("expressosPorCotizarPagoCreditoController.lblDesc.label"));
|
||||
|
||||
btnPagoCredito.setAttribute("data", data);
|
||||
btnPagoCredito.addEventListener("onClick", new EventListener() {
|
||||
@Override
|
||||
public void onEvent(Event event) throws Exception {
|
||||
Listitem listItem = (Listitem) event.getTarget().getParent().getParent();
|
||||
SolicitudExpresosService solicitudExpresosService = (SolicitudExpresosService) AppContext.getApplicationContext().getBean("solicitudExpresosService");
|
||||
expreso = (SolicitudExpreso)listItem.getAttribute("data");
|
||||
|
||||
usuario = UsuarioLogado.getUsuarioLogado();
|
||||
|
@ -154,7 +155,7 @@ public class RenderExpresosPorCotizar implements ListitemRenderer {
|
|||
expreso.setUsuarioAutorizaCredito(usuario.getUsuarioId());
|
||||
expreso.setFechaHoraAutorizaCredito(Calendar.getInstance().getTime());
|
||||
|
||||
solicitudExpresosService.actualizacion(expreso);
|
||||
expresosService.actualizacion(expreso);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
@ -432,6 +432,7 @@
|
|||
<value>com.rjconsultores.ventaboletos.entidad.HistoricoFormaPagoPuntoVenta</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.EmpresaAdyenConfig</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.EmpresaCieloLinkConfig</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.EmpresaIziPayConfig</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.EmpresaRecargaConfig</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.EmpresaMercadoPagoConfig</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.GP_PricingEspecifico</value>
|
||||
|
|
|
@ -2428,6 +2428,7 @@ corteTurnoRecaudacionController.TotalPago.label = Total Paid
|
|||
corteTurnoRecaudacionController.Turno.label = Shift
|
||||
# COrte de Turno Recaudação
|
||||
corteTurnoRecaudacionController.title = Shift Cut
|
||||
cotizarExpresoController.MSG.emailEnviado = Correct Express Quote
|
||||
customController.MSG.borrarOK = Customization Deleted Successfully.
|
||||
customController.MSG.borrarPergunta = Delete customization?
|
||||
customController.MSG.modificar = Careful! By changing this value the system will be modified automatically.
|
||||
|
@ -4668,6 +4669,7 @@ editarEmpresaController.lblCodigoContratoSafer.value = Contract code
|
|||
editarEmpresaController.lblCodigoSafer.value = Partner code
|
||||
editarEmpresaController.lblComprovanteTipoIntegracao.value = Integration Type
|
||||
editarEmpresaController.lblCrediBanco.value = CreditBanco
|
||||
editarEmpresaController.lblDiasCancela.value = Cancellation Days
|
||||
editarEmpresaController.lblFiliation.value = Affiliation
|
||||
editarEmpresaController.lblGrantType.value = Grant Type
|
||||
editarEmpresaController.lblIdExternoMercadoPago.value = External ID
|
||||
|
@ -5077,7 +5079,6 @@ editarFechamentoParamgeralController.MSG.empresaNaoInformada = Necessary to info
|
|||
editarFechamentoParamgeralController.MSG.suscribirOK = Cta Cte and Boletoo Closing Configuration saved successfully.
|
||||
# Editar Configuração de Boleto
|
||||
editarFechamentoParamgeralController.window.title = Cta Cte and Boleto Closing Configuration - Edit General Parameter
|
||||
editarFormAutorizacaoController.MSG.borrarOK = Record deleted successfully.
|
||||
editarFormAutorizacaoController.MSG.borrarPergunta = Do you want to delete this record ?
|
||||
editarFormAutorizacaoController.window.title = Authorization Form
|
||||
editarFormaPagoController.MSG.borrarOK = Payment Method Deleted Successfully.
|
||||
|
@ -5101,6 +5102,7 @@ editarFormaPagoController.lblAtivaProcessoEstorno.label = Activates chargeback p
|
|||
editarFormaPagoController.lblBoletoAberto.label = Open Slip
|
||||
editarFormaPagoController.lblCarteiraDigital.label = Digital Wallet
|
||||
editarFormaPagoController.lblCateiraDigitalCielo.label = Cielo Link
|
||||
editarFormaPagoController.lblCateiraDigitalIziPay.label = IziPay
|
||||
editarFormaPagoController.lblCateiraDigitalTef.label = TEF
|
||||
editarFormaPagoController.lblCateiraDigitalTpi.label = TPI
|
||||
editarFormaPagoController.lblCateiraDigitalTrocoSimples.label = Simple Change
|
||||
|
@ -7310,10 +7312,22 @@ estacionServiceImpl.msg.macDuplicado = Mac or IMEI already registered for anothe
|
|||
estacionServiceImpl.msg.macDuplicado.descricaoEstacao = Station Name:
|
||||
estacionServiceImpl.msg.macDuplicado.numeroCaixa = Box Number:
|
||||
estacionServiceImpl.msg.noChequeFolioPreimpresos = The company requested to configure a Fiscal Printer already has stock for the station. Operation cancelled.
|
||||
expresoController.MSG.asuntoCorreoCotizacion = Quoted Express Request
|
||||
expresoController.MSG.cuerpoCorreoCotizacion = Dear {0}, the express request has been quoted, in the following link {1} you can accept the quote and make the payment.
|
||||
expresoController.MSG.emailNoEnviado = There's been a problem. Please check logs
|
||||
expresoController.MSG.errorArchivo = Invalid or null file
|
||||
expresosController.lbl.asignarBus = Assign Bus
|
||||
expresosController.lbl.btnCargarCumplimientoServicio = Attach Document
|
||||
expresosController.lbl.btnVerContrato = See Contract
|
||||
expresosController.lbl.btnVerFuec = See FUEC/Template
|
||||
expresosController.lbl.btnVerListaPasajeros = See Passenger List
|
||||
expresosController.lbl.btnVerPlanilla = See Template
|
||||
expresosController.lbl.cargarFluec = Load FLUEC
|
||||
expresosController.lbl.cargarPlaca = Load Plate
|
||||
expresosController.lbl.estadoAceptado = Acepted
|
||||
expresosController.lbl.estadoEnviado = Send
|
||||
expresosController.lbl.estadoRechazado = Rejected
|
||||
expresosController.lbl.estadoSolicitado = Required
|
||||
expresosController.lbl.idaVuelta = Going
|
||||
expresosController.lbl.pagadoCredito = Paid on Credit
|
||||
expresosController.lbl.verDetalle = See detail
|
||||
|
@ -7329,6 +7343,7 @@ expressosPorCotizarController.lhCantidadPasajeros.label = Number of Passengers
|
|||
expressosPorCotizarController.lhCantidadVehiculos.label = Vehicle Quantity
|
||||
expressosPorCotizarController.lhCodigoViaje.label = Trip Code
|
||||
expressosPorCotizarController.lhEstadiaConductor.label = Driver Stay
|
||||
expressosPorCotizarController.lhEstado.label = State
|
||||
expressosPorCotizarController.lhFechaIda.label = Departure date
|
||||
expressosPorCotizarController.lhFechaRegreso.label = Return Date
|
||||
expressosPorCotizarController.lhFechaSolicitud.label = Application date
|
||||
|
@ -7705,6 +7720,7 @@ indexController.mniExcepcionRedondo.label = Round Trip Exception
|
|||
indexController.mniExportacaoFiscalECF.label = ECF
|
||||
indexController.mniExportacaoFiscalRMD.label = RMD
|
||||
indexController.mniExpressosCargaContrato.label = Contract Charge
|
||||
indexController.mniExpressosCumplimientoServicio.label = Service Compliance
|
||||
indexController.mniExpressosDocumentos.label = Documents
|
||||
indexController.mniExpressosPorCotizar.label = Express to be quoted
|
||||
indexController.mniExpressosProgramacionVehiculos.label = Vehicle Programming
|
||||
|
@ -8105,6 +8121,7 @@ label.classePagamento.credito = In sight
|
|||
label.classeServico = Class Type
|
||||
label.clienteCorporativo = Corporate Customer
|
||||
label.complemento = Complement
|
||||
label.configuracaoIziPay = IziPay
|
||||
label.credito = Credit
|
||||
label.criacao = Creation
|
||||
label.dataFinal = End Date
|
||||
|
@ -8178,6 +8195,7 @@ label.tipoTarifa = Rate Type
|
|||
label.tipoTarifa.fixa = Fixed
|
||||
label.tipoTarifa.variavel = Variable
|
||||
label.transportadora = Carrier
|
||||
label.url = URL
|
||||
label.valor = Value
|
||||
label.valorContrato = Contract Value
|
||||
label.valorLegalizado = Legalized Value
|
||||
|
@ -8200,7 +8218,6 @@ lb.filtro.linha = Line:
|
|||
lb.filtro.orgaoConcedente = Granting Body:
|
||||
lb.filtro.pdv = Agency:
|
||||
lb.filtro.usuario = User:
|
||||
# Labels Default
|
||||
lb.id = ID
|
||||
lb.numBpe = BP-e number
|
||||
lb.puntoVentaSelList.codigo = Code
|
||||
|
|
|
@ -2423,6 +2423,7 @@ corteTurnoRecaudacionController.TotalPago.label = Total pagado
|
|||
corteTurnoRecaudacionController.Turno.label = Turno
|
||||
# COrte de Turno recaudación
|
||||
corteTurnoRecaudacionController.title = Corte de Turno
|
||||
cotizarExpresoController.MSG.emailEnviado = Cotización de Expreso Correcta
|
||||
customController.MSG.borrarOK = Customização Excluida com Sucesso.
|
||||
customController.MSG.borrarPergunta = Eliminar customização?
|
||||
customController.MSG.modificar = Cuidado! Ao alterar este valor o sistema será modificado automaticamente.
|
||||
|
@ -4148,7 +4149,7 @@ editarContigencia.tabela.motivo = MOTIVO
|
|||
editarContigencia.tabela.status = STATUS
|
||||
editarContigencia.tabela.usuario = USUARIO
|
||||
editarContigencia.window.title = Contingência
|
||||
editarContratoController.MSG.camposObrigatorios = Es necesario informar los campos: Valor Legalizado, Valor Transportadora, Transportadora
|
||||
editarContratoController.MSG.camposObrigatorios = Es necesario informar los campos: Cliente Corporativo, Grupo de Contrato, Número de Contrato, Fecha de Inicio y Fecha de Fin
|
||||
editarContratoController.MSG.camposObrigatoriosAdicao = Es necesario informar los campos: Valor, Observación, Operación
|
||||
editarContratoController.MSG.confirmacaoAdicao = Esta acción modificará el saldo del contrato, ¿confirmas la operación?
|
||||
editarContratoController.MSG.contratoExiste = Ya existe un registro con este número de contrato.
|
||||
|
@ -4666,6 +4667,7 @@ editarEmpresaController.lblCodigoContratoSafer.value = Código do contrato
|
|||
editarEmpresaController.lblCodigoSafer.value = Código do parceiro
|
||||
editarEmpresaController.lblComprovanteTipoIntegracao.value = Tipo de integración
|
||||
editarEmpresaController.lblCrediBanco.value = CrediBanco
|
||||
editarEmpresaController.lblDiasCancela.value = Dias Cancelamento
|
||||
editarEmpresaController.lblFiliation.value = Filiation
|
||||
editarEmpresaController.lblGrantType.value = Grant Type
|
||||
editarEmpresaController.lblIdExternoMercadoPago.value = ID Externo
|
||||
|
@ -4828,7 +4830,7 @@ editarEmpresaEquivalenciaController.cmbEmpresa.value = Empresa
|
|||
editarEmpresaEquivalenciaController.lbEquivalencia.value = Equivalencia
|
||||
# Editar Empresa Equivalencia
|
||||
editarEmpresaEquivalenciaController.window.title = Equivalencia Empresa
|
||||
editarEmpresaImpostoController.bpe.value = Habilitar BPe
|
||||
editarEmpresaImpostoController.bpe.value = Habilitar BPe\\\\\\\
|
||||
editarEmpresaImpostoController.btnApagar.tooltiptext = Eliminar
|
||||
editarEmpresaImpostoController.btnFechar.tooltiptext = Cerrar
|
||||
editarEmpresaImpostoController.btnSalvar.tooltiptext = Guardar
|
||||
|
@ -4865,7 +4867,7 @@ editarEmpresaImpostoController.lblJunho.value = Juño
|
|||
editarEmpresaImpostoController.lblMaio.value = Mayo
|
||||
editarEmpresaImpostoController.lblMarco.value = Marzo
|
||||
editarEmpresaImpostoController.lblNovembro.value = Noviembre
|
||||
editarEmpresaImpostoController.lblOutrasUFBloqueadas.value = Bloqueo de demás UF
|
||||
editarEmpresaImpostoController.lblOutrasUFBloqueadas.value = Bloqueo de demás UF\\\\\\\
|
||||
editarEmpresaImpostoController.lblOutrosIsento.value = Tratar otros como isento
|
||||
editarEmpresaImpostoController.lblOutubro.value = Octubre
|
||||
editarEmpresaImpostoController.lblPedagio.value = Peaje
|
||||
|
@ -5084,6 +5086,7 @@ editarFechamentoParamptovtaController.MSG.suscribirOK = Cierre cuenta contable a
|
|||
# Editar Fechamento Conta Contábil Agencia
|
||||
editarFechamentoParamptovtaController.window.title = Cierre cuenta contable - Editar parametro agencia
|
||||
editarFormAutorizacaoController.MSG.borrarOK = Registro eliminado exitosamente.
|
||||
# Form Autorizacao Tipo de Passagem
|
||||
editarFormAutorizacaoController.MSG.borrarPergunta = ¿Quieres cancelar este registro?
|
||||
editarFormAutorizacaoController.window.title = Formulario de autorización
|
||||
editarFormaPagoController.MSG.borrarOK = Forma de pago se eliminó exitosamente
|
||||
|
@ -5107,6 +5110,7 @@ editarFormaPagoController.lblAtivaProcessoEstorno.label = Activa el proceso de c
|
|||
editarFormaPagoController.lblBoletoAberto.label = Boleto abierto
|
||||
editarFormaPagoController.lblCarteiraDigital.label = Billetera digital
|
||||
editarFormaPagoController.lblCateiraDigitalCielo.label = Cielo Link
|
||||
editarFormaPagoController.lblCateiraDigitalIziPay.label = IziPay
|
||||
editarFormaPagoController.lblCateiraDigitalTef.label = TEF
|
||||
editarFormaPagoController.lblCateiraDigitalTpi.label = TPI
|
||||
editarFormaPagoController.lblCateiraDigitalTrocoSimples.label = Troco Simples
|
||||
|
@ -5270,7 +5274,7 @@ editarManutencaoPacoteController.MSG.suscribirOK = Alteración de la Dirección
|
|||
editarManutencaoPacoteController.btnApagar.tooltiptext = Borrar
|
||||
editarManutencaoPacoteController.btnFechar.tooltiptext = Cerrar
|
||||
editarManutencaoPacoteController.btnSalvar.tooltiptext = Guardar dirección Apanhe
|
||||
editarManutencaoPacoteController.btnVoucher.tooltiptext = Bono
|
||||
editarManutencaoPacoteController.btnVoucher.tooltiptext = Voucher
|
||||
editarManutencaoPacoteController.lhCep.label = Cep
|
||||
editarManutencaoPacoteController.lhCiudad.label = Ciudad
|
||||
editarManutencaoPacoteController.lhColonia.label = Colonia
|
||||
|
@ -6669,7 +6673,7 @@ editarSecretariaController.MSG.necessarioRemoverCupon.value = Existe registro co
|
|||
editarSecretariaController.MSG.pocentaje = Mas de un descuento permitido para rango de pasajes distintos
|
||||
editarSecretariaController.MSG.registroTraslapado = El numero de documento informado se traslapa con otro ya existente
|
||||
editarSecretariaController.MSG.suscribirOK = Secretaria se registró exitosamente
|
||||
editarSecretariaController.MSG.voucherRodDuplicado.value = Já existe um registro marcado como Bono Rod con esta forma de pagamento. Só é permitido 1 registro.
|
||||
editarSecretariaController.MSG.voucherRodDuplicado.value = Já existe um registro marcado como Voucher Rod con esta forma de pagamento. Só é permitido 1 registro.
|
||||
editarSecretariaController.MSG.voucherRodSemFormaPago.value = Es necesario elegir una forma de pago cuando el registro está marcado como Voucher Rodoviaria.
|
||||
editarSecretariaController.PrecioDescuento.value = Precio menos descuento por cobrar
|
||||
editarSecretariaController.PrecioTotal.value = Precio total
|
||||
|
@ -6701,7 +6705,7 @@ editarSecretariaController.lbSerie.value = Série
|
|||
editarSecretariaController.lbSerieSubserie.value = Validar Série e Subsérie
|
||||
editarSecretariaController.lbSubserie.value = SubSérie
|
||||
editarSecretariaController.lbValidaFolio.value = Validar numero del documento
|
||||
editarSecretariaController.lbVoucherRod.value = Bono Rod
|
||||
editarSecretariaController.lbVoucherRod.value = Voucher Rod
|
||||
# Editar Secretaria
|
||||
editarSecretariaController.window.title = Orden de compra - Secretaria
|
||||
editarSecuenciaController.MSG.suscribirOK = Caseta(s) de Peaje registrada(s) existosamente.
|
||||
|
@ -7315,10 +7319,22 @@ estacionServiceImpl.msg.macDuplicado = MAC o IMEI ya dado de alta para otra esta
|
|||
estacionServiceImpl.msg.macDuplicado.descricaoEstacao = Nome Estação:
|
||||
estacionServiceImpl.msg.macDuplicado.numeroCaixa = Numero Caixa:
|
||||
estacionServiceImpl.msg.noChequeFolioPreimpresos = Hay de stock para la estación en la empresa solicitada para establecer la impresora fiscal. Operación cancelada.
|
||||
expresoController.MSG.asuntoCorreoCotizacion = Solicitud de Expreso Cotizada
|
||||
expresoController.MSG.cuerpoCorreoCotizacion = Estimado/a {0}, la solicitud de expreso ha sido cotizada, en el siguiente link {1} podrá aceptar la cotización y realizar el pago.
|
||||
expresoController.MSG.emailNoEnviado = Ocurrió un problema. Favor de revisar logs
|
||||
expresoController.MSG.errorArchivo = Archivo inválido o nulo
|
||||
expresosController.lbl.asignarBus = Asignar Bus
|
||||
expresosController.lbl.btnCargarCumplimientoServicio = Adjuntar Documento
|
||||
expresosController.lbl.btnVerContrato = Ver Contrato
|
||||
expresosController.lbl.btnVerFuec = Ver FUEC
|
||||
expresosController.lbl.btnVerListaPasajeros = Ver Lista Pasajeros
|
||||
expresosController.lbl.btnVerPlanilla = Ver Planilla
|
||||
expresosController.lbl.cargarFluec = Cargar FLUEC
|
||||
expresosController.lbl.cargarPlaca = Cargar Placa
|
||||
expresosController.lbl.estadoAceptado = Aceptado
|
||||
expresosController.lbl.estadoEnviado = Enviado
|
||||
expresosController.lbl.estadoRechazado = Rechazado
|
||||
expresosController.lbl.estadoSolicitado = Solicitado
|
||||
expresosController.lbl.idaVuelta = Ida
|
||||
expresosController.lbl.pagadoCredito = Pagado a Crédito
|
||||
expresosController.lbl.verDetalle = Ver Detalle
|
||||
|
@ -7334,6 +7350,7 @@ expressosPorCotizarController.lhCantidadPasajeros.label = Cantidad de Pasajeros
|
|||
expressosPorCotizarController.lhCantidadVehiculos.label = Cantidad Vehículos
|
||||
expressosPorCotizarController.lhCodigoViaje.label = Código Viaje
|
||||
expressosPorCotizarController.lhEstadiaConductor.label = Estadia Conductor
|
||||
expressosPorCotizarController.lhEstado.label = Estado
|
||||
expressosPorCotizarController.lhFechaIda.label = Fecha Ida
|
||||
expressosPorCotizarController.lhFechaRegreso.label = Fecha Regreso
|
||||
expressosPorCotizarController.lhFechaSolicitud.label = Fecha Solicitud
|
||||
|
@ -7710,6 +7727,7 @@ indexController.mniExcepcionRedondo.label = Excepción viaje ida y regreso
|
|||
indexController.mniExportacaoFiscalECF.label = ECF
|
||||
indexController.mniExportacaoFiscalRMD.label = RMD
|
||||
indexController.mniExpressosCargaContrato.label = Carga de Contrato
|
||||
indexController.mniExpressosCumplimientoServicio.label = Cumplimiento de Servicio
|
||||
indexController.mniExpressosDocumentos.label = Documentos
|
||||
indexController.mniExpressosPorCotizar.label = Expresos por cotizar
|
||||
indexController.mniExpressosProgramacionVehiculos.label = Programación de Vehículos
|
||||
|
@ -7952,7 +7970,7 @@ indexController.mniRelatorioVendasParcelamento.label = Ventas con Parcelamiento
|
|||
indexController.mniRelatorioVendasPercurso.label = Vendas no Percurso
|
||||
indexController.mniRelatorioVendasRequisicao.Detalhado.label = Informe Detallado de Ventas de Requisición (Orden de Servicio)
|
||||
indexController.mniRelatorioVendasRequisicao.label = Relatório Vendas Requisição(Ordem de Serviço)
|
||||
indexController.mniRelatorioVoucher.label = Bono
|
||||
indexController.mniRelatorioVoucher.label = Voucher
|
||||
indexController.mniRelatorioVoucherCancelados.label = Voucher Cancelados
|
||||
indexController.mniRelatorioW2I.label = Relatório Seguro W2I
|
||||
indexController.mniRelatorios.label = Reportes
|
||||
|
@ -8112,6 +8130,7 @@ label.classePagamento.credito = A la vista
|
|||
label.classeServico = Tipo clase
|
||||
label.clienteCorporativo = Cliente Corporativo
|
||||
label.complemento = Complementar
|
||||
label.configuracaoIziPay = IziPay
|
||||
label.credito = Crédito
|
||||
label.criacao = Ingresso
|
||||
label.dataFinal = Fecha Final
|
||||
|
@ -8186,6 +8205,7 @@ label.tipoTarifa = Tipo Tarifa
|
|||
label.tipoTarifa.fixa = Fija
|
||||
label.tipoTarifa.variavel = Variable
|
||||
label.transportadora = Transportadora
|
||||
label.url = URL
|
||||
label.valor = Valor
|
||||
label.valorContrato = Valor Contrato
|
||||
label.valorLegalizado = Valor Legalizado
|
||||
|
|
|
@ -2427,6 +2427,7 @@ corteTurnoRecaudacionController.TotalPago.label = Total payé
|
|||
corteTurnoRecaudacionController.Turno.label = Décalage
|
||||
# COrte de Turno Recaudação
|
||||
corteTurnoRecaudacionController.title = Coupe Maj
|
||||
cotizarExpresoController.MSG.emailEnviado = Corriger le devis express
|
||||
customController.MSG.borrarOK = Personnalisation supprimée avec succès.
|
||||
customController.MSG.borrarPergunta = Supprimer la personnalisation ?
|
||||
customController.MSG.modificar = Attention ! En changeant cette valeur le système sera modifié automatiquement.
|
||||
|
@ -4146,8 +4147,8 @@ editarContigencia.tabela.motivo = RAISON
|
|||
editarContigencia.tabela.status = STATUT
|
||||
editarContigencia.tabela.usuario = UTILISATEUR
|
||||
editarContigencia.window.title = Contingence
|
||||
editarContratoController.MSG.camposObrigatorios = Il est nécessaire d'informer les champs : Valeur légalisée, Transporteur valeur, Transporteur
|
||||
editarContratoController.MSG.camposObrigatoriosAdicao = Il est nécessaire d'informer les champs : Valor, Observation, Opération
|
||||
editarContratoController.MSG.camposObrigatorios = Il est nécessaire de renseigner les champs : Client Entreprise, Groupe de Contrat, Numéro de Contrat, Date de Début et Date de Fin
|
||||
editarContratoController.MSG.camposObrigatoriosAdicao = Il est nécessaire d'informer les champs : Valor, Observation, Opération
|
||||
editarContratoController.MSG.contratoExiste = Un enregistrement avec ce numéro de contrat existe déjà.
|
||||
editarContratoController.tab.cliente = Client
|
||||
editarContratoController.tab.config = Paramètres
|
||||
|
@ -4665,6 +4666,7 @@ editarEmpresaController.lblCodigoContratoSafer.value = Code du contrat
|
|||
editarEmpresaController.lblCodigoSafer.value = Code partenaire
|
||||
editarEmpresaController.lblComprovanteTipoIntegracao.value = Intégration de types
|
||||
editarEmpresaController.lblCrediBanco.value = CrediBanco
|
||||
editarEmpresaController.lblDiasCancela.value = Jours d'annulation
|
||||
editarEmpresaController.lblFiliation.value = Filiation
|
||||
editarEmpresaController.lblGrantType.value = Grant Type
|
||||
editarEmpresaController.lblIdExternoMercadoPago.value = ID externe
|
||||
|
@ -4672,7 +4674,7 @@ editarEmpresaController.lblInfoSafer.value = Informations sur le certificat
|
|||
editarEmpresaController.lblIntegracoesTipoPassagem.value = Intégrations de types de passage
|
||||
editarEmpresaController.lblMercadoPago.value = Marché Pago
|
||||
editarEmpresaController.lblMerchantId.value = IDmarchand
|
||||
editarEmpresaController.lblMinutosCancela.value = Procès-verbal d'annulation
|
||||
editarEmpresaController.lblMinutosCancela.value = minutes d'annulation
|
||||
editarEmpresaController.lblMsgCadastrarPOSMercadoPago.value = PDV enregistré avec succès
|
||||
editarEmpresaController.lblMsgCadastrarStoreMercadoPago.value = Magasin enregistré avec succès
|
||||
editarEmpresaController.lblOrgaoConcedenteIntegracao.value = Organisme concédant
|
||||
|
@ -5078,6 +5080,7 @@ editarFechamentoParamgeralController.MSG.suscribirOK = Configuration de fermetur
|
|||
# Editar Configuração de Boleto
|
||||
editarFechamentoParamgeralController.window.title = Configuration de fermeture Cta Cte et Boleto - Modifier le paramètre général
|
||||
editarFormAutorizacaoController.MSG.borrarOK = Registre supprimé avec succès.
|
||||
# Form Autorizacao Tipo de Passagem
|
||||
editarFormAutorizacaoController.MSG.borrarPergunta = Voulez-vous annuler cette inscription?
|
||||
editarFormAutorizacaoController.window.title = Formulaire d'autorisation
|
||||
editarFormaPagoController.MSG.borrarOK = Méthode de paiement supprimée avec succès.
|
||||
|
@ -5101,6 +5104,7 @@ editarFormaPagoController.lblAtivaProcessoEstorno.label = Active le processus de
|
|||
editarFormaPagoController.lblBoletoAberto.label = Ouvrir le bordereau
|
||||
editarFormaPagoController.lblCarteiraDigital.label = Portefeuille numérique
|
||||
editarFormaPagoController.lblCateiraDigitalCielo.label = Lien Cielo
|
||||
editarFormaPagoController.lblCateiraDigitalIziPay.label = IziPay
|
||||
editarFormaPagoController.lblCateiraDigitalTef.label = TEF
|
||||
editarFormaPagoController.lblCateiraDigitalTpi.label = TPI
|
||||
editarFormaPagoController.lblCateiraDigitalTrocoSimples.label = Changement simple
|
||||
|
@ -7308,10 +7312,22 @@ estacionServiceImpl.msg.macDuplicado = Mac ou IMEI déjà enregistré pour une a
|
|||
estacionServiceImpl.msg.macDuplicado.descricaoEstacao = Nom de la station :
|
||||
estacionServiceImpl.msg.macDuplicado.numeroCaixa = Numéro de boîte :
|
||||
estacionServiceImpl.msg.noChequeFolioPreimpresos = L'entreprise demandée pour configurer une imprimante fiscale dispose déjà d'un stock pour la station. Opération annulée.
|
||||
expresoController.MSG.asuntoCorreoCotizacion = Demande express citée
|
||||
expresoController.MSG.cuerpoCorreoCotizacion = Cher {0}, la demande expresse a été citée, dans le lien suivant {1} vous pouvez accepter le devis et effectuer le paiement.
|
||||
expresoController.MSG.emailNoEnviado = Il y a eu un problème. Veuillez vérifier les journaux
|
||||
expresoController.MSG.errorArchivo = Fichier invalide ou nul
|
||||
expresosController.lbl.asignarBus = Attribuer un bus
|
||||
expresosController.lbl.btnCargarCumplimientoServicio = Joindre un document
|
||||
expresosController.lbl.btnVerContrato = Voir le contrat
|
||||
expresosController.lbl.btnVerFuec = Voir FUEC
|
||||
expresosController.lbl.btnVerListaPasajeros = Voir la liste des passagers
|
||||
expresosController.lbl.btnVerPlanilla = Ver Planilla
|
||||
expresosController.lbl.cargarFluec = Chargement FLUEC
|
||||
expresosController.lbl.cargarPlaca = Chargement Placa
|
||||
expresosController.lbl.estadoAceptado = Accepté
|
||||
expresosController.lbl.estadoEnviado = Envoyé
|
||||
expresosController.lbl.estadoRechazado = Refusé
|
||||
expresosController.lbl.estadoSolicitado = Requis
|
||||
expresosController.lbl.idaVuelta = En allant
|
||||
expresosController.lbl.pagadoCredito = Payé à crédit
|
||||
expresosController.lbl.verDetalle = Voir détail
|
||||
|
@ -7327,6 +7343,7 @@ expressosPorCotizarController.lhCantidadPasajeros.label = Nombre de passagers
|
|||
expressosPorCotizarController.lhCantidadVehiculos.label = Quantité de véhicule
|
||||
expressosPorCotizarController.lhCodigoViaje.label = Code de voyage
|
||||
expressosPorCotizarController.lhEstadiaConductor.label = Séjour chauffeur
|
||||
expressosPorCotizarController.lhEstado.label = État
|
||||
expressosPorCotizarController.lhFechaIda.label = Date de départ
|
||||
expressosPorCotizarController.lhFechaRegreso.label = Date de retour
|
||||
expressosPorCotizarController.lhFechaSolicitud.label = Date de la demande
|
||||
|
@ -7703,6 +7720,7 @@ indexController.mniExcepcionRedondo.label = Exception aller-retour
|
|||
indexController.mniExportacaoFiscalECF.label = ECF
|
||||
indexController.mniExportacaoFiscalRMD.label = RMD
|
||||
indexController.mniExpressosCargaContrato.label = Frais de contrat
|
||||
indexController.mniExpressosCumplimientoServicio.label = Conformité des services
|
||||
indexController.mniExpressosDocumentos.label = Documents
|
||||
indexController.mniExpressosPorCotizar.label = Express à devis
|
||||
indexController.mniExpressosProgramacionVehiculos.label = Programmation du véhicule
|
||||
|
@ -8102,6 +8120,7 @@ label.classePagamento.credito = En liquide
|
|||
label.classeServico = Type de classe
|
||||
label.clienteCorporativo = Client Entreprise
|
||||
label.complemento = Complément
|
||||
label.configuracaoIziPay = IziPay
|
||||
label.credito = Crédit
|
||||
label.criacao = Création
|
||||
label.dataFinal = Date de fin
|
||||
|
@ -8167,6 +8186,7 @@ label.tipoTarifa = Type de taux
|
|||
label.tipoTarifa.fixa = Fixé
|
||||
label.tipoTarifa.variavel = Variable
|
||||
label.transportadora = Transporteur
|
||||
label.url = URL
|
||||
label.valor = Valeur
|
||||
label.valorContrato = Valeur Contrat
|
||||
label.valorLegalizado = Valeur Légalisée
|
||||
|
@ -9702,7 +9722,7 @@ relatorioRemessaCNAB.exception.ValidacaoRemessaCidadeException = La ville du poi
|
|||
relatorioRemessaCNAB.exception.ValidacaoRemessaConvenioException = Le code de l'accord ne correspond pas au code de la banque \r\nVeuillez contacter le support !
|
||||
relatorioRemessaCNAB.exception.ValidacaoRemessaEstadoException = L'état du point de vente {0} est hors normes, merci de corriger
|
||||
relatorioRemessaCNAB.exception.ValidacaoRemessaLogradouroException = L'adresse municipale du point de vente {0} est hors norme, merci de la corriger.
|
||||
relatorioRemessaCNAB.exception.ValidacaoRemessaMontagemCabecalhoException = Une erreur s'est produite lors de l'assemblage de l'en-tête du fichier d'expédition.\r\nVeuillez contacter l'assistance !
|
||||
relatorioRemessaCNAB.exception.ValidacaoRemessaMontagemCabecalhoException = Une erreur s'est produite lors de l'assemblage de l'en-tête du fichier d'expédition.\r\nVeuillez contacter l'assistance !
|
||||
relatorioRemessaCNAB.lbAte.label = jusqu'à
|
||||
relatorioRemessaCNAB.lbDataEmissao.value = Dt. Émission
|
||||
relatorioRemessaCNAB.lbDataVencimento.value = Dt. Maturité
|
||||
|
|
|
@ -7919,6 +7919,7 @@ indexController.mniRelatorioResumoLinhas.label = Resumo de Linhas
|
|||
indexController.mniRelatorioResumoVendaOrgaoConcedente.label = Relatorio Resumo Venda Órgao Concedente
|
||||
# Retorno Bancario
|
||||
indexController.mniRelatorioRetornoBancario.label = Retorno Bancário
|
||||
indexController.mniRelatorioSaldosContratos.label = Relatório Saldos de Contratos
|
||||
indexController.mniRelatorioSap.label = SAP
|
||||
indexController.mniRelatorioSegundaVia.label = Segunda Via
|
||||
indexController.mniRelatorioServicoBloqueadoVendaInternet.label = Serviço Bloqueado na Venda Internet
|
||||
|
@ -9768,6 +9769,15 @@ relatorioRetornoBancario.MSG.extensaoInvalida = Somente arquivos no formato de r
|
|||
relatorioRetornoBancario.fileupload.label = Selecionar Arquivo...
|
||||
relatorioRetornoBancario.lbEmpresa.value = Empresa
|
||||
relatorioRetornoBancario.window.title = Processamento de Retorno Bancário
|
||||
relatorioSaldosContratosController.lblDataFinal.value = Data Final
|
||||
relatorioSaldosContratosController.lblDataInicial.value = Data Inicial
|
||||
relatorioSaldosContratosController.lblEstadoBilhete.value = Estado Bilhete
|
||||
relatorioSaldosContratosController.lblFaturado.value = Faturado
|
||||
relatorioSaldosContratosController.lblGrupoContrato.value = Grupo Contrato
|
||||
relatorioSaldosContratosController.lblNaoFaturado.value = Não Faturado
|
||||
relatorioSaldosContratosController.lblNumContrato.value = Num. Contrato
|
||||
relatorioSaldosContratosController.lblTodos.value = Todos
|
||||
relatorioSaldosContratosController.window.title = Relatório Saldos de Contratos
|
||||
relatorioSapController.MGS.alertaArquivoRemessaNaoGerado = Arquivo de remessa não pôde ser criado, favor entrar em contato com o suporte.
|
||||
relatorioSapController.MGS.alertaCNABSemItens = Não há itens fechamento a enviar para esta empresa
|
||||
relatorioSapController.MGS.erroIntegraManual = Execução manual de integração com SAP
|
||||
|
|
|
@ -30,53 +30,35 @@
|
|||
<tabbox vflex="1" hflex="1">
|
||||
<tabs>
|
||||
|
||||
<tab
|
||||
label="${c:l('editarEmpresaController.lbNome.value')}" />
|
||||
<tab
|
||||
label="${c:l('editarEmpresaController.lbConfiguraciones.value')}" />
|
||||
<tab
|
||||
label="${c:l('editarEmpresaController.endereco.label')}" />
|
||||
<tab
|
||||
label="${c:l('editarEmpresaController.impostos.label')}" />
|
||||
<tab
|
||||
label="${c:l('editarEmpresaController.inscricaoestadual.label')}" />
|
||||
<tab
|
||||
label="${c:l('editarEmpresaController.contaBancaria.label')}" />
|
||||
<tab
|
||||
label="${c:l('editarEmpresaController.tab.label.rateiocomissao')}" />
|
||||
<tab
|
||||
label="${c:l('editarEmpresaController.comissao.label')}" />
|
||||
<tab
|
||||
label="${c:l('editarEmpresaController.fidelidade.label')}" />
|
||||
<tab
|
||||
label="${c:l('editarEmpresaController.configEmail.label')}" />
|
||||
<tab
|
||||
label="${c:l('editarEmpresaController.configEmail.label.titulo')}" />
|
||||
<tab
|
||||
label="${c:l('editarEmpresaController.voucherPersonalizado.label')}" />
|
||||
<tab
|
||||
label="${c:l('editarEmpresaController.configuracaoFlexbus.label')}" />
|
||||
<tab
|
||||
label="${c:l('editarEmpresaController.configuracaoCieloLink.label')}" />
|
||||
<tab
|
||||
label="${c:l('editarEmpresaController.configuracaoRecarga.label')}" />
|
||||
<tab id="tabSafer" visible="false"
|
||||
label="${c:l('editarEmpresaController.lblSafer.value')}" />
|
||||
<tab id="tabAdyen"
|
||||
label="${c:l('editarEmpresaController.lblAdyen.value')}" />
|
||||
<tab id="tabMercadoPago"
|
||||
label="${c:l('editarEmpresaController.lblMercadoPago.value')}" />
|
||||
<tab
|
||||
label="${c:l('editarEmpresaController.lblIntegracoesTipoPassagem.value')}" />
|
||||
<tab id="tabSaftao" visible="false"
|
||||
label="${c:l('editarEmpresaController.saftao.titulo')}" />
|
||||
<tab id="tabSicfe" label="${c:l('editarEmpresaController.sicfe.titulo')}" />
|
||||
<tab id="tabCrediBanco" label="${c:l('editarEmpresaController.lblCrediBanco.value')}" />
|
||||
<tab id="tabAssistenteViagem" label="${c:l('editarEmpresaController.lblAsistenciaDeViaje.value')}" />
|
||||
<tab id="tabComprovantePassagem" label="${c:l('editarEmpresaController.tabComprovantePassagem.value')}" />
|
||||
<tab label="${c:l('editarEmpresaController.lbNome.value')}" />
|
||||
<tab label="${c:l('editarEmpresaController.lbConfiguraciones.value')}" />
|
||||
<tab label="${c:l('editarEmpresaController.endereco.label')}" />
|
||||
<tab label="${c:l('editarEmpresaController.impostos.label')}" />
|
||||
<tab label="${c:l('editarEmpresaController.inscricaoestadual.label')}" />
|
||||
<tab label="${c:l('editarEmpresaController.contaBancaria.label')}" />
|
||||
<tab label="${c:l('editarEmpresaController.tab.label.rateiocomissao')}" />
|
||||
<tab label="${c:l('editarEmpresaController.comissao.label')}" />
|
||||
<tab label="${c:l('editarEmpresaController.fidelidade.label')}" />
|
||||
<tab label="${c:l('editarEmpresaController.configEmail.label')}" />
|
||||
<tab label="${c:l('editarEmpresaController.configEmail.label.titulo')}" />
|
||||
<tab label="${c:l('editarEmpresaController.voucherPersonalizado.label')}" />
|
||||
<tab label="${c:l('editarEmpresaController.configuracaoFlexbus.label')}" />
|
||||
<tab label="${c:l('editarEmpresaController.configuracaoCieloLink.label')}" />
|
||||
<tab label="${c:l('label.configuracaoIziPay')}" />
|
||||
<tab label="${c:l('editarEmpresaController.configuracaoRecarga.label')}" />
|
||||
<tab label="${c:l('editarEmpresaController.lblSafer.value')}" id="tabSafer" visible="false" />
|
||||
<tab label="${c:l('editarEmpresaController.lblAdyen.value')}" id="tabAdyen" />
|
||||
<tab label="${c:l('editarEmpresaController.lblMercadoPago.value')}" id="tabMercadoPago" />
|
||||
<tab label="${c:l('editarEmpresaController.lblIntegracoesTipoPassagem.value')}" />
|
||||
<tab label="${c:l('editarEmpresaController.saftao.titulo')}" id="tabSaftao" visible="false" />
|
||||
<tab label="${c:l('editarEmpresaController.sicfe.titulo')}" id="tabSicfe" />
|
||||
<tab label="${c:l('editarEmpresaController.lblCrediBanco.value')}" id="tabCrediBanco" />
|
||||
<tab label="${c:l('editarEmpresaController.lblAsistenciaDeViaje.value')}" id="tabAssistenteViagem" />
|
||||
<tab label="${c:l('editarEmpresaController.tabComprovantePassagem.value')}" id="tabComprovantePassagem" />
|
||||
</tabs>
|
||||
|
||||
<tabpanels style="overflow: auto">
|
||||
<!-- Nome -->
|
||||
<tabpanel>
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
|
@ -86,7 +68,7 @@
|
|||
<rows>
|
||||
<row>
|
||||
<label id="lbNome"
|
||||
value="${c:l('editarEmpresaController.lbNome.value')}" />
|
||||
value="${c:l('label.descricao')}" />
|
||||
<textbox id="txtNome"
|
||||
constraint="no empty" width="80%" maxlength="50"
|
||||
value="@{winEditarEmpresa$composer.empresa.nombempresa}"
|
||||
|
@ -1187,6 +1169,8 @@
|
|||
</rows>
|
||||
</grid>
|
||||
</tabpanel>
|
||||
|
||||
<!-- Endereço -->
|
||||
<tabpanel>
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
|
@ -1292,6 +1276,8 @@
|
|||
</rows>
|
||||
</grid>
|
||||
</tabpanel>
|
||||
|
||||
<!-- Impostos -->
|
||||
<tabpanel>
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
|
@ -1330,6 +1316,8 @@
|
|||
</listhead>
|
||||
</listbox>
|
||||
</tabpanel>
|
||||
|
||||
<!-- Insc Estadual -->
|
||||
<tabpanel id="tbInscEstadual" height="90%">
|
||||
<toolbar>
|
||||
<button id="btnAdicionarInscEstadual"
|
||||
|
@ -1510,8 +1498,9 @@
|
|||
</listhead>
|
||||
</listbox>
|
||||
</tabpanel>
|
||||
|
||||
<!-- Contas Bancárias -->
|
||||
<tabpanel>
|
||||
<!-- Contas Bancárias -->
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
<column width="20%" />
|
||||
|
@ -1602,6 +1591,7 @@
|
|||
</grid>
|
||||
</tabpanel>
|
||||
|
||||
<!-- Comissao -->
|
||||
<tabpanel>
|
||||
<tabbox>
|
||||
<tabs>
|
||||
|
@ -1918,6 +1908,8 @@
|
|||
</tabpanels>
|
||||
</tabbox>
|
||||
</tabpanel>
|
||||
|
||||
<!-- Fidelidade -->
|
||||
<tabpanel>
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
|
@ -1942,6 +1934,8 @@
|
|||
</rows>
|
||||
</grid>
|
||||
</tabpanel>
|
||||
|
||||
<!-- Configuração de Envio de Email -->
|
||||
<tabpanel>
|
||||
<grid>
|
||||
<columns>
|
||||
|
@ -2027,6 +2021,8 @@
|
|||
label="${c:l('viewTestEmailController.window.title')}"
|
||||
/>
|
||||
</tabpanel>
|
||||
|
||||
<!-- Configuração Email -->
|
||||
<tabpanel>
|
||||
|
||||
<label id="lblTipoEmail"
|
||||
|
@ -2160,6 +2156,7 @@
|
|||
</tabbox>
|
||||
</tabpanel>
|
||||
|
||||
<!-- Voucher Personalizado -->
|
||||
<tabpanel>
|
||||
<ckeditor id="ckCampoCustomVoucher"
|
||||
value="@{winEditarEmpresa$composer.empresa.campoCustomVoucher}"
|
||||
|
@ -2167,6 +2164,7 @@
|
|||
</ckeditor>
|
||||
</tabpanel>
|
||||
|
||||
<!-- FlexBus -->
|
||||
<tabpanel>
|
||||
<tabbox>
|
||||
<tabs>
|
||||
|
@ -2265,6 +2263,7 @@
|
|||
</tabbox>
|
||||
</tabpanel>
|
||||
|
||||
<!-- CieloLink -->
|
||||
<tabpanel>
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
|
@ -2320,6 +2319,54 @@
|
|||
</grid>
|
||||
</tabpanel>
|
||||
|
||||
<!-- Izipay -->
|
||||
<tabpanel>
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
<column width="25%" />
|
||||
<column width="75%" />
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarEmpresaController.lblClientId.value')}" />
|
||||
<textbox id="txtIziPayClientId"
|
||||
isUpperCase="false"
|
||||
width="70%"
|
||||
maxlength="50"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxCustom" />
|
||||
</row>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarEmpresaController.lblSecret.value')}" />
|
||||
<textbox id="txtIziPaySecret"
|
||||
isUpperCase="false"
|
||||
width="70%"
|
||||
maxlength="50"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxCustom" />
|
||||
</row>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarEmpresaController.lblDiasCancela.value')}" />
|
||||
<textbox id="txtIziPayDiasCancela"
|
||||
width="50%"
|
||||
maxlength="20"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxCustom" />
|
||||
</row>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('label.url')}" />
|
||||
<textbox id="txtIziPayUrl"
|
||||
isUpperCase="false"
|
||||
width="70%"
|
||||
maxlength="50"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxCustom" />
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
</tabpanel>
|
||||
|
||||
<!-- RvHub -->
|
||||
<tabpanel>
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
|
@ -2351,6 +2398,7 @@
|
|||
</grid>
|
||||
</tabpanel>
|
||||
|
||||
<!-- Safer -->
|
||||
<tabpanel >
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
|
@ -2401,6 +2449,7 @@
|
|||
</grid>
|
||||
</tabpanel>
|
||||
|
||||
<!-- Adyen -->
|
||||
<tabpanel>
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
|
@ -2438,145 +2487,141 @@
|
|||
</grid>
|
||||
</tabpanel>
|
||||
|
||||
<!-- Mercado Pago -->
|
||||
<tabpanel>
|
||||
<tabbox>
|
||||
<tabs>
|
||||
<tab label="${c:l('editarEmpresaController.lblTabGeralMercadoPago.value')}" />
|
||||
<tab label="${c:l('editarEmpresaController.lblTabCadastroMercadoPago.value')}" />
|
||||
</tabs>
|
||||
<tabpanels>
|
||||
<tabpanel>
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
<column width="25%" />
|
||||
<column width="75%" />
|
||||
</columns>
|
||||
<rows>
|
||||
|
||||
<tabbox>
|
||||
<tabs>
|
||||
<tab label="${c:l('editarEmpresaController.lblTabGeralMercadoPago.value')}" />
|
||||
<tab label="${c:l('editarEmpresaController.lblTabCadastroMercadoPago.value')}" />
|
||||
</tabs>
|
||||
<tabpanels>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarEmpresaController.lblUserIdMercadoPago.value')}" />
|
||||
<textbox id="txtUserIdMercadoPago" width="80%" maxlength="255"
|
||||
value="@{winEditarEmpresa$composer.empresaMercadoPagoConfig.userId}" />
|
||||
</row>
|
||||
|
||||
<tabpanel>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarEmpresaController.lblTokenMercadoPago.value')}" />
|
||||
<textbox id="txtTokenMercadoPago" width="80%" maxlength="255"
|
||||
value="@{winEditarEmpresa$composer.empresaMercadoPagoConfig.token}" />
|
||||
</row>
|
||||
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
<column width="25%" />
|
||||
<column width="75%" />
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarEmpresaController.lblUrlApiMercadoPago.value')}" />
|
||||
<textbox id="txtUrlApiMercadoPago" width="80%" maxlength="255"
|
||||
value="@{winEditarEmpresa$composer.empresaMercadoPagoConfig.urlApi}" />
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarEmpresaController.lblUserIdMercadoPago.value')}" />
|
||||
<textbox id="txtUserIdMercadoPago" width="80%" maxlength="255"
|
||||
value="@{winEditarEmpresa$composer.empresaMercadoPagoConfig.userId}" />
|
||||
</row>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarEmpresaController.lblStoreMercadoPago.value')}" />
|
||||
<combobox id="cmbStoreMercadoPago"
|
||||
width="90%" mold="rounded"
|
||||
buttonVisible="true"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||
model="@{winEditarEmpresa$composer.lsStoreMercadoPago}"
|
||||
selectedItem="@{winEditarEmpresa$composer.storeVO}"/>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarEmpresaController.lblTokenMercadoPago.value')}" />
|
||||
<textbox id="txtTokenMercadoPago" width="80%" maxlength="255"
|
||||
value="@{winEditarEmpresa$composer.empresaMercadoPagoConfig.token}" />
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarEmpresaController.lblUrlApiMercadoPago.value')}" />
|
||||
<textbox id="txtUrlApiMercadoPago" width="80%" maxlength="255"
|
||||
value="@{winEditarEmpresa$composer.empresaMercadoPagoConfig.urlApi}" />
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarEmpresaController.lblStoreMercadoPago.value')}" />
|
||||
<combobox id="cmbStoreMercadoPago"
|
||||
width="90%" mold="rounded"
|
||||
buttonVisible="true"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||
model="@{winEditarEmpresa$composer.lsStoreMercadoPago}"
|
||||
selectedItem="@{winEditarEmpresa$composer.storeVO}"/>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarEmpresaController.lblPOSMercadoPago.value')}" />
|
||||
<combobox id="cmbPOSMercadoPago"
|
||||
width="90%" mold="rounded"
|
||||
buttonVisible="true"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||
model="@{winEditarEmpresa$composer.lsPosMercadoPago}"
|
||||
selectedItem="@{winEditarEmpresa$composer.posVO}"/>
|
||||
</row>
|
||||
|
||||
</rows>
|
||||
</grid>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarEmpresaController.lblPOSMercadoPago.value')}" />
|
||||
<combobox id="cmbPOSMercadoPago"
|
||||
width="90%" mold="rounded"
|
||||
buttonVisible="true"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||
model="@{winEditarEmpresa$composer.lsPosMercadoPago}"
|
||||
selectedItem="@{winEditarEmpresa$composer.posVO}"/>
|
||||
</row>
|
||||
|
||||
</rows>
|
||||
</grid>
|
||||
</tabpanel>
|
||||
|
||||
<tabpanel>
|
||||
<toolbar>
|
||||
<separator bar="true"/>
|
||||
Store
|
||||
</toolbar>
|
||||
|
||||
<toolbar>
|
||||
<separator bar="true"/>
|
||||
Store
|
||||
</toolbar>
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
<column width="25%" />
|
||||
<column width="75%" />
|
||||
</columns>
|
||||
<rows>
|
||||
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
<column width="25%" />
|
||||
<column width="75%" />
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarEmpresaController.lblStoreNomeMercadoPago.value')}" />
|
||||
<textbox id="txtNomeStore" width="80%" maxlength="255" />
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarEmpresaController.lblStoreNomeMercadoPago.value')}" />
|
||||
<textbox id="txtNomeStore" width="80%" maxlength="255" />
|
||||
</row>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarEmpresaController.lblIdExternoMercadoPago.value')}" />
|
||||
<textbox id="txtIdStoreMercadoPago" width="80%" maxlength="255" />
|
||||
</row>
|
||||
</rows>
|
||||
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarEmpresaController.lblIdExternoMercadoPago.value')}" />
|
||||
<textbox id="txtIdStoreMercadoPago" width="80%" maxlength="255" />
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
<button id="btnCadastrarStoreMercadoPago" height="20"
|
||||
label="${c:l('editarEmpresaController.lblBtnCadastrarStoreMercadoPago.value')}" />
|
||||
<toolbar>
|
||||
<separator bar="true"/>
|
||||
POS
|
||||
</toolbar>
|
||||
|
||||
</grid>
|
||||
<button id="btnCadastrarStoreMercadoPago" height="20"
|
||||
label="${c:l('editarEmpresaController.lblBtnCadastrarStoreMercadoPago.value')}" />
|
||||
<toolbar>
|
||||
<separator bar="true"/>
|
||||
POS
|
||||
</toolbar>
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
<column width="25%" />
|
||||
<column width="75%" />
|
||||
</columns>
|
||||
<rows>
|
||||
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
<column width="25%" />
|
||||
<column width="75%" />
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarEmpresaController.lblPOSNomeMercadoPago.value')}" />
|
||||
<textbox id="txtNomePOS" width="80%" maxlength="255" />
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarEmpresaController.lblPOSNomeMercadoPago.value')}" />
|
||||
<textbox id="txtNomePOS" width="80%" maxlength="255" />
|
||||
</row>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarEmpresaController.lblIdExternoMercadoPago.value')}" />
|
||||
<textbox id="txtIdPOSMercadoPago" width="80%" maxlength="255" />
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarEmpresaController.lblIdExternoMercadoPago.value')}" />
|
||||
<textbox id="txtIdPOSMercadoPago" width="80%" maxlength="255" />
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarEmpresaController.lblStoreMercadoPago.value')}" />
|
||||
<combobox id="cmbStoreCadastroMercadoPago"
|
||||
width="90%" mold="rounded"
|
||||
buttonVisible="true"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||
model="@{winEditarEmpresa$composer.lsStoreMercadoPago}"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
<button id="btnCadastrarPOSMercadoPago" height="20"
|
||||
label="${c:l('editarEmpresaController.lblBtnCadastrarPOSMercadoPago.value')}" />
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarEmpresaController.lblStoreMercadoPago.value')}" />
|
||||
<combobox id="cmbStoreCadastroMercadoPago"
|
||||
width="90%" mold="rounded"
|
||||
buttonVisible="true"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||
model="@{winEditarEmpresa$composer.lsStoreMercadoPago}"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
<button id="btnCadastrarPOSMercadoPago" height="20"
|
||||
label="${c:l('editarEmpresaController.lblBtnCadastrarPOSMercadoPago.value')}" />
|
||||
</tabpanel>
|
||||
</tabpanels>
|
||||
</tabbox>
|
||||
|
||||
</tabbox>
|
||||
</tabpanel>
|
||||
|
||||
<!-- Integrações Tipo de Passagem -->
|
||||
<tabpanel>
|
||||
|
||||
<tabbox>
|
||||
|
@ -2650,6 +2695,7 @@
|
|||
|
||||
</tabpanel>
|
||||
|
||||
<!-- Saftao -->
|
||||
<tabpanel >
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
|
@ -2687,6 +2733,7 @@
|
|||
</grid>
|
||||
</tabpanel>
|
||||
|
||||
<!-- Sicfe -->
|
||||
<tabpanel>
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
|
@ -2803,6 +2850,7 @@
|
|||
</groupbox>
|
||||
</tabpanel>
|
||||
|
||||
<!-- CrediBanco -->
|
||||
<tabpanel>
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
|
@ -2838,6 +2886,7 @@
|
|||
</grid>
|
||||
</tabpanel>
|
||||
|
||||
<!-- Assistência de viagem -->
|
||||
<tabpanel>
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
|
@ -2855,7 +2904,7 @@
|
|||
model="@{winEditarEmpresa$composer.lsTipoEventoExtras}" />
|
||||
</row>
|
||||
<row>
|
||||
<label value="${c:l('editarEmpresaController.lblURL.value')}" />
|
||||
<label value="${c:l('label.url')}" />
|
||||
<textbox id="txtURLAsistenciaViaje" width="80%" maxlength="255" />
|
||||
</row>
|
||||
<row>
|
||||
|
@ -2882,6 +2931,7 @@
|
|||
</grid>
|
||||
</tabpanel>
|
||||
|
||||
<!-- Comprovante Passagem -->
|
||||
<tabpanel>
|
||||
<tabbox>
|
||||
<tabs>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
<zk xmlns="http://www.zkoss.org/2005/zul">
|
||||
<window id="winAsignarBusExpresos" title="${c:l('winAsignarBusExpresos')}"
|
||||
border="normal" height="484px" width="1145px" position="center" mode="overlapped"
|
||||
border="normal" height="484px" width="1100px" position="center" mode="overlapped"
|
||||
apply="${asignarBusExpresosController}">
|
||||
<toolbar>
|
||||
<button id="btnRefresh" image="/gui/img/refresh.png" width="35px"
|
||||
|
@ -73,11 +73,11 @@
|
|||
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||
multiple="false">
|
||||
<listhead sizable="true">
|
||||
<listheader width="300px" label="${c:l('expressosPorCotizarController.lhTrayecto.label')}"/>
|
||||
<listheader width="400px" label="${c:l('expressosPorCotizarController.lhTrayecto.label')}"/>
|
||||
<listheader width="150px" label="${c:l('expressosPorCotizarController.lhFechaIda.label')}"/>
|
||||
<listheader width="200px" label="${c:l('expressosPorCotizarController.lhCodigoViaje.label')}"/>
|
||||
<listheader width="150px" label="${c:l('expressosPorCotizarController.lhPlacaVehiculo.label')}"/>
|
||||
<listheader width="150px" label="${c:l('expressosPorCotizarController.lhFluecPlanilla.label')}"/>
|
||||
<listheader width="180px" label="${c:l('expressosPorCotizarController.lhFluecPlanilla.label')}"/>
|
||||
</listhead>
|
||||
</listbox>
|
||||
</window>
|
||||
|
|
|
@ -0,0 +1,38 @@
|
|||
<?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="winCargarPlacaBusExpresos"?>
|
||||
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
||||
|
||||
<zk xmlns="http://www.zkoss.org/2005/zul">
|
||||
<window id="winCargarPlacaBusExpresos" title="${c:l('winAsignarBusExpresos')}"
|
||||
border="normal" width="1015px" position="center" mode="overlapped"
|
||||
apply="${cargarPlacaBusExpresosController}">
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
<column width="100px" />
|
||||
<column width="450px" />
|
||||
<column width="150px" />
|
||||
<column width="250px" />
|
||||
<column width="45px" />
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label value="${c:l('expressosPorCotizarController.lhRuta.label')}"/>
|
||||
<textbox id="txtRuta"
|
||||
disabled="true"
|
||||
width="430px"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
|
||||
|
||||
<label value="${c:l('expresosController.lbl.placa')}"/>
|
||||
<textbox
|
||||
id="txtNumPlaca"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
|
||||
|
||||
<button id="btnGuardar" image="/gui/img/save.png" width="35px"
|
||||
tooltiptext="${c:l('tooltiptext.btnGuardar')}" />
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
</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="winCumplimientoServicioExpresos"?>
|
||||
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
||||
|
||||
<zk xmlns="http://www.zkoss.org/2005/zul">
|
||||
<window id="winCumplimientoServicioExpresos" title="${c:l('winCumplimientoServicioExpresos.title')}"
|
||||
border="normal" height="484px" width="1200px" position="center" mode="overlapped"
|
||||
apply="${cumplimientoServicioExpresosController}">
|
||||
<toolbar>
|
||||
<button id="btnRefresh" image="/gui/img/refresh.png" width="35px"
|
||||
tooltiptext="${c:l('tooltiptext.btnActualizar')}" />
|
||||
<separator orient="vertical" />
|
||||
<button id="btnCerrar" onClick="winCumplimientoServicioExpresos.detach()" image="/gui/img/exit.png" width="35px"
|
||||
tooltiptext="${c:l('tooltiptext.btnFechar')}"/>
|
||||
</toolbar>
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
<column width="25%" />
|
||||
<column width="25%" />
|
||||
<column width="25%" />
|
||||
<column width="25%" />
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label value="${c:l('expressosPorCotizarFechaInicioController.lblDesc.label')}"/>
|
||||
<datebox id="txtFechaInicio" use="com.rjconsultores.ventaboletos.web.utilerias.MyDatebox" format="dd/MM/yyyy" maxlength="10" width="100%"/>
|
||||
|
||||
<label value="${c:l('expressosPorCotizarFechaFinController.lblDesc.label')}"/>
|
||||
<datebox id="txtFechaFin" use="com.rjconsultores.ventaboletos.web.utilerias.MyDatebox" format="dd/MM/yyyy" maxlength="10" width="100%"/>
|
||||
</row>
|
||||
<row spans="1,3">
|
||||
<label id="lblEmpresa" value="${c:l('expressosPorCotizarEmpresaController.lblDesc.label')}"/>
|
||||
<combobox id="cmbEmpresa"
|
||||
width="40%"
|
||||
maxlength="60"
|
||||
mold="rounded"
|
||||
buttonVisible="true"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||
model="@{winExpressoPorCotizar$composer.lsEmpresa}"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
<toolbar>
|
||||
<checkbox
|
||||
id="ckServiciosInactivos"
|
||||
checked="@{winEditarPuntoVenta$composer.puntoVenta.validaTempoParaImpressao}"
|
||||
label="${c:l('expressosPorCotizarServiciosInactivosController.lblDesc.label')}"/>
|
||||
<button
|
||||
id="btnPesquisa"
|
||||
image="/gui/img/find.png"
|
||||
label="${c:l('expressosPorCotizarBuscarController.lblDesc.label')}" />
|
||||
</toolbar>
|
||||
<paging id="pagingExpresos" pageSize="20" />
|
||||
<listbox id="expresosList"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||
multiple="false">
|
||||
<listhead sizable="true">
|
||||
<listheader width="80px" label="${c:l('expressosPorCotizarController.lhNumSolicitud.label')}"/>
|
||||
<listheader width="110px" label="${c:l('expressosPorCotizarController.lhFechaSolicitud.label')}"/>
|
||||
<listheader width="100px" label="${c:l('expressosPorCotizarController.lhRuta.label')}"/>
|
||||
<listheader width="100px" label="${c:l('expressosPorCotizarController.lhIdaRegreso.label')}"/>
|
||||
<listheader width="80px" label="${c:l('expressosPorCotizarController.lhFechaIda.label')}"/>
|
||||
<listheader width="100px" label="${c:l('expressosPorCotizarController.lhFechaRegreso.label')}"/>
|
||||
<listheader width="110px" label="${c:l('expressosPorCotizarController.lhSitioRecogidaIda.label')}"/>
|
||||
<listheader width="140px" label="${c:l('expressosPorCotizarController.lhSitioRecogidaRegreso.label')}"/>
|
||||
<listheader width="120px" label="${c:l('expressosPorCotizarController.lhEstado.label')}"/>
|
||||
<listheader width="350px"/>
|
||||
</listhead>
|
||||
</listbox>
|
||||
</window>
|
||||
</zk>
|
|
@ -120,6 +120,11 @@
|
|||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<label id="lbIndQuantViasImp" value="${c:l('editarFormaPagoController.lbvias.value')}" tooltiptext="${c:l('editarFormaPagoController.lbvias.mouseover')}"/>
|
||||
<intbox id="intboxIndQuantViasImp" width="80px" value="@{winEditarTipoEventoExtra$composer.tipoEventoExtra.indQuantViasImp}" />
|
||||
</row>
|
||||
|
||||
<row spans="2">
|
||||
<checkbox id="chkValidarEstoque"
|
||||
checked="@{winEditarTipoEventoExtra$composer.tipoEventoExtra.indValidarEstoque}"
|
||||
|
|
Loading…
Reference in New Issue