diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioVendasBilheteiro.java b/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioVendasBilheteiro.java index 49a6dd4e7..470a15122 100644 --- a/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioVendasBilheteiro.java +++ b/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioVendasBilheteiro.java @@ -49,10 +49,15 @@ public class RelatorioVendasBilheteiro extends Relatorio { sql.append(" c.CORRIDA_ID SERVICO, "); sql.append(" c.IMPORTEPEDAGIO PEDAGIO," ); sql.append(" c.IMPORTETAXAEMBARQUE TX_EMBARQUE," ); - sql.append(" c.IMPORTEOUTROS OUTROS," ); + sql.append(" c.IMPORTEOUTROS OUTROS,"); + sql.append(" c.IMPORTESEGURO AS VALOR_SEGURO, "); sql.append(" c.PRECIOPAGADO TARIFA," ); sql.append(" (coalesce(c.PRECIOPAGADO,0)+(coalesce(c.IMPORTEPEDAGIO,0)+ coalesce(c.IMPORTETAXAEMBARQUE,0)+ coalesce(c.IMPORTESEGURO,0)+ coalesce(c.IMPORTEOUTROS,0))) TOTAL_BILHETE, " ); - sql.append(" cs.DESCCLASE CLASSE "); + sql.append(" cs.DESCCLASE CLASSE, "); + + sql.append(" fp.DESCPAGO as FORMA_PAGO, "); + sql.append(" r.ruta_id as NUM_LINHA, "); + sql.append(" r.DESCRUTA as DESC_LINHA "); sql.append(" from caja c "); sql.append(" join PUNTO_VENTA pv on c.PUNTOVENTA_ID = pv.PUNTOVENTA_ID "); @@ -62,6 +67,11 @@ public class RelatorioVendasBilheteiro extends Relatorio { sql.append(" join CATEGORIA ct on ct.CATEGORIA_ID = c.CATEGORIA_ID "); sql.append(" join CLASE_SERVICIO cs on cs.CLASESERVICIO_ID = c.CLASESERVICIO_ID "); sql.append(" join MARCA m on m.marca_id = c.marca_id "); + + sql.append(" left join caja_formapago cfp on c.caja_id = cfp.caja_id and cfp.activo = 1 "); + sql.append(" left join forma_pago fp on cfp.formapago_id = fp.formapago_id and fp.activo = 1 "); + sql.append(" left join ruta r on r.ruta_id = c.ruta_id and r.activo = 1 "); + sql.append(" where "); sql.append(" m.EMPRESA_ID = :EMPRESA_ID "); sql.append(" and c.FECHORVENTA >= :DATA_INICIAL "); @@ -119,7 +129,10 @@ public class RelatorioVendasBilheteiro extends Relatorio { dataResult.put("SERVICO", rset.getBigDecimal("SERVICO")); dataResult.put("DATA_VIAGEM", rset.getDate("DATA_VIAGEM")); dataResult.put("CLASSE", rset.getString("CLASSE")); - + dataResult.put("FORMA_PAGO", rset.getString("FORMA_PAGO")); + dataResult.put("VALOR_SEGURO", rset.getBigDecimal("VALOR_SEGURO")); + dataResult.put("NUM_LINHA", rset.getString("NUM_LINHA")); + dataResult.put("DESC_LINHA", rset.getString("DESC_LINHA")); this.dados.add(dataResult); } diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioVendasBilheteiro.jasper b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioVendasBilheteiro.jasper index 49666214f..272345dfe 100644 Binary files a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioVendasBilheteiro.jasper and b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioVendasBilheteiro.jasper differ diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioVendasBilheteiro.jrxml b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioVendasBilheteiro.jrxml index b01b08588..4017613af 100644 --- a/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioVendasBilheteiro.jrxml +++ b/src/java/com/rjconsultores/ventaboletos/relatorios/templates/RelatorioVendasBilheteiro.jrxml @@ -1,7 +1,7 @@ - + @@ -32,6 +32,10 @@ + + + + @@ -129,38 +133,38 @@ - + - + - + - + - + - + - + @@ -168,7 +172,7 @@ - + @@ -176,7 +180,7 @@ - + @@ -184,14 +188,14 @@ - + - + @@ -199,7 +203,7 @@ - + @@ -207,7 +211,7 @@ - + @@ -215,7 +219,7 @@ - + @@ -223,7 +227,7 @@ - + @@ -231,7 +235,7 @@ - + @@ -239,7 +243,7 @@ - + @@ -247,143 +251,203 @@ - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/expressos/CargaContratoExpressosController.java b/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/expressos/CargaContratoExpressosController.java index 8b742ee31..2aa9f213f 100644 --- a/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/expressos/CargaContratoExpressosController.java +++ b/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/expressos/CargaContratoExpressosController.java @@ -108,12 +108,12 @@ public class CargaContratoExpressosController extends MyGenericForwardComposer{ Date fechaInicio = txtFechaInicio.getValue(); if(fechaInicio != null) { - buscarExpresos.addFilterGreaterOrEqual("FECSOLICITUD", fechaInicio); + buscarExpresos.addFilterGreaterOrEqual("fechaSolicitud", fechaInicio); } Date fechaFin = txtFechaFin.getValue(); if(fechaFin != null) { - buscarExpresos.addFilterLessOrEqual("FECSOLICITUD", fechaFin); + buscarExpresos.addFilterLessOrEqual("fechaSolicitud", fechaFin); } if(ckServiciosInactivos.isChecked()) { diff --git a/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/expressos/CumplimientoServicioExpresosController.java b/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/expressos/CumplimientoServicioExpresosController.java index aa384196c..9cc71445e 100644 --- a/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/expressos/CumplimientoServicioExpresosController.java +++ b/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/expressos/CumplimientoServicioExpresosController.java @@ -104,12 +104,12 @@ public class CumplimientoServicioExpresosController extends MyGenericForwardComp Date fechaInicio = txtFechaInicio.getValue(); if(fechaInicio != null) { - buscarExpresos.addFilterGreaterOrEqual("FECSOLICITUD", fechaInicio); + buscarExpresos.addFilterGreaterOrEqual("fechaSolicitud", fechaInicio); } Date fechaFin = txtFechaFin.getValue(); if(fechaFin != null) { - buscarExpresos.addFilterLessOrEqual("FECSOLICITUD", fechaFin); + buscarExpresos.addFilterLessOrEqual("fechaSolicitud", fechaFin); } if(ckServiciosInactivos.isChecked()) { diff --git a/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/expressos/DocumentosExpresosController.java b/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/expressos/DocumentosExpresosController.java index 584403366..a997427d0 100644 --- a/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/expressos/DocumentosExpresosController.java +++ b/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/expressos/DocumentosExpresosController.java @@ -62,12 +62,12 @@ public class DocumentosExpresosController extends MyGenericForwardComposer{ Date fechaInicio = txtFechaInicio.getValue(); if(fechaInicio != null) { - buscarExpresos.addFilterGreaterOrEqual("FECSOLICITUD", fechaInicio); + buscarExpresos.addFilterGreaterOrEqual("fechaSolicitud", fechaInicio); } Date fechaFin = txtFechaFin.getValue(); if(fechaFin != null) { - buscarExpresos.addFilterLessOrEqual("FECSOLICITUD", fechaFin); + buscarExpresos.addFilterLessOrEqual("fechaSolicitud", fechaFin); } if(ckServiciosInactivos.isChecked()) { diff --git a/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/expressos/ExpressosPorCotizarController.java b/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/expressos/ExpressosPorCotizarController.java index d9b9dfb59..8244c069b 100644 --- a/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/expressos/ExpressosPorCotizarController.java +++ b/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/expressos/ExpressosPorCotizarController.java @@ -87,12 +87,12 @@ public class ExpressosPorCotizarController extends MyGenericForwardComposer{ Date fechaInicio = txtFechaInicio.getValue(); if(fechaInicio != null) { - buscarExpresos.addFilterGreaterOrEqual("FECSOLICITUD", fechaInicio); + buscarExpresos.addFilterGreaterOrEqual("fechaSolicitud", fechaInicio); } Date fechaFin = txtFechaFin.getValue(); if(fechaFin != null) { - buscarExpresos.addFilterLessOrEqual("FECSOLICITUD", fechaFin); + buscarExpresos.addFilterLessOrEqual("fechaSolicitud", fechaFin); } if(ckServiciosInactivos.isChecked()) { diff --git a/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/expressos/InformeViajesOcasionalesExpresosController.java b/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/expressos/InformeViajesOcasionalesExpresosController.java new file mode 100644 index 000000000..9d1848b9e --- /dev/null +++ b/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/expressos/InformeViajesOcasionalesExpresosController.java @@ -0,0 +1,94 @@ +package com.rjconsultores.ventaboletos.web.gui.controladores.expressos; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +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.event.Event; +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.SolicitudExpresosService; +import com.rjconsultores.ventaboletos.utilerias.DateUtil; +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.RenderExpresosPorCotizar; +import com.rjconsultores.ventaboletos.web.utilerias.render.RenderInformeViajesOcasionales; + +@Controller("informeViajesOcasionalesExpresosController") +@Scope("prototype") +public class InformeViajesOcasionalesExpresosController extends MyGenericForwardComposer{ + + private static final long serialVersionUID = 1L; + + @Autowired + private transient PagedListWrapper plwTrayectosExpresos; + + private MyDatebox dtInicio; + private MyDatebox dtFim; + private MyListbox expresosList; + private Paging pagingExpresos; + + @Override + public void doAfterCompose(Component comp) throws Exception { + super.doAfterCompose(comp); + + expresosList.setItemRenderer(new RenderInformeViajesOcasionales()); + + refreshLista(); + } + + private void refreshLista() throws InterruptedException { + HibernateSearchObject buscarExpresos = + new HibernateSearchObject(TrayectosExpresos.class, pagingExpresos.getPageSize()); + + Date fechaInicio = dtInicio.getValue(); + if(fechaInicio != null) { + buscarExpresos.addFilterGreaterOrEqual("solicitudExpresoId.fechaSolicitud", DateUtil.inicioFecha(fechaInicio)); + }else { + Messagebox.show( + Labels.getLabel("MSG.Error.dataObrigatoria"), + Labels.getLabel("winInformeViajesOcasionalesExpresos.title"), + Messagebox.OK, Messagebox.ERROR); + return; + } + + Date fechaFin = dtFim.getValue(); + if(fechaFin != null) { + buscarExpresos.addFilterLessOrEqual("solicitudExpresoId.fechaSolicitud", DateUtil.fimFecha(fechaFin)); + }else { + Messagebox.show( + Labels.getLabel("MSG.Error.dataObrigatoria"), + Labels.getLabel("winInformeViajesOcasionalesExpresos.title"), + Messagebox.OK, Messagebox.ERROR); + return; + } + + plwTrayectosExpresos.init(buscarExpresos, expresosList, pagingExpresos); + } + + public void onClick$btnPesquisa(Event ev) throws InterruptedException { + refreshLista(); + } + + public void onClick$btnImprimir(Event ev) throws InterruptedException {} + + public MyListbox getExpresosList() { + return expresosList; + } + + public void setExpresosList(MyListbox expresosList) { + this.expresosList = expresosList; + } + +} diff --git a/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/expressos/ProgramacionVehiculosExpresosController.java b/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/expressos/ProgramacionVehiculosExpresosController.java index c789ebbb6..155f1ead5 100644 --- a/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/expressos/ProgramacionVehiculosExpresosController.java +++ b/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/expressos/ProgramacionVehiculosExpresosController.java @@ -57,12 +57,12 @@ private static final long serialVersionUID = 1L; Date fechaInicio = txtFechaInicio.getValue(); if(fechaInicio != null) { - buscarExpresos.addFilterGreaterOrEqual("FECSOLICITUD", fechaInicio); + buscarExpresos.addFilterGreaterOrEqual("fechaSolicitud", fechaInicio); } Date fechaFin = txtFechaFin.getValue(); if(fechaFin != null) { - buscarExpresos.addFilterLessOrEqual("FECSOLICITUD", fechaFin); + buscarExpresos.addFilterLessOrEqual("fechaSolicitud", fechaFin); } if(ckServiciosInactivos.isChecked()) { diff --git a/src/java/com/rjconsultores/ventaboletos/web/utilerias/menu/item/expressos/ItemMenuInformeViajesOcasionales.java b/src/java/com/rjconsultores/ventaboletos/web/utilerias/menu/item/expressos/ItemMenuInformeViajesOcasionales.java new file mode 100644 index 000000000..0f575718c --- /dev/null +++ b/src/java/com/rjconsultores/ventaboletos/web/utilerias/menu/item/expressos/ItemMenuInformeViajesOcasionales.java @@ -0,0 +1,25 @@ +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 ItemMenuInformeViajesOcasionales extends DefaultItemMenuSistema { + public ItemMenuInformeViajesOcasionales() { + super("indexController.mniExpressosInformeViajesOcasionales.label"); + } + + @Override + public String getClaveMenu() { + return "COM.RJCONSULTORES.ADMINISTRACION.GUI.EXPRESSOS.INFORMEVIAJESOCASIONALES"; + } + + @Override + public void ejecutar() { + PantallaUtileria.openWindow("/gui/expressos/informeViajesOcasionales.zul", + Labels.getLabel("indexController.mniExpressosInformeViajesOcasionales.label"), + getArgs(), desktop); + + } +} diff --git a/src/java/com/rjconsultores/ventaboletos/web/utilerias/menu/menu_original.properties b/src/java/com/rjconsultores/ventaboletos/web/utilerias/menu/menu_original.properties index 97c648ecb..559fd461c 100644 --- a/src/java/com/rjconsultores/ventaboletos/web/utilerias/menu/menu_original.properties +++ b/src/java/com/rjconsultores/ventaboletos/web/utilerias/menu/menu_original.properties @@ -367,7 +367,7 @@ expressos.programacionVehiculo=com.rjconsultores.ventaboletos.web.utilerias.menu expressos.documentos=com.rjconsultores.ventaboletos.web.utilerias.menu.item.expressos.ItemMenuDocumentos 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.InformeViajesOcasionales=com.rjconsultores.ventaboletos.web.utilerias.menu.item.expressos.ItemMenuInformeViajesOcasionales #expressos.seguimientoExpresos=com.rjconsultores.ventaboletos.web.utilerias.menu.item.expressos.ItemMenuSeguimientoExpresos ayuda=com.rjconsultores.ventaboletos.web.utilerias.menu.item.ayuda.MenuAyuda ayuda.version=com.rjconsultores.ventaboletos.web.utilerias.menu.item.ayuda.ItemMenuVersion \ No newline at end of file diff --git a/src/java/com/rjconsultores/ventaboletos/web/utilerias/render/RenderInformeViajesOcasionales.java b/src/java/com/rjconsultores/ventaboletos/web/utilerias/render/RenderInformeViajesOcasionales.java new file mode 100644 index 000000000..b631fd783 --- /dev/null +++ b/src/java/com/rjconsultores/ventaboletos/web/utilerias/render/RenderInformeViajesOcasionales.java @@ -0,0 +1,114 @@ +package com.rjconsultores.ventaboletos.web.utilerias.render; + +import org.springframework.beans.factory.annotation.Autowired; +import org.zkoss.util.resource.Labels; +import org.zkoss.zul.Listcell; +import org.zkoss.zul.Listitem; +import org.zkoss.zul.ListitemRenderer; + +import com.rjconsultores.ventaboletos.entidad.Constante; +import com.rjconsultores.ventaboletos.entidad.SolicitudExpreso; +import com.rjconsultores.ventaboletos.entidad.TrayectosExpresos; +import com.rjconsultores.ventaboletos.entidad.Usuario; +import com.rjconsultores.ventaboletos.service.ConstanteService; +import com.rjconsultores.ventaboletos.service.UsuarioService; +import com.rjconsultores.ventaboletos.utilerias.DateUtil; +import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado; +import com.rjconsultores.ventaboletos.web.utilerias.spring.AppContext; + +public class RenderInformeViajesOcasionales implements ListitemRenderer { + + public RenderInformeViajesOcasionales() { + super(); + } + + @Override + public void render(Listitem item, Object data) throws Exception { + TrayectosExpresos expresos = (TrayectosExpresos) data; + + Listcell lc = new Listcell(""); //Empresa + lc.setParent(item); + + lc = new Listcell(DateUtil.getStringDate(expresos.getSolicitudExpresoId().getFechaSolicitud(), "dd/MM/yyyy")); //Fecha solicitud + lc.setParent(item); + + lc = new Listcell(expresos.getSolicitudExpresoId().getSolicitudExpresoId().toString()); //# solicitud + lc.setParent(item); + + lc = new Listcell(""); //Agencia contrató + lc.setParent(item); + + lc = new Listcell(expresos.getSolicitudExpresoId().getStatusSolicitudExpresoId().toString()); //Estado + lc.setParent(item); + + lc = new Listcell(""); //NIT + lc.setParent(item); + + lc = new Listcell(""); //Razón social empresa solicitó + lc.setParent(item); + + //Forma pgo + ConstanteService constanteService = (ConstanteService)AppContext.getApplicationContext().getBean("constanteService"); + Constante constante = constanteService.buscarPorNomeConstante("FORMAPAGOCREDITO_ID"); + String pagoCreditoConstante = constante == null ? "" : constante.getValorconstante(); + + if(expresos.getSolicitudExpresoId().getFormaPagoId() == null || expresos.getSolicitudExpresoId().getFormaPagoId() != Integer.valueOf(pagoCreditoConstante)) { + lc = new Listcell(Labels.getLabel("label.classePagamento.contado")); + lc.setParent(item); + }else { + lc = new Listcell(Labels.getLabel("expresosController.lbl.pagadoCredito")); + lc.setParent(item); + } + + lc = new Listcell(expresos.getSolicitudExpresoId().getValorCotizacion().toString()); //Valor expreso + lc.setParent(item); + + //Usuario + UsuarioService usuarioService = (UsuarioService)AppContext.getApplicationContext().getBean("usuarioService"); + Usuario usuario = usuarioService.obtenerCompletoID(expresos.getUsuarioId()); + lc = new Listcell(usuario.getNombUsuarioCompleto()); + lc.setParent(item); + + lc = new Listcell(expresos.getTrayectoExpresoId().toString()); //ID trayecto + lc.setParent(item); + + lc = new Listcell(expresos.getSolicitudExpresoId().getCiudadOrigen().getNombciudad()); //Origen + lc.setParent(item); + + lc = new Listcell(expresos.getSolicitudExpresoId().getCiudadDestino().getNombciudad()); //Destino + lc.setParent(item); + + lc = new Listcell(""); //Observaciones + lc.setParent(item); + + lc = new Listcell(DateUtil.getStringDate(expresos.getSolicitudExpresoId().getFechaHoraIda()), "dd/MM/yyyy hh:mm:ss"); //Fecha salida + lc.setParent(item); + + lc = new Listcell(""); //Servicio + lc.setParent(item); + + lc = new Listcell(""); //# Despacho + lc.setParent(item); + + lc = new Listcell(""); //Inteno + lc.setParent(item); + + lc = new Listcell(expresos.getNumPlaca() == null ? "N/A" : expresos.getNumPlaca().toString()); //Placa + lc.setParent(item); + + lc = new Listcell(expresos.getSolicitudExpresoId().getCantidadPasajeros() == null ? "N/A" : expresos.getSolicitudExpresoId().getCantidadPasajeros().toString()); //Pasajeros + lc.setParent(item); + + lc = new Listcell(expresos.getValorTrayecto() == null ? "N/A" : expresos.getValorTrayecto().toString()); //valor trayecto + lc.setParent(item); + + lc = new Listcell(""); //Fecha despacho + lc.setParent(item); + + lc = new Listcell(""); //Kilómetros + lc.setParent(item); + + item.setAttribute("data", expresos); + } + +} diff --git a/src/java/com/rjconsultores/ventaboletos/web/utilerias/render/RenderLogAuditoria.java b/src/java/com/rjconsultores/ventaboletos/web/utilerias/render/RenderLogAuditoria.java index 95a79d74d..ffed1a4aa 100644 --- a/src/java/com/rjconsultores/ventaboletos/web/utilerias/render/RenderLogAuditoria.java +++ b/src/java/com/rjconsultores/ventaboletos/web/utilerias/render/RenderLogAuditoria.java @@ -11,8 +11,6 @@ public class RenderLogAuditoria implements ListitemRenderer { public void render(Listitem lstm, Object o) throws Exception { LogAuditoria logAuditoria = (LogAuditoria) o; - - System.out.println(logAuditoria.toString()); Listcell lc = new Listcell(DateUtil.getStringDate(logAuditoria.getFecmodif(), "dd/MM/yyyy HH:mm")); lc.setParent(lstm); diff --git a/web/WEB-INF/i3-label_en.label b/web/WEB-INF/i3-label_en.label index 445b2c5c0..a5bebd004 100644 --- a/web/WEB-INF/i3-label_en.label +++ b/web/WEB-INF/i3-label_en.label @@ -7365,21 +7365,31 @@ expressosPorCotizarController.lblAgregarTrayecto.label = Add Trip expressosPorCotizarController.lblDestino.label = Destination expressosPorCotizarController.lblOrigen.label = Origin expressosPorCotizarController.lhAdjuntarCotizacion.label = Attach Quote +expressosPorCotizarController.lhAgenciaContrato.label = Agency that hired 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.lhFechaDespacho.label = Run date expressosPorCotizarController.lhFechaIda.label = Departure date expressosPorCotizarController.lhFechaRegreso.label = Return Date expressosPorCotizarController.lhFechaSolicitud.label = Application date expressosPorCotizarController.lhFluecPlanilla.label = FLUEC - Occasional Return +expressosPorCotizarController.lhFormaPago.label = Method of payment expressosPorCotizarController.lhIdaRegreso.label = Round trip +expressosPorCotizarController.lhInterno.label = Interno +expressosPorCotizarController.lhKilometros.label = Km +expressosPorCotizarController.lhNit.label = Nit +expressosPorCotizarController.lhNumDespacho.label = # Run expressosPorCotizarController.lhNumSolicitud.label = # Application +expressosPorCotizarController.lblObservaciones.label = Observaciones expressosPorCotizarController.lhPlacaVehiculo.label = Plate +expressosPorCotizarController.lhRazonSocial.label = Company Name expressosPorCotizarController.lhRuta.label = Route expressosPorCotizarController.lhSitioRecogidaIda.label = Site Pickup Going expressosPorCotizarController.lhSitioRecogidaRegreso.label = Site Pickup Return +expressosPorCotizarController.lhTipoServicio.label = Service type expressosPorCotizarController.lhTrayecto.label = Journey expressosPorCotizarController.lhValorTrayecto.label = Trip Value expressosPorCotizarCotizarController.lblDesc.label = Quote @@ -7753,6 +7763,8 @@ indexController.mniExportacaoFiscalRMD.label = RMD indexController.mniExpressosCargaContrato.label = Contract Charge indexController.mniExpressosCumplimientoServicio.label = Service Compliance indexController.mniExpressosDocumentos.label = Documents +indexController.mniExpressosInformeViajesOcasionales.label = Occasional Travel Report +indexController.mniExpressosPorCotizar.label = Express to be quoted indexController.mniExpressosLog.label = Log indexController.mniExpressosPorCotizar.label = Express to be quoted indexController.mniExpressosProgramacionVehiculos.label = Vehicle Programming diff --git a/web/WEB-INF/i3-label_es_MX.label b/web/WEB-INF/i3-label_es_MX.label index 4a2f73360..47f4d854e 100644 --- a/web/WEB-INF/i3-label_es_MX.label +++ b/web/WEB-INF/i3-label_es_MX.label @@ -7371,21 +7371,31 @@ expressosPorCotizarController.lblAgregarTrayecto.label = Agregar Trayecto expressosPorCotizarController.lblDestino.label = Destino expressosPorCotizarController.lblOrigen.label = Origen expressosPorCotizarController.lhAdjuntarCotizacion.label = Adjuntar Cotización +expressosPorCotizarController.lhAgenciaContrato.label = Agencia Contrató 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.lhFechaDespacho.label = Fecha despacho expressosPorCotizarController.lhFechaIda.label = Fecha Ida expressosPorCotizarController.lhFechaRegreso.label = Fecha Regreso expressosPorCotizarController.lhFechaSolicitud.label = Fecha Solicitud -expressosPorCotizarController.lhFluecPlanilla.label = FLUEC - Planilla Ocasional +expressosPorCotizarController.lhFluecPlanilla.label = FLUEC - Planilla Ocasional +expressosPorCotizarController.lhFormaPago.label = Forma pago expressosPorCotizarController.lhIdaRegreso.label = Ida y Regreso +expressosPorCotizarController.lhInterno.label = Interno +expressosPorCotizarController.lhNit.label = Nit +expressosPorCotizarController.lhKilometros.label = Km +expressosPorCotizarController.lhNumDespacho.label = # Despacho expressosPorCotizarController.lhNumSolicitud.label = # Solicitud +expressosPorCotizarController.lblObservaciones.label = Observaciones expressosPorCotizarController.lhPlacaVehiculo.label = Placa +expressosPorCotizarController.lhRazonSocial.label = Razón Social expressosPorCotizarController.lhRuta.label = Ruta expressosPorCotizarController.lhSitioRecogidaIda.label = Sitio Recogida Ida expressosPorCotizarController.lhSitioRecogidaRegreso.label = Sitio Recogida Regreso +expressosPorCotizarController.lhTipoServicio.label = Tipo servicio expressosPorCotizarController.lhTrayecto.label = Trayecto expressosPorCotizarController.lhValorTrayecto.label = Valor Trayecto expressosPorCotizarCotizarController.lblDesc.label = Cotizar @@ -7759,6 +7769,7 @@ indexController.mniExportacaoFiscalRMD.label = RMD indexController.mniExpressosCargaContrato.label = Carga de Contrato indexController.mniExpressosCumplimientoServicio.label = Cumplimiento de Servicio indexController.mniExpressosDocumentos.label = Documentos +indexController.mniExpressosInformeViajesOcasionales.label = Informe de Viajes Ocasionales indexController.mniExpressosLog.label = Log indexController.mniExpressosPorCotizar.label = Expresos por cotizar indexController.mniExpressosProgramacionVehiculos.label = Programación de Vehículos diff --git a/web/WEB-INF/i3-label_fr_FR.label b/web/WEB-INF/i3-label_fr_FR.label index 8e51fe516..f5aff4bca 100644 --- a/web/WEB-INF/i3-label_fr_FR.label +++ b/web/WEB-INF/i3-label_fr_FR.label @@ -7365,21 +7365,31 @@ expressosPorCotizarController.lblAgregarTrayecto.label = Ajouter un voyage expressosPorCotizarController.lblDestino.label = Destination expressosPorCotizarController.lblOrigen.label = Origine expressosPorCotizarController.lhAdjuntarCotizacion.label = Joindre un devis +expressosPorCotizarController.lhAgenciaContrato.label = Agence qui a embauché 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.lhFechaDespacho.label = Date d'exécution expressosPorCotizarController.lhFechaIda.label = Date de départ expressosPorCotizarController.lhFechaRegreso.label = Date de retour expressosPorCotizarController.lhFechaSolicitud.label = Date de la demande -expressosPorCotizarController.lhFluecPlanilla.label = FLUEC - Retour occasionnel +expressosPorCotizarController.lhFluecPlanilla.label = FLUEC - Retour occasionnel +expressosPorCotizarController.lhFormaPago.label = Mode de paiement expressosPorCotizarController.lhIdaRegreso.label = Aller-retour +expressosPorCotizarController.lhInterno.label = Interno +expressosPorCotizarController.lhKilometros.label = Km +expressosPorCotizarController.lhNit.label = Nit +expressosPorCotizarController.lhNumDespacho.label = # d'exécution expressosPorCotizarController.lhNumSolicitud.label = # Application +expressosPorCotizarController.lblObservaciones.label = Observaciones expressosPorCotizarController.lhPlacaVehiculo.label = Plaque +expressosPorCotizarController.lhRazonSocial.label = Nom de l'entreprise expressosPorCotizarController.lhRuta.label = Itinéraire expressosPorCotizarController.lhSitioRecogidaIda.label = Site de ramassage aller simple expressosPorCotizarController.lhSitioRecogidaRegreso.label = Retour de ramassage sur site +expressosPorCotizarController.lhTipoServicio.label = Type de prestation expressosPorCotizarController.lhTrayecto.label = Trajet expressosPorCotizarController.lhValorTrayecto.label = Valeur du voyage expressosPorCotizarCotizarController.lblDesc.label = Citation @@ -7753,6 +7763,8 @@ indexController.mniExportacaoFiscalRMD.label = RMD indexController.mniExpressosCargaContrato.label = Frais de contrat indexController.mniExpressosCumplimientoServicio.label = Conformité des services indexController.mniExpressosDocumentos.label = Documents +indexController.mniExpressosInformeViajesOcasionales.label = Rapport de voyage occasionnel +indexController.mniExpressosPorCotizar.label = Express à devis indexController.mniExpressosLog.label = Log indexController.mniExpressosPorCotizar.label = Express à devis indexController.mniExpressosProgramacionVehiculos.label = Programmation du véhicule diff --git a/web/WEB-INF/i3-label_pt_BR.label b/web/WEB-INF/i3-label_pt_BR.label index 2fc90c710..f16590009 100644 --- a/web/WEB-INF/i3-label_pt_BR.label +++ b/web/WEB-INF/i3-label_pt_BR.label @@ -7350,20 +7350,30 @@ expressosPorCotizarController.lblAgregarTrayecto.label = Adicionar viagem expressosPorCotizarController.lblDestino.label = Destino expressosPorCotizarController.lblOrigen.label = Origem expressosPorCotizarController.lhAdjuntarCotizacion.label = Anexar orçamento +expressosPorCotizarController.lhAgenciaContrato.label = Agência que contratou expressosPorCotizarController.lhCantidadPasajeros.label = Número de passageiros expressosPorCotizarController.lhCantidadVehiculos.label = Quantidade de veículos expressosPorCotizarController.lhCodigoViaje.label = Código de viagem expressosPorCotizarController.lhEstadiaConductor.label = Estadia do motorista +expressosPorCotizarController.lhFechaDespacho.label = Data Execução expressosPorCotizarController.lhFechaIda.label = Data de partida expressosPorCotizarController.lhFechaRegreso.label = Data de retorno expressosPorCotizarController.lhFechaSolicitud.label = Data da inscrição expressosPorCotizarController.lhFluecPlanilla.label = FLUEC - Retorno Ocasional +expressosPorCotizarController.lhFormaPago.label = Método de pagamento expressosPorCotizarController.lhIdaRegreso.label = Ida e volta +expressosPorCotizarController.lhInterno.label = Interno +expressosPorCotizarController.lhKilometros.label = Km +expressosPorCotizarController.lhNit.label = Nit +expressosPorCotizarController.lhNumDespacho.label = # Execução expressosPorCotizarController.lhNumSolicitud.label = # Aplicativo +expressosPorCotizarController.lblObservaciones.label = Observaciones expressosPorCotizarController.lhPlacaVehiculo.label = Placa +expressosPorCotizarController.lhRazonSocial.label = Nome da empresa expressosPorCotizarController.lhRuta.label = Rota expressosPorCotizarController.lhSitioRecogidaIda.label = Local de coleta unidirecional expressosPorCotizarController.lhSitioRecogidaRegreso.label = Devolução de retirada no local +expressosPorCotizarController.lhTipoServicio.label = Tipo de serviço expressosPorCotizarController.lhTrayecto.label = trajetória expressosPorCotizarController.lhValorTrayecto.label = Valor da viagem expressosPorCotizarCotizarController.lblDesc.label = Cotação @@ -7736,6 +7746,8 @@ indexController.mniExportacaoFiscalECF.label = ECF indexController.mniExportacaoFiscalRMD.label = RMD indexController.mniExpressosCargaContrato.label = Taxa de contrato indexController.mniExpressosDocumentos.label = Documentos +indexController.mniExpressosInformeViajesOcasionales.label = Relatório de viagens ocasionais +indexController.mniExpressosPorCotizar.label = Expresso a ser cotado indexController.mniExpressosLog.label = Log indexController.mniExpressosPorCotizar.label = Expresso a ser cotado indexController.mniExpressosProgramacionVehiculos.label = Programação de veículos diff --git a/web/gui/expressos/informeViajesOcasionales.zul b/web/gui/expressos/informeViajesOcasionales.zul new file mode 100644 index 000000000..42be31dfd --- /dev/null +++ b/web/gui/expressos/informeViajesOcasionales.zul @@ -0,0 +1,97 @@ + + + + + + + + + +