Tenia mal esa suma y estaba considerando cosas que no tenian que ver

This commit is contained in:
Daniel Cortes
2019-02-21 15:34:21 -03:00
parent ed280ea8ca
commit f5b44f32fe
2 changed files with 2 additions and 2 deletions

View File

@@ -136,8 +136,8 @@ public class EstadoResultadoController extends BaseController{
int efectivoGastoGeneralSinRespaldo = DAOManager.getEgresoDAO().getTotalEgresoMesPorTipo(this.mes, gastoGeneralSinRespaldo);
int gastoTotal = efectivoFacturaMateriaPrima + efectivoFacturaGastosGenerales + efectivoGastoGeneralConBoleta + efectivoGastoMenorMateriaPrima + efectivoGastoGeneralSinRespaldo + cuentaCorrienteBoleta + cuentaCorrienteFactura + cuentaCorrienteSinRespaldo;
this.view.getGastosGeneralesEfectivoFacturaField().setValue(efectivoFacturaGastosGenerales + efectivoFacturaMateriaPrima);
this.view.getGastosGeneralesEfectivoBoletaField().setValue(efectivoGastoGeneralConBoleta + efectivoGastoMenorMateriaPrima);
this.view.getGastosGeneralesEfectivoFacturaField().setValue(efectivoFacturaGastosGenerales);
this.view.getGastosGeneralesEfectivoBoletaField().setValue(efectivoGastoGeneralConBoleta);
this.view.getGastosGeneralesEfectivoSinRespaldo().setValue(efectivoGastoGeneralSinRespaldo);
this.view.getGastosGeneralesCuentaCorrienteFactura().setValue(cuentaCorrienteFactura);
this.view.getGastosGeneralesCuentaCorrienteBoleta().setValue(cuentaCorrienteBoleta);