fixes bug#12517

dev:wilian
qua:

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@87381 d1611594-4594-4d17-8e1d-87c2c4800839
master
wilian 2018-11-27 15:55:33 +00:00
parent 80c89cd565
commit 4e9742be3e
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,6 @@ package com.rjconsultores.ventaboletos.vo.comissao;
import java.math.BigDecimal;
import java.util.Date;
import org.apache.commons.lang.StringEscapeUtils;
import org.apache.commons.lang.StringUtils;
public class ComissaoReceita {
@ -243,6 +242,7 @@ public class ComissaoReceita {
BigDecimal total = BigDecimal.ZERO;
total = total.add(getReceitaBPR() != null ? getReceitaBPR() : BigDecimal.ZERO)
.add(getReceitaGAP() != null ? getReceitaGAP() : BigDecimal.ZERO)
.add(getInternet() != null ? getInternet() : BigDecimal.ZERO)
.subtract(getDevolvidos() != null ? getDevolvidos() : BigDecimal.ZERO)
.subtract(getDevolvidosGAP() != null ? getDevolvidosGAP() : BigDecimal.ZERO)
.subtract(getCancelados() != null ? getCancelados() : BigDecimal.ZERO)