Arreglado horrible error con el parseo matematico
This commit is contained in:
@@ -166,9 +166,10 @@ public class ArqueoController {
|
||||
private void updateResumenArqueo() {
|
||||
int totalEfectivo = this.view.getEfectivoField().getValue();
|
||||
int totalDocumentos = this.view.getDocumentosField().getValue();
|
||||
int totalIngresos = ingresoDAO.getTotalIngreso(this.caja);
|
||||
int totalEgresos = this.view.getEgresosField().getValue();
|
||||
|
||||
int totalIngresos = ingresoDAO.getTotalIngreso(this.caja);
|
||||
|
||||
int rendido = totalDocumentos + totalEfectivo + totalEgresos;
|
||||
int diferencia = rendido - totalIngresos;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user