Fixes Bug #0010227
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@77812 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
fcfccd2f42
commit
6605dd1eb4
|
@ -199,7 +199,7 @@ public class RelatorioLinhasHorario extends Relatorio {
|
|||
totalPaxKMOfertado = totalPaxKMOfertado.add(horarioBean.getPaxKmOfertado() != null ? horarioBean.getPaxKmOfertado() : BigDecimal.ZERO);
|
||||
totalPaxKMTransportado = totalPaxKMTransportado.add(horarioBean.getPaxKmTransportado() != null ? horarioBean.getPaxKmTransportado() : BigDecimal.ZERO);
|
||||
|
||||
totalIAP = calcTotalIap(totalPaxKMTransportado, totalPaxKMOfertado);
|
||||
totalIAP = totalIAP.add(horarioBean.getIap());
|
||||
|
||||
}
|
||||
|
||||
|
@ -219,13 +219,13 @@ public class RelatorioLinhasHorario extends Relatorio {
|
|||
parametros.put("TOTAL_KM_RODADO", totalKmRodado);
|
||||
parametros.put("TOTAL_ABSOLUTO", totalAbsoluto);
|
||||
parametros.put("TOTAL_EQUIVALENTE", totalEquivalente);
|
||||
parametros.put("MEDIA_MPA", mediaMPA.divide(qtdeRegistros, 2, 4));
|
||||
parametros.put("MEDIA_MPE", mediaMPE.divide(qtdeRegistros, 2, 4));
|
||||
parametros.put("MEDIA_RS_POR_KM", mediaRsPorKm.divide(qtdeRegistros, 2, 4));
|
||||
parametros.put("MEDIA_MPA", mediaMPA);
|
||||
parametros.put("MEDIA_MPE", mediaMPE);
|
||||
parametros.put("MEDIA_RS_POR_KM", mediaRsPorKm);
|
||||
parametros.put("TOTAL_EQ", totalEQ);
|
||||
parametros.put("TOTAL_TX_EMBARQUE", totalTxEmbarque);
|
||||
parametros.put("TOTAL_PEDAGIO", totalPedagio);
|
||||
parametros.put("MEDIA_RS_POR_VIAGEM", mediaRSPorViagem.divide(qtdeRegistros, 2, 4));
|
||||
parametros.put("MEDIA_RS_POR_VIAGEM", mediaRSPorViagem);
|
||||
parametros.put("TOTAL_PAX_KM_OFERTADO", totalPaxKMOfertado);
|
||||
parametros.put("TOTAL_PAX_KM_TRANSPORTADO", totalPaxKMTransportado);
|
||||
parametros.put("TOTAL_IAP", totalIAP);
|
||||
|
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue