Se agrega definición de estados de expreso de acuerdo al catálogo STATUS SOLICITUD EXPRESO. Se agrega filtro de búsqueda por Número de Solicitud de Expreso#AL-5135
parent
45722421b2
commit
20906bd136
6
pom.xml
6
pom.xml
|
@ -4,12 +4,12 @@
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>br.com.rjconsultores</groupId>
|
<groupId>br.com.rjconsultores</groupId>
|
||||||
<artifactId>ventaboletosadm</artifactId>
|
<artifactId>ventaboletosadm</artifactId>
|
||||||
<version>1.163.1</version>
|
<version>1.163.2</version>
|
||||||
<packaging>war</packaging>
|
<packaging>war</packaging>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<modelWeb.version>1.121.3</modelWeb.version>
|
<modelWeb.version>1.121.4</modelWeb.version>
|
||||||
<flyway.version>1.103.1</flyway.version>
|
<flyway.version>1.103.2</flyway.version>
|
||||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
|
|
|
@ -33,6 +33,7 @@ import org.zkoss.zk.ui.event.EventListener;
|
||||||
import org.zkoss.zk.ui.event.UploadEvent;
|
import org.zkoss.zk.ui.event.UploadEvent;
|
||||||
import org.zkoss.zul.Checkbox;
|
import org.zkoss.zul.Checkbox;
|
||||||
import org.zkoss.zul.Combobox;
|
import org.zkoss.zul.Combobox;
|
||||||
|
import org.zkoss.zul.Intbox;
|
||||||
import org.zkoss.zul.Messagebox;
|
import org.zkoss.zul.Messagebox;
|
||||||
import org.zkoss.zul.Paging;
|
import org.zkoss.zul.Paging;
|
||||||
|
|
||||||
|
@ -83,6 +84,8 @@ public class CargaContratoExpressosController extends MyGenericForwardComposer{
|
||||||
SolicitudExpreso expreso;
|
SolicitudExpreso expreso;
|
||||||
SolicitudExpreso expresoClone;
|
SolicitudExpreso expresoClone;
|
||||||
|
|
||||||
|
private Intbox txtNumSolicitud;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void doAfterCompose(Component comp) throws Exception {
|
public void doAfterCompose(Component comp) throws Exception {
|
||||||
lsEmpresa = empresaService.obtenerTodos();
|
lsEmpresa = empresaService.obtenerTodos();
|
||||||
|
@ -149,6 +152,10 @@ public class CargaContratoExpressosController extends MyGenericForwardComposer{
|
||||||
buscarExpresos.addFilterEqual("ACTIVO", true);
|
buscarExpresos.addFilterEqual("ACTIVO", true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(txtNumSolicitud.getValue() != null && txtNumSolicitud.getValue().toString() != "") {
|
||||||
|
buscarExpresos.addFilterEqual("solicitudExpresoId", txtNumSolicitud.getValue());
|
||||||
|
}
|
||||||
|
|
||||||
List<Integer> filterStatusSolicitudExpreso = new ArrayList<Integer>();
|
List<Integer> filterStatusSolicitudExpreso = new ArrayList<Integer>();
|
||||||
filterStatusSolicitudExpreso.add(3);
|
filterStatusSolicitudExpreso.add(3);
|
||||||
|
|
||||||
|
@ -157,33 +164,6 @@ public class CargaContratoExpressosController extends MyGenericForwardComposer{
|
||||||
plwTrayectosExpresos.init(buscarExpresos, expresosList, pagingExpresos);
|
plwTrayectosExpresos.init(buscarExpresos, expresosList, pagingExpresos);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onUpload(UploadEvent event) throws IOException, InterruptedException, CloneNotSupportedException {
|
|
||||||
if(expreso == null) {
|
|
||||||
Messagebox.show(
|
|
||||||
Labels.getLabel("cargaContratoController.MSG.errorExpresoNull"),
|
|
||||||
Labels.getLabel("winExpressoCargaContrato.title"),
|
|
||||||
Messagebox.OK, Messagebox.ERROR);
|
|
||||||
}else {
|
|
||||||
Media media = event.getMedia();
|
|
||||||
|
|
||||||
if(media.getFormat().equalsIgnoreCase("pdf")) {
|
|
||||||
InputStream inputStream = media.getStreamData();
|
|
||||||
byte[] bytesIs = IOUtils.toByteArray(inputStream);
|
|
||||||
|
|
||||||
expreso.setDocContrato(bytesIs);
|
|
||||||
|
|
||||||
solicitudExpresosService.actualizacion(expreso);
|
|
||||||
|
|
||||||
logAuditoriaService.auditar(expresoClone, expreso, null);
|
|
||||||
} else {
|
|
||||||
Messagebox.show(
|
|
||||||
Labels.getLabel("cargaContratoController.MSG.errorFormatoContrato") + " " + media,
|
|
||||||
Labels.getLabel("winExpressoCargaContrato.title"),
|
|
||||||
Messagebox.OK, Messagebox.ERROR);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public void onClick$btnRefresh(Event ev) {
|
public void onClick$btnRefresh(Event ev) {
|
||||||
refreshLista();
|
refreshLista();
|
||||||
}
|
}
|
||||||
|
|
|
@ -57,12 +57,14 @@ import com.rjconsultores.ventaboletos.entidad.Constante;
|
||||||
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
||||||
import com.rjconsultores.ventaboletos.entidad.Parada;
|
import com.rjconsultores.ventaboletos.entidad.Parada;
|
||||||
import com.rjconsultores.ventaboletos.entidad.SolicitudExpreso;
|
import com.rjconsultores.ventaboletos.entidad.SolicitudExpreso;
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.StatusSolicitudExpreso;
|
||||||
import com.rjconsultores.ventaboletos.entidad.TrayectosExpresos;
|
import com.rjconsultores.ventaboletos.entidad.TrayectosExpresos;
|
||||||
import com.rjconsultores.ventaboletos.service.CiudadService;
|
import com.rjconsultores.ventaboletos.service.CiudadService;
|
||||||
import com.rjconsultores.ventaboletos.service.ConstanteService;
|
import com.rjconsultores.ventaboletos.service.ConstanteService;
|
||||||
import com.rjconsultores.ventaboletos.service.LogAuditoriaService;
|
import com.rjconsultores.ventaboletos.service.LogAuditoriaService;
|
||||||
import com.rjconsultores.ventaboletos.service.ParadaService;
|
import com.rjconsultores.ventaboletos.service.ParadaService;
|
||||||
import com.rjconsultores.ventaboletos.service.SolicitudExpresosService;
|
import com.rjconsultores.ventaboletos.service.SolicitudExpresosService;
|
||||||
|
import com.rjconsultores.ventaboletos.service.StatusSolicitudExpresosService;
|
||||||
import com.rjconsultores.ventaboletos.service.TrayectosExpresosService;
|
import com.rjconsultores.ventaboletos.service.TrayectosExpresosService;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
||||||
|
@ -90,6 +92,9 @@ public class CotizarExpresoController extends MyGenericForwardComposer{
|
||||||
@Autowired
|
@Autowired
|
||||||
SolicitudExpresosService solicitudExpresosService;
|
SolicitudExpresosService solicitudExpresosService;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
StatusSolicitudExpresosService statusSolicitudExpresosService;
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
ConstanteService constanteService;
|
ConstanteService constanteService;
|
||||||
|
|
||||||
|
@ -126,8 +131,16 @@ public class CotizarExpresoController extends MyGenericForwardComposer{
|
||||||
@Override
|
@Override
|
||||||
public void doAfterCompose(Component comp) throws Exception {
|
public void doAfterCompose(Component comp) throws Exception {
|
||||||
|
|
||||||
lsOrigen = paradaService.obtenerTodos();
|
List<Parada> listParadas = paradaService.obtenerTodos();
|
||||||
lsDestino = paradaService.obtenerTodos();
|
|
||||||
|
lsOrigen = new ArrayList<Parada>();
|
||||||
|
lsOrigen.addAll(listParadas);
|
||||||
|
|
||||||
|
lsDestino = new ArrayList<Parada>();
|
||||||
|
lsDestino.addAll(listParadas);
|
||||||
|
|
||||||
|
//lsOrigen = paradaService.obtenerTodos();
|
||||||
|
//lsDestino = paradaService.obtenerTodos();
|
||||||
|
|
||||||
super.doAfterCompose(comp);
|
super.doAfterCompose(comp);
|
||||||
|
|
||||||
|
@ -207,7 +220,11 @@ public class CotizarExpresoController extends MyGenericForwardComposer{
|
||||||
Messagebox.OK, Messagebox.ERROR);
|
Messagebox.OK, Messagebox.ERROR);
|
||||||
}else {
|
}else {
|
||||||
expreso.setDocCotizacion(docCotizacion);
|
expreso.setDocCotizacion(docCotizacion);
|
||||||
expreso.setStatusSolicitudExpresoId(2);
|
|
||||||
|
int status = ((StatusSolicitudExpreso)statusSolicitudExpresosService.obtenerStatusPorDesc("SOLICITADA")).getStatusSolicitudExpresoId();
|
||||||
|
|
||||||
|
expreso.setStatusSolicitudExpresoId(status);
|
||||||
|
|
||||||
solicitudExpresosService.actualizacion(expreso);
|
solicitudExpresosService.actualizacion(expreso);
|
||||||
|
|
||||||
logAuditoriaService.auditar(expresoClone, expreso, null);
|
logAuditoriaService.auditar(expresoClone, expreso, null);
|
||||||
|
|
|
@ -17,15 +17,18 @@ import org.zkoss.zk.ui.event.Event;
|
||||||
import org.zkoss.zk.ui.event.EventListener;
|
import org.zkoss.zk.ui.event.EventListener;
|
||||||
import org.zkoss.zul.Checkbox;
|
import org.zkoss.zul.Checkbox;
|
||||||
import org.zkoss.zul.Combobox;
|
import org.zkoss.zul.Combobox;
|
||||||
|
import org.zkoss.zul.Intbox;
|
||||||
import org.zkoss.zul.Messagebox;
|
import org.zkoss.zul.Messagebox;
|
||||||
import org.zkoss.zul.Paging;
|
import org.zkoss.zul.Paging;
|
||||||
|
|
||||||
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
||||||
import com.rjconsultores.ventaboletos.entidad.SolicitudExpreso;
|
import com.rjconsultores.ventaboletos.entidad.SolicitudExpreso;
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.StatusSolicitudExpreso;
|
||||||
import com.rjconsultores.ventaboletos.entidad.TrayectosExpresos;
|
import com.rjconsultores.ventaboletos.entidad.TrayectosExpresos;
|
||||||
import com.rjconsultores.ventaboletos.service.EmpresaService;
|
import com.rjconsultores.ventaboletos.service.EmpresaService;
|
||||||
import com.rjconsultores.ventaboletos.service.LogAuditoriaService;
|
import com.rjconsultores.ventaboletos.service.LogAuditoriaService;
|
||||||
import com.rjconsultores.ventaboletos.service.SolicitudExpresosService;
|
import com.rjconsultores.ventaboletos.service.SolicitudExpresosService;
|
||||||
|
import com.rjconsultores.ventaboletos.service.StatusSolicitudExpresosService;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.MyDatebox;
|
import com.rjconsultores.ventaboletos.web.utilerias.MyDatebox;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
||||||
|
@ -48,6 +51,9 @@ public class CumplimientoServicioExpresosController extends MyGenericForwardComp
|
||||||
@Autowired
|
@Autowired
|
||||||
SolicitudExpresosService solicitudExpreso;
|
SolicitudExpresosService solicitudExpreso;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
StatusSolicitudExpresosService statusSolicitudExpresosService;
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private LogAuditoriaService logAuditoriaService;
|
private LogAuditoriaService logAuditoriaService;
|
||||||
|
|
||||||
|
@ -62,6 +68,8 @@ public class CumplimientoServicioExpresosController extends MyGenericForwardComp
|
||||||
SolicitudExpreso expreso;
|
SolicitudExpreso expreso;
|
||||||
SolicitudExpreso expresoClone;
|
SolicitudExpreso expresoClone;
|
||||||
|
|
||||||
|
private Intbox txtNumSolicitud;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void doAfterCompose(Component comp) throws Exception {
|
public void doAfterCompose(Component comp) throws Exception {
|
||||||
lsEmpresa = empresaService.obtenerTodos();
|
lsEmpresa = empresaService.obtenerTodos();
|
||||||
|
@ -88,7 +96,10 @@ public class CumplimientoServicioExpresosController extends MyGenericForwardComp
|
||||||
byte[] bytesIs = IOUtils.toByteArray(inputStream);
|
byte[] bytesIs = IOUtils.toByteArray(inputStream);
|
||||||
|
|
||||||
expreso.setDocCumplimientoServicio(bytesIs);
|
expreso.setDocCumplimientoServicio(bytesIs);
|
||||||
expreso.setStatusSolicitudExpresoId(5);
|
|
||||||
|
int status = ((StatusSolicitudExpreso)statusSolicitudExpresosService.obtenerStatusPorDesc("CUMPLIDO")).getStatusSolicitudExpresoId();
|
||||||
|
|
||||||
|
expreso.setStatusSolicitudExpresoId(status);
|
||||||
|
|
||||||
solicitudExpreso.actualizacion(expreso);
|
solicitudExpreso.actualizacion(expreso);
|
||||||
|
|
||||||
|
@ -122,6 +133,10 @@ public class CumplimientoServicioExpresosController extends MyGenericForwardComp
|
||||||
buscarExpresos.addFilterLessOrEqual("fechaSolicitud", fechaFin);
|
buscarExpresos.addFilterLessOrEqual("fechaSolicitud", fechaFin);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(txtNumSolicitud.getValue() != null && txtNumSolicitud.getValue().toString() != "") {
|
||||||
|
buscarExpresos.addFilterEqual("solicitudExpresoId", txtNumSolicitud.getValue());
|
||||||
|
}
|
||||||
|
|
||||||
if(ckServiciosInactivos.isChecked()) {
|
if(ckServiciosInactivos.isChecked()) {
|
||||||
buscarExpresos.addFilterEqual("ACTIVO", true);
|
buscarExpresos.addFilterEqual("ACTIVO", true);
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,6 +28,7 @@ import org.zkoss.zk.ui.event.Event;
|
||||||
import org.zkoss.zk.ui.event.EventListener;
|
import org.zkoss.zk.ui.event.EventListener;
|
||||||
import org.zkoss.zul.Checkbox;
|
import org.zkoss.zul.Checkbox;
|
||||||
import org.zkoss.zul.Combobox;
|
import org.zkoss.zul.Combobox;
|
||||||
|
import org.zkoss.zul.Intbox;
|
||||||
import org.zkoss.zul.Messagebox;
|
import org.zkoss.zul.Messagebox;
|
||||||
import org.zkoss.zul.Paging;
|
import org.zkoss.zul.Paging;
|
||||||
|
|
||||||
|
@ -84,6 +85,8 @@ public class DocumentosExpresosController extends MyGenericForwardComposer{
|
||||||
|
|
||||||
SolicitudExpreso expreso;
|
SolicitudExpreso expreso;
|
||||||
|
|
||||||
|
private Intbox txtNumSolicitud;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void doAfterCompose(Component comp) throws Exception {
|
public void doAfterCompose(Component comp) throws Exception {
|
||||||
lsEmpresa = empresaService.obtenerTodos();
|
lsEmpresa = empresaService.obtenerTodos();
|
||||||
|
@ -148,6 +151,10 @@ public class DocumentosExpresosController extends MyGenericForwardComposer{
|
||||||
buscarExpresos.addFilterLessOrEqual("fechaSolicitud", fechaFin);
|
buscarExpresos.addFilterLessOrEqual("fechaSolicitud", fechaFin);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(txtNumSolicitud.getValue() != null && txtNumSolicitud.getValue().toString() != "") {
|
||||||
|
buscarExpresos.addFilterEqual("solicitudExpresoId", txtNumSolicitud.getValue());
|
||||||
|
}
|
||||||
|
|
||||||
if(ckServiciosInactivos.isChecked()) {
|
if(ckServiciosInactivos.isChecked()) {
|
||||||
buscarExpresos.addFilterEqual("ACTIVO", true);
|
buscarExpresos.addFilterEqual("ACTIVO", true);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,49 +1,29 @@
|
||||||
package com.rjconsultores.ventaboletos.web.gui.controladores.expressos;
|
package com.rjconsultores.ventaboletos.web.gui.controladores.expressos;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Calendar;
|
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
import java.util.HashMap;
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
|
||||||
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.context.annotation.Scope;
|
import org.springframework.context.annotation.Scope;
|
||||||
import org.springframework.stereotype.Controller;
|
import org.springframework.stereotype.Controller;
|
||||||
import org.zkoss.util.resource.Labels;
|
|
||||||
import org.zkoss.zhtml.Messagebox;
|
|
||||||
import org.zkoss.zk.ui.Component;
|
import org.zkoss.zk.ui.Component;
|
||||||
import org.zkoss.zk.ui.event.Event;
|
import org.zkoss.zk.ui.event.Event;
|
||||||
import org.zkoss.zk.ui.event.EventListener;
|
|
||||||
import org.zkoss.zul.Checkbox;
|
import org.zkoss.zul.Checkbox;
|
||||||
import org.zkoss.zul.Combobox;
|
import org.zkoss.zul.Combobox;
|
||||||
import org.zkoss.zul.Comboitem;
|
import org.zkoss.zul.Intbox;
|
||||||
import org.zkoss.zul.Paging;
|
import org.zkoss.zul.Paging;
|
||||||
|
|
||||||
import com.rjconsultores.ventaboletos.entidad.Constante;
|
|
||||||
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
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.SolicitudExpreso;
|
||||||
import com.rjconsultores.ventaboletos.entidad.TipoCortesia;
|
import com.rjconsultores.ventaboletos.entidad.StatusSolicitudExpreso;
|
||||||
import com.rjconsultores.ventaboletos.entidad.TipoIdentificacion;
|
import com.rjconsultores.ventaboletos.service.StatusSolicitudExpresosService;
|
||||||
import com.rjconsultores.ventaboletos.entidad.Usuario;
|
|
||||||
import com.rjconsultores.ventaboletos.entidad.SolicitudExpreso;
|
|
||||||
import com.rjconsultores.ventaboletos.service.ConstanteService;
|
|
||||||
import com.rjconsultores.ventaboletos.service.EmpresaService;
|
|
||||||
import com.rjconsultores.ventaboletos.service.SolicitudExpresosService;
|
|
||||||
import com.rjconsultores.ventaboletos.service.TipoIdentificacionService;
|
|
||||||
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
|
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar;
|
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.MyDatebox;
|
import com.rjconsultores.ventaboletos.web.utilerias.MyDatebox;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.HibernateSearchObject;
|
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.HibernateSearchObject;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.PagedListWrapper;
|
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.PagedListWrapper;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderExpresosPorCotizar;
|
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderExpresosPorCotizar;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderHistoricoFormaPagoSelecao;
|
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.spring.AppContext;
|
|
||||||
import com.trg.search.Filter;
|
|
||||||
|
|
||||||
@Controller("expressosPorCotizarController")
|
@Controller("expressosPorCotizarController")
|
||||||
@Scope("prototype")
|
@Scope("prototype")
|
||||||
|
@ -55,10 +35,7 @@ public class ExpressosPorCotizarController extends MyGenericForwardComposer{
|
||||||
private transient PagedListWrapper<SolicitudExpreso> plwTrayectosExpresos;
|
private transient PagedListWrapper<SolicitudExpreso> plwTrayectosExpresos;
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private EmpresaService empresaService;
|
StatusSolicitudExpresosService statusSolicitudExpresosService;
|
||||||
|
|
||||||
@Autowired
|
|
||||||
SolicitudExpresosService solicitudExpresosService;
|
|
||||||
|
|
||||||
private List<Empresa> lsEmpresa;
|
private List<Empresa> lsEmpresa;
|
||||||
private Combobox cmbEmpresa;
|
private Combobox cmbEmpresa;
|
||||||
|
@ -69,11 +46,10 @@ public class ExpressosPorCotizarController extends MyGenericForwardComposer{
|
||||||
private MyDatebox txtFechaInicio;
|
private MyDatebox txtFechaInicio;
|
||||||
private MyDatebox txtFechaFin;
|
private MyDatebox txtFechaFin;
|
||||||
|
|
||||||
SolicitudExpreso expreso;
|
private Intbox txtNumSolicitud;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void doAfterCompose(Component comp) throws Exception {
|
public void doAfterCompose(Component comp) throws Exception {
|
||||||
lsEmpresa = empresaService.obtenerTodos();
|
|
||||||
super.doAfterCompose(comp);
|
super.doAfterCompose(comp);
|
||||||
|
|
||||||
expresosList.setItemRenderer(new RenderExpresosPorCotizar(this));
|
expresosList.setItemRenderer(new RenderExpresosPorCotizar(this));
|
||||||
|
@ -99,9 +75,18 @@ public class ExpressosPorCotizarController extends MyGenericForwardComposer{
|
||||||
buscarExpresos.addFilterEqual(ACTIVO, true);
|
buscarExpresos.addFilterEqual(ACTIVO, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(txtNumSolicitud.getValue() != null && txtNumSolicitud.getValue().toString() != "") {
|
||||||
|
buscarExpresos.addFilterEqual("solicitudExpresoId", txtNumSolicitud.getValue());
|
||||||
|
}
|
||||||
|
|
||||||
List<Integer> filterStatusSolicitudExpreso = new ArrayList<Integer>();
|
List<Integer> filterStatusSolicitudExpreso = new ArrayList<Integer>();
|
||||||
filterStatusSolicitudExpreso.add(1);
|
|
||||||
filterStatusSolicitudExpreso.add(2);
|
for(StatusSolicitudExpreso status : statusSolicitudExpresosService.obtenerTodos()) {
|
||||||
|
switch (status.getDescStatusSolicitudExpreso()) {
|
||||||
|
case "SOLICITADA": filterStatusSolicitudExpreso.add(status.getStatusSolicitudExpresoId()); break;
|
||||||
|
case "COTIZACION_ENVIADA": filterStatusSolicitudExpreso.add(status.getStatusSolicitudExpresoId()); break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
buscarExpresos.addFilterIn("statusSolicitudExpresoId", filterStatusSolicitudExpreso);
|
buscarExpresos.addFilterIn("statusSolicitudExpresoId", filterStatusSolicitudExpreso);
|
||||||
|
|
||||||
|
|
|
@ -15,6 +15,7 @@ import org.zkoss.util.resource.Labels;
|
||||||
import org.zkoss.zk.ui.Component;
|
import org.zkoss.zk.ui.Component;
|
||||||
import org.zkoss.zk.ui.event.Event;
|
import org.zkoss.zk.ui.event.Event;
|
||||||
import org.zkoss.zul.Filedownload;
|
import org.zkoss.zul.Filedownload;
|
||||||
|
import org.zkoss.zul.Intbox;
|
||||||
import org.zkoss.zul.Messagebox;
|
import org.zkoss.zul.Messagebox;
|
||||||
import org.zkoss.zul.Paging;
|
import org.zkoss.zul.Paging;
|
||||||
|
|
||||||
|
@ -43,13 +44,13 @@ public class InformeViajesOcasionalesExpresosController extends MyGenericForward
|
||||||
private MyListbox expresosList;
|
private MyListbox expresosList;
|
||||||
private Paging pagingExpresos;
|
private Paging pagingExpresos;
|
||||||
|
|
||||||
|
private Intbox txtNumSolicitud;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void doAfterCompose(Component comp) throws Exception {
|
public void doAfterCompose(Component comp) throws Exception {
|
||||||
super.doAfterCompose(comp);
|
super.doAfterCompose(comp);
|
||||||
|
|
||||||
expresosList.setItemRenderer(new RenderInformeViajesOcasionales());
|
expresosList.setItemRenderer(new RenderInformeViajesOcasionales());
|
||||||
|
|
||||||
//refreshLista();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void refreshLista() throws InterruptedException {
|
private void refreshLista() throws InterruptedException {
|
||||||
|
@ -66,6 +67,10 @@ public class InformeViajesOcasionalesExpresosController extends MyGenericForward
|
||||||
buscarExpresos.addFilterLessOrEqual("solicitudExpresoId.fechaSolicitud", DateUtil.fimFecha(fechaFin));
|
buscarExpresos.addFilterLessOrEqual("solicitudExpresoId.fechaSolicitud", DateUtil.fimFecha(fechaFin));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(txtNumSolicitud.getValue() != null && txtNumSolicitud.getValue().toString() != "") {
|
||||||
|
buscarExpresos.addFilterEqual("solicitudExpresoId.solicitudExpresoId", txtNumSolicitud.getValue());
|
||||||
|
}
|
||||||
|
|
||||||
plwTrayectosExpresos.init(buscarExpresos, expresosList, pagingExpresos);
|
plwTrayectosExpresos.init(buscarExpresos, expresosList, pagingExpresos);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -19,6 +19,7 @@ import org.zkoss.zhtml.Messagebox;
|
||||||
import org.zkoss.zk.ui.Component;
|
import org.zkoss.zk.ui.Component;
|
||||||
import org.zkoss.zk.ui.event.Event;
|
import org.zkoss.zk.ui.event.Event;
|
||||||
import org.zkoss.zul.Datebox;
|
import org.zkoss.zul.Datebox;
|
||||||
|
import org.zkoss.zul.Intbox;
|
||||||
import org.zkoss.zul.Paging;
|
import org.zkoss.zul.Paging;
|
||||||
|
|
||||||
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
||||||
|
@ -51,7 +52,6 @@ public class LogExpresosController extends MyGenericForwardComposer{
|
||||||
|
|
||||||
private static Logger log = LogManager.getLogger(LogExpresosController.class);
|
private static Logger log = LogManager.getLogger(LogExpresosController.class);
|
||||||
|
|
||||||
private MyComboboxEstandar cmbTipoAlteracao;
|
|
||||||
private MyListbox logAuditoriaList;
|
private MyListbox logAuditoriaList;
|
||||||
private Paging pagingLogAuditoria;
|
private Paging pagingLogAuditoria;
|
||||||
|
|
||||||
|
@ -112,7 +112,6 @@ public class LogExpresosController extends MyGenericForwardComposer{
|
||||||
sistemaBusqueda.addFilterLike("usuario.claveUsuario", "%" + cveUsuario.trim().concat("%"));
|
sistemaBusqueda.addFilterLike("usuario.claveUsuario", "%" + cveUsuario.trim().concat("%"));
|
||||||
}
|
}
|
||||||
|
|
||||||
//sistemaBusqueda.addFilterEqual("tela", recuperarChaveNomeTela("auditarClasse.SolicitudExpreso"));
|
|
||||||
sistemaBusqueda.addFilterEqual("tela", "auditarClasse.SolicitudExpreso");
|
sistemaBusqueda.addFilterEqual("tela", "auditarClasse.SolicitudExpreso");
|
||||||
|
|
||||||
sistemaBusqueda.addSortAsc("fecmodif");
|
sistemaBusqueda.addSortAsc("fecmodif");
|
||||||
|
@ -130,8 +129,6 @@ public class LogExpresosController extends MyGenericForwardComposer{
|
||||||
log.error("", ex);
|
log.error("", ex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}else {
|
|
||||||
//configurarNomesTelas();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,7 @@ import org.zkoss.zk.ui.Component;
|
||||||
import org.zkoss.zk.ui.event.Event;
|
import org.zkoss.zk.ui.event.Event;
|
||||||
import org.zkoss.zul.Checkbox;
|
import org.zkoss.zul.Checkbox;
|
||||||
import org.zkoss.zul.Combobox;
|
import org.zkoss.zul.Combobox;
|
||||||
|
import org.zkoss.zul.Intbox;
|
||||||
import org.zkoss.zul.Paging;
|
import org.zkoss.zul.Paging;
|
||||||
|
|
||||||
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
||||||
|
@ -42,6 +43,8 @@ public class ProgramacionVehiculosExpresosController extends MyGenericForwardCom
|
||||||
private MyDatebox txtFechaInicio;
|
private MyDatebox txtFechaInicio;
|
||||||
private MyDatebox txtFechaFin;
|
private MyDatebox txtFechaFin;
|
||||||
|
|
||||||
|
private Intbox txtNumSolicitud;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void doAfterCompose(Component comp) throws Exception {
|
public void doAfterCompose(Component comp) throws Exception {
|
||||||
lsEmpresa = empresaService.obtenerTodos();
|
lsEmpresa = empresaService.obtenerTodos();
|
||||||
|
@ -66,6 +69,10 @@ public class ProgramacionVehiculosExpresosController extends MyGenericForwardCom
|
||||||
buscarExpresos.addFilterLessOrEqual("fechaSolicitud", fechaFin);
|
buscarExpresos.addFilterLessOrEqual("fechaSolicitud", fechaFin);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(txtNumSolicitud.getValue() != null && txtNumSolicitud.getValue().toString() != "") {
|
||||||
|
buscarExpresos.addFilterEqual("solicitudExpresoId", txtNumSolicitud.getValue());
|
||||||
|
}
|
||||||
|
|
||||||
if(ckServiciosInactivos.isChecked()) {
|
if(ckServiciosInactivos.isChecked()) {
|
||||||
buscarExpresos.addFilterEqual("ACTIVO", true);
|
buscarExpresos.addFilterEqual("ACTIVO", true);
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,6 +9,7 @@ import org.springframework.stereotype.Controller;
|
||||||
import org.zkoss.util.resource.Labels;
|
import org.zkoss.util.resource.Labels;
|
||||||
import org.zkoss.zk.ui.Component;
|
import org.zkoss.zk.ui.Component;
|
||||||
import org.zkoss.zk.ui.event.Event;
|
import org.zkoss.zk.ui.event.Event;
|
||||||
|
import org.zkoss.zul.Intbox;
|
||||||
import org.zkoss.zul.Messagebox;
|
import org.zkoss.zul.Messagebox;
|
||||||
import org.zkoss.zul.Paging;
|
import org.zkoss.zul.Paging;
|
||||||
|
|
||||||
|
@ -35,6 +36,8 @@ public class SeguimientoExpresosController extends MyGenericForwardComposer{
|
||||||
private MyListbox expresosList;
|
private MyListbox expresosList;
|
||||||
private Paging pagingExpresos;
|
private Paging pagingExpresos;
|
||||||
|
|
||||||
|
private Intbox txtNumSolicitud;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void doAfterCompose(Component comp) throws Exception {
|
public void doAfterCompose(Component comp) throws Exception {
|
||||||
super.doAfterCompose(comp);
|
super.doAfterCompose(comp);
|
||||||
|
@ -58,6 +61,10 @@ public class SeguimientoExpresosController extends MyGenericForwardComposer{
|
||||||
buscarExpresos.addFilterLessOrEqual("solicitudExpresoId.fechaSolicitud", DateUtil.fimFecha(fechaFin));
|
buscarExpresos.addFilterLessOrEqual("solicitudExpresoId.fechaSolicitud", DateUtil.fimFecha(fechaFin));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(txtNumSolicitud.getValue() != null && txtNumSolicitud.getValue().toString() != "") {
|
||||||
|
buscarExpresos.addFilterEqual("solicitudExpresoId.solicitudExpresoId", txtNumSolicitud.getValue());
|
||||||
|
}
|
||||||
|
|
||||||
plwTrayectosExpresos.init(buscarExpresos, expresosList, pagingExpresos);
|
plwTrayectosExpresos.init(buscarExpresos, expresosList, pagingExpresos);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -142,21 +142,6 @@ public class RenderDocumentosExpresos implements ListitemRenderer {
|
||||||
btnVerListaPasajeros.setAttribute("data", data);
|
btnVerListaPasajeros.setAttribute("data", data);
|
||||||
btnVerListaPasajeros.addEventListener("onClick", listenerGenerico);
|
btnVerListaPasajeros.addEventListener("onClick", listenerGenerico);
|
||||||
|
|
||||||
/*
|
|
||||||
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);
|
lc.appendChild(btnVerListaPasajeros);
|
||||||
|
|
||||||
item.setAttribute("data", expresos);
|
item.setAttribute("data", expresos);
|
||||||
|
|
|
@ -117,13 +117,6 @@ public class RenderExpresosPorCotizar implements ListitemRenderer {
|
||||||
Labels.getLabel("winExpressoCargaContrato.title"),
|
Labels.getLabel("winExpressoCargaContrato.title"),
|
||||||
Messagebox.OK, Messagebox.ERROR);
|
Messagebox.OK, Messagebox.ERROR);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
Map args = new HashMap();
|
|
||||||
args.put("expreso", expreso);
|
|
||||||
|
|
||||||
expresosControllerWindow.openWindow("/gui/expressos/detalleExpreso.zul", Labels.getLabel("verDetalleExpreso.window.title"), args, PantallaUtileria.MODAL);
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -182,8 +175,6 @@ public class RenderExpresosPorCotizar implements ListitemRenderer {
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
//case 3: break;
|
|
||||||
//case 4: break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
item.setAttribute("data", expresos);
|
item.setAttribute("data", expresos);
|
||||||
|
|
|
@ -1,7 +1,12 @@
|
||||||
package com.rjconsultores.ventaboletos.web.utilerias.render;
|
package com.rjconsultores.ventaboletos.web.utilerias.render;
|
||||||
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.zkoss.util.media.AMedia;
|
||||||
import org.zkoss.util.resource.Labels;
|
import org.zkoss.util.resource.Labels;
|
||||||
|
import org.zkoss.zhtml.Filedownload;
|
||||||
|
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.Listcell;
|
||||||
import org.zkoss.zul.Listitem;
|
import org.zkoss.zul.Listitem;
|
||||||
import org.zkoss.zul.ListitemRenderer;
|
import org.zkoss.zul.ListitemRenderer;
|
||||||
|
@ -38,8 +43,37 @@ public class RenderInformeViajesOcasionales implements ListitemRenderer {
|
||||||
lc = new Listcell(""); //Agencia contrató
|
lc = new Listcell(""); //Agencia contrató
|
||||||
lc.setParent(item);
|
lc.setParent(item);
|
||||||
|
|
||||||
|
int estadoExpreso = (expresos.getSolicitudExpresoId().getStatusSolicitudExpresoId() == null ? 0 : expresos.getSolicitudExpresoId().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);
|
||||||
|
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
lc = new Listcell(Labels.getLabel("expresosController.lbl.estadoRechazado"));
|
||||||
|
lc.setParent(item);
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
lc = new Listcell(Labels.getLabel("expresosController.lbl.estadoCumplido"));
|
||||||
|
lc.setParent(item);
|
||||||
|
break;
|
||||||
|
default: break;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
lc = new Listcell(expresos.getSolicitudExpresoId().getStatusSolicitudExpresoId().toString()); //Estado
|
lc = new Listcell(expresos.getSolicitudExpresoId().getStatusSolicitudExpresoId().toString()); //Estado
|
||||||
lc.setParent(item);
|
lc.setParent(item);
|
||||||
|
*/
|
||||||
|
|
||||||
lc = new Listcell(""); //NIT
|
lc = new Listcell(""); //NIT
|
||||||
lc.setParent(item);
|
lc.setParent(item);
|
||||||
|
|
|
@ -50,8 +50,37 @@ public class RenderSeguimientoExpresos implements ListitemRenderer {
|
||||||
lc = new Listcell(expresos.getNumPlaca() == null ? "N/A" : expresos.getNumPlaca().toString()); //Placa
|
lc = new Listcell(expresos.getNumPlaca() == null ? "N/A" : expresos.getNumPlaca().toString()); //Placa
|
||||||
lc.setParent(item);
|
lc.setParent(item);
|
||||||
|
|
||||||
|
int estadoExpreso = (expresos.getSolicitudExpresoId().getStatusSolicitudExpresoId() == null ? 0 : expresos.getSolicitudExpresoId().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);
|
||||||
|
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
lc = new Listcell(Labels.getLabel("expresosController.lbl.estadoRechazado"));
|
||||||
|
lc.setParent(item);
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
lc = new Listcell(Labels.getLabel("expresosController.lbl.estadoCumplido"));
|
||||||
|
lc.setParent(item);
|
||||||
|
break;
|
||||||
|
default: break;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
lc = new Listcell(expresos.getSolicitudExpresoId().getStatusSolicitudExpresoId().toString()); //Estado
|
lc = new Listcell(expresos.getSolicitudExpresoId().getStatusSolicitudExpresoId().toString()); //Estado
|
||||||
lc.setParent(item);
|
lc.setParent(item);
|
||||||
|
*/
|
||||||
|
|
||||||
lc = new Listcell(expresos.getSolicitudExpresoId().getDocContrato() != null ? Labels.getLabel("MSG.SI") : Labels.getLabel("MSG.NO"));
|
lc = new Listcell(expresos.getSolicitudExpresoId().getDocContrato() != null ? Labels.getLabel("MSG.SI") : Labels.getLabel("MSG.NO"));
|
||||||
lc.setParent(item);
|
lc.setParent(item);
|
||||||
|
|
|
@ -488,6 +488,7 @@
|
||||||
<value>com.rjconsultores.ventaboletos.entidad.ConfiguracionProductoParada</value>
|
<value>com.rjconsultores.ventaboletos.entidad.ConfiguracionProductoParada</value>
|
||||||
<value>com.rjconsultores.ventaboletos.entidad.EmpresaNequiConfig</value>
|
<value>com.rjconsultores.ventaboletos.entidad.EmpresaNequiConfig</value>
|
||||||
<value>com.rjconsultores.ventaboletos.entidad.RevenueConfig</value>
|
<value>com.rjconsultores.ventaboletos.entidad.RevenueConfig</value>
|
||||||
|
<value>com.rjconsultores.ventaboletos.entidad.StatusSolicitudExpreso</value>
|
||||||
|
|
||||||
</list>
|
</list>
|
||||||
</property>
|
</property>
|
||||||
|
|
|
@ -30,18 +30,10 @@
|
||||||
<label value="${c:l('expressosPorCotizarFechaFinController.lblDesc.label')}"/>
|
<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%"/>
|
<datebox id="txtFechaFin" use="com.rjconsultores.ventaboletos.web.utilerias.MyDatebox" format="dd/MM/yyyy" maxlength="10" width="100%"/>
|
||||||
</row>
|
</row>
|
||||||
<!--
|
|
||||||
<row spans="1,3">
|
<row spans="1,3">
|
||||||
<label id="lblEmpresa" value="${c:l('expressosPorCotizarEmpresaController.lblDesc.label')}"/>
|
<label id="lblExpreso" value="${c:l('expressosPorCotizarController.lhNumSolicitud.label')}"/>
|
||||||
<combobox id="cmbEmpresa"
|
<intbox id="txtNumSolicitud"/>
|
||||||
width="40%"
|
|
||||||
maxlength="60"
|
|
||||||
mold="rounded"
|
|
||||||
buttonVisible="true"
|
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
|
||||||
model="@{winExpressoPorCotizar$composer.lsEmpresa}"/>
|
|
||||||
</row>
|
</row>
|
||||||
-->
|
|
||||||
</rows>
|
</rows>
|
||||||
</grid>
|
</grid>
|
||||||
<toolbar>
|
<toolbar>
|
||||||
|
@ -53,13 +45,6 @@
|
||||||
id="btnPesquisa"
|
id="btnPesquisa"
|
||||||
image="/gui/img/find.png"
|
image="/gui/img/find.png"
|
||||||
label="${c:l('expressosPorCotizarBuscarController.lblDesc.label')}" />
|
label="${c:l('expressosPorCotizarBuscarController.lblDesc.label')}" />
|
||||||
<!--
|
|
||||||
<fileupload
|
|
||||||
id="archivoContrato"
|
|
||||||
label="${c:l('cargarContratoController.lhAdjuntarContrato.label')}"
|
|
||||||
upload="true"
|
|
||||||
onUpload="winExpressoCargaContrato$composer.onUpload(event)" />
|
|
||||||
-->
|
|
||||||
</toolbar>
|
</toolbar>
|
||||||
<paging id="pagingExpresos" pageSize="20" />
|
<paging id="pagingExpresos" pageSize="20" />
|
||||||
<listbox id="expresosList"
|
<listbox id="expresosList"
|
||||||
|
|
|
@ -30,18 +30,10 @@
|
||||||
<label value="${c:l('expressosPorCotizarFechaFinController.lblDesc.label')}"/>
|
<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%"/>
|
<datebox id="txtFechaFin" use="com.rjconsultores.ventaboletos.web.utilerias.MyDatebox" format="dd/MM/yyyy" maxlength="10" width="100%"/>
|
||||||
</row>
|
</row>
|
||||||
<!--
|
|
||||||
<row spans="1,3">
|
<row spans="1,3">
|
||||||
<label id="lblEmpresa" value="${c:l('expressosPorCotizarEmpresaController.lblDesc.label')}"/>
|
<label id="lblExpreso" value="${c:l('expressosPorCotizarController.lhNumSolicitud.label')}"/>
|
||||||
<combobox id="cmbEmpresa"
|
<intbox id="txtNumSolicitud"/>
|
||||||
width="40%"
|
|
||||||
maxlength="60"
|
|
||||||
mold="rounded"
|
|
||||||
buttonVisible="true"
|
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
|
||||||
model="@{winExpressoPorCotizar$composer.lsEmpresa}"/>
|
|
||||||
</row>
|
</row>
|
||||||
-->
|
|
||||||
</rows>
|
</rows>
|
||||||
</grid>
|
</grid>
|
||||||
<toolbar>
|
<toolbar>
|
||||||
|
|
|
@ -30,18 +30,10 @@
|
||||||
<label value="${c:l('expressosPorCotizarFechaFinController.lblDesc.label')}"/>
|
<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%"/>
|
<datebox id="txtFechaFin" use="com.rjconsultores.ventaboletos.web.utilerias.MyDatebox" format="dd/MM/yyyy" maxlength="10" width="100%"/>
|
||||||
</row>
|
</row>
|
||||||
<!--
|
|
||||||
<row spans="1,3">
|
<row spans="1,3">
|
||||||
<label id="lblEmpresa" value="${c:l('expressosPorCotizarEmpresaController.lblDesc.label')}"/>
|
<label id="lblExpreso" value="${c:l('expressosPorCotizarController.lhNumSolicitud.label')}"/>
|
||||||
<combobox id="cmbEmpresa"
|
<intbox id="txtNumSolicitud"/>
|
||||||
width="40%"
|
|
||||||
maxlength="60"
|
|
||||||
mold="rounded"
|
|
||||||
buttonVisible="true"
|
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
|
||||||
model="@{winExpressoPorCotizar$composer.lsEmpresa}"/>
|
|
||||||
</row>
|
</row>
|
||||||
-->
|
|
||||||
</rows>
|
</rows>
|
||||||
</grid>
|
</grid>
|
||||||
<toolbar>
|
<toolbar>
|
||||||
|
|
|
@ -35,6 +35,10 @@
|
||||||
format="dd/MM/yyyy" maxlength="10"
|
format="dd/MM/yyyy" maxlength="10"
|
||||||
constraint="no empty" />
|
constraint="no empty" />
|
||||||
</row>
|
</row>
|
||||||
|
<row spans="1,3">
|
||||||
|
<label id="lblExpreso" value="${c:l('expressosPorCotizarController.lhNumSolicitud.label')}"/>
|
||||||
|
<intbox id="txtNumSolicitud"/>
|
||||||
|
</row>
|
||||||
</rows>
|
</rows>
|
||||||
</grid>
|
</grid>
|
||||||
<toolbar>
|
<toolbar>
|
||||||
|
|
|
@ -56,7 +56,7 @@
|
||||||
width="70%"
|
width="70%"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
||||||
</row>
|
</row>
|
||||||
<row spans="1, 3">
|
<row>
|
||||||
<label value="${c:l('busquedaLogAuditoriaController.lblIdAuditado')}"/>
|
<label value="${c:l('busquedaLogAuditoriaController.lblIdAuditado')}"/>
|
||||||
<textbox id="txtIdAuditado"
|
<textbox id="txtIdAuditado"
|
||||||
width="40%"
|
width="40%"
|
||||||
|
|
|
@ -30,18 +30,10 @@
|
||||||
<label value="${c:l('expressosPorCotizarFechaFinController.lblDesc.label')}"/>
|
<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%"/>
|
<datebox id="txtFechaFin" use="com.rjconsultores.ventaboletos.web.utilerias.MyDatebox" format="dd/MM/yyyy" maxlength="10" width="100%"/>
|
||||||
</row>
|
</row>
|
||||||
<!--
|
|
||||||
<row spans="1,3">
|
<row spans="1,3">
|
||||||
<label id="lblEmpresa" value="${c:l('expressosPorCotizarEmpresaController.lblDesc.label')}"/>
|
<label id="lblExpreso" value="${c:l('expressosPorCotizarController.lhNumSolicitud.label')}"/>
|
||||||
<combobox id="cmbEmpresa"
|
<intbox id="txtNumSolicitud"/>
|
||||||
width="40%"
|
|
||||||
maxlength="60"
|
|
||||||
mold="rounded"
|
|
||||||
buttonVisible="true"
|
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
|
||||||
model="@{winExpressoPorCotizar$composer.lsEmpresa}"/>
|
|
||||||
</row>
|
</row>
|
||||||
-->
|
|
||||||
</rows>
|
</rows>
|
||||||
</grid>
|
</grid>
|
||||||
<toolbar>
|
<toolbar>
|
||||||
|
|
|
@ -30,18 +30,10 @@
|
||||||
<label value="${c:l('expressosPorCotizarFechaFinController.lblDesc.label')}"/>
|
<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%"/>
|
<datebox id="txtFechaFin" use="com.rjconsultores.ventaboletos.web.utilerias.MyDatebox" format="dd/MM/yyyy" maxlength="10" width="100%"/>
|
||||||
</row>
|
</row>
|
||||||
<!--
|
|
||||||
<row spans="1,3">
|
<row spans="1,3">
|
||||||
<label id="lblEmpresa" value="${c:l('expressosPorCotizarEmpresaController.lblDesc.label')}"/>
|
<label id="lblExpreso" value="${c:l('expressosPorCotizarController.lhNumSolicitud.label')}"/>
|
||||||
<combobox id="cmbEmpresa"
|
<intbox id="txtNumSolicitud"/>
|
||||||
width="40%"
|
|
||||||
maxlength="60"
|
|
||||||
mold="rounded"
|
|
||||||
buttonVisible="true"
|
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
|
||||||
model="@{winProgramacionVehiculoExpresos$composer.lsEmpresa}"/>
|
|
||||||
</row>
|
</row>
|
||||||
-->
|
|
||||||
</rows>
|
</rows>
|
||||||
</grid>
|
</grid>
|
||||||
<toolbar>
|
<toolbar>
|
||||||
|
|
|
@ -33,6 +33,10 @@
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyDatebox"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyDatebox"
|
||||||
format="dd/MM/yyyy" maxlength="10" />
|
format="dd/MM/yyyy" maxlength="10" />
|
||||||
</row>
|
</row>
|
||||||
|
<row spans="1,3">
|
||||||
|
<label id="lblExpreso" value="${c:l('expressosPorCotizarController.lhNumSolicitud.label')}"/>
|
||||||
|
<intbox id="txtNumSolicitud"/>
|
||||||
|
</row>
|
||||||
</rows>
|
</rows>
|
||||||
</grid>
|
</grid>
|
||||||
<toolbar>
|
<toolbar>
|
||||||
|
|
Loading…
Reference in New Issue