fixes bug#AL-3818
parent
d7ae933427
commit
4e5a3d6e18
2
pom.xml
2
pom.xml
|
@ -4,7 +4,7 @@
|
|||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>br.com.rjconsultores</groupId>
|
||||
<artifactId>ventaboletosadm</artifactId>
|
||||
<version>1.61.6</version>
|
||||
<version>1.61.7</version>
|
||||
<packaging>war</packaging>
|
||||
|
||||
<properties>
|
||||
|
|
Binary file not shown.
|
@ -1030,7 +1030,7 @@
|
|||
<noData>
|
||||
<band height="20">
|
||||
<textField>
|
||||
<reportElement uuid="3429e199-e682-4e28-b2ce-1bc9f2d031b2" x="0" y="0" width="812" height="20"/>
|
||||
<reportElement uuid="3429e199-e682-4e28-b2ce-1bc9f2d031b2" x="0" y="0" width="811" height="20"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$R{msg.noData}]]></textFieldExpression>
|
||||
</textField>
|
||||
|
|
Binary file not shown.
|
@ -1018,7 +1018,7 @@
|
|||
<noData>
|
||||
<band height="20">
|
||||
<textField>
|
||||
<reportElement uuid="3429e199-e682-4e28-b2ce-1bc9f2d031b2" x="0" y="0" width="812" height="20"/>
|
||||
<reportElement uuid="3429e199-e682-4e28-b2ce-1bc9f2d031b2" x="0" y="0" width="811" height="20"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$R{msg.noData}]]></textFieldExpression>
|
||||
</textField>
|
||||
|
|
|
@ -8,6 +8,10 @@ public class RelatorioEncerramentoCheckinBean {
|
|||
private String dataEncerramento;
|
||||
private String usuario;
|
||||
private String imei;
|
||||
private String usuario_vanda;
|
||||
private String usuario_encerramento;
|
||||
private String usuario_nowshow;
|
||||
private String usuario_checkin;
|
||||
|
||||
public Integer getServico() {
|
||||
return servico;
|
||||
|
@ -56,4 +60,36 @@ public class RelatorioEncerramentoCheckinBean {
|
|||
public void setImei(String imei) {
|
||||
this.imei = imei;
|
||||
}
|
||||
|
||||
public String getUsuario_encerramento() {
|
||||
return usuario_encerramento;
|
||||
}
|
||||
|
||||
public void setUsuario_encerramento(String usuario_encerramento) {
|
||||
this.usuario_encerramento = usuario_encerramento;
|
||||
}
|
||||
|
||||
public String getUsuario_nowshow() {
|
||||
return usuario_nowshow;
|
||||
}
|
||||
|
||||
public void setUsuario_nowshow(String usuario_nowshow) {
|
||||
this.usuario_nowshow = usuario_nowshow;
|
||||
}
|
||||
|
||||
public String getUsuario_checkin() {
|
||||
return usuario_checkin;
|
||||
}
|
||||
|
||||
public void setUsuario_checkin(String usuario_checkin) {
|
||||
this.usuario_checkin = usuario_checkin;
|
||||
}
|
||||
|
||||
public String getUsuario_vanda() {
|
||||
return usuario_vanda;
|
||||
}
|
||||
|
||||
public void setUsuario_vanda(String usuario_vanda) {
|
||||
this.usuario_vanda = usuario_vanda;
|
||||
}
|
||||
}
|
|
@ -32,7 +32,9 @@ import com.rjconsultores.ventaboletos.entidad.GrupoRuta;
|
|||
import com.rjconsultores.ventaboletos.entidad.Ruta;
|
||||
import com.rjconsultores.ventaboletos.relatorios.impl.RelatorioLinhasHorario;
|
||||
import com.rjconsultores.ventaboletos.relatorios.impl.RelatorioLinhasHorarioSimpData;
|
||||
import com.rjconsultores.ventaboletos.relatorios.impl.RelatorioLinhasHorarioSimpDataConsiderarTaxaPedagio;
|
||||
import com.rjconsultores.ventaboletos.relatorios.impl.RelatorioLinhasHorarioSimplificado;
|
||||
import com.rjconsultores.ventaboletos.relatorios.impl.RelatorioLinhasHorarioSimplificadoConsiderarTaxaPedagio;
|
||||
import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio;
|
||||
import com.rjconsultores.ventaboletos.service.CorridaService;
|
||||
import com.rjconsultores.ventaboletos.service.EmpresaService;
|
||||
|
@ -92,6 +94,7 @@ public class RelatorioLinhasHorarioController extends MyGenericForwardComposer {
|
|||
private Radio rdTodos;
|
||||
private Checkbox chkSimplificado;
|
||||
private Checkbox chkSimplificadoPorData;
|
||||
private Checkbox chkConisederarTXPedagio;
|
||||
|
||||
private Timebox horaInicial;
|
||||
private Timebox horaFinal;
|
||||
|
@ -178,9 +181,17 @@ public class RelatorioLinhasHorarioController extends MyGenericForwardComposer {
|
|||
parametros.put("ISSENTIDOVOLTA", chkIndSentidoVolta.isChecked() );
|
||||
parametros.put("ISPORDATA",chkSimplificadoPorData.isChecked() );
|
||||
if (!chkSimplificadoPorData.isChecked()) {
|
||||
relatorio = new RelatorioLinhasHorarioSimplificado(parametros, dataSourceRead.getConnection());
|
||||
if (chkConisederarTXPedagio.isChecked()){
|
||||
relatorio = new RelatorioLinhasHorarioSimplificadoConsiderarTaxaPedagio(parametros, dataSourceRead.getConnection());
|
||||
}else {
|
||||
relatorio = new RelatorioLinhasHorarioSimplificado(parametros, dataSourceRead.getConnection());
|
||||
}
|
||||
} else {
|
||||
relatorio = new RelatorioLinhasHorarioSimpData(parametros, dataSourceRead.getConnection());
|
||||
if (chkConisederarTXPedagio.isChecked()){
|
||||
relatorio = new RelatorioLinhasHorarioSimpDataConsiderarTaxaPedagio(parametros, dataSourceRead.getConnection());
|
||||
}else {
|
||||
relatorio = new RelatorioLinhasHorarioSimpData(parametros, dataSourceRead.getConnection());
|
||||
}
|
||||
}
|
||||
|
||||
tituloRelatorio = "relatorioLinhasHorarioSimplificadoController.window.title";
|
||||
|
@ -270,6 +281,7 @@ public class RelatorioLinhasHorarioController extends MyGenericForwardComposer {
|
|||
|
||||
servicoList.setItemRenderer(new RenderCorridaOrigemDestino());
|
||||
servicoListSelList.setItemRenderer(new RenderCorridaOrigemDestino());
|
||||
chkConisederarTXPedagio.setDisabled(true);
|
||||
chkSimplificado.addEventListener("onCheck", new EventListener() {
|
||||
public void onEvent(Event event) {
|
||||
boolean isChecked = chkSimplificado.isChecked();
|
||||
|
@ -277,8 +289,12 @@ public class RelatorioLinhasHorarioController extends MyGenericForwardComposer {
|
|||
if (isChecked) {
|
||||
chkSimplificadoPorData.setChecked(false);
|
||||
chkSimplificadoPorData.setDisabled(true);
|
||||
chkConisederarTXPedagio.setChecked(false);
|
||||
chkConisederarTXPedagio.setDisabled(false);
|
||||
} else if (!isChecked) {
|
||||
chkSimplificadoPorData.setDisabled(false);
|
||||
chkConisederarTXPedagio.setChecked(false);
|
||||
chkConisederarTXPedagio.setDisabled(true);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
@ -290,8 +306,12 @@ public class RelatorioLinhasHorarioController extends MyGenericForwardComposer {
|
|||
if (isChecked ) {
|
||||
chkSimplificado.setChecked(false);
|
||||
chkSimplificado.setDisabled(true);
|
||||
chkConisederarTXPedagio.setChecked(false);
|
||||
chkConisederarTXPedagio.setDisabled(false);
|
||||
} else if (!isChecked) {
|
||||
chkSimplificado.setDisabled(false);
|
||||
chkConisederarTXPedagio.setChecked(false);
|
||||
chkConisederarTXPedagio.setDisabled(true);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<zk xmlns="http://www.zkoss.org/2005/zul">
|
||||
<window id="winFiltroRelatorioResumoLinhas"
|
||||
apply="${relatorioResumoLinhasController}"
|
||||
contentStyle="overflow:auto" width="500px"
|
||||
contentStyle="overflow:auto" height="400px" width="500px"
|
||||
border="normal">
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
|
@ -93,6 +93,7 @@
|
|||
<label
|
||||
value="${c:l('relatorioResumoLinhasController.lbKMConsiderarExtensao.label')}"/>
|
||||
<label value= " "/>
|
||||
<space />
|
||||
<image src="/gui/img/Question_mark_1.png" tooltiptext="${c:l('relatorioResumoLinhasController.lbKMConsiderarExtensao.ajuda')}"
|
||||
style="cursor: help" />
|
||||
</cell>
|
||||
|
|
Loading…
Reference in New Issue