case 82:
r = totais_add(dec, "DOACOES", isento->valor);
r += totais_add(dec, "ISENTOS", isento->valor);
- r += totais_add(dec, "ISENTOSTIT", isento->valor);
+ if (isento->dependente) {
+ r += totais_add(dec, "ISENTOSDEP", isento->valor);
+ } else {
+ r += totais_add(dec, "ISENTOSTIT", isento->valor);
+ }
break;
case 96:
r = totais_add(dec, "PLR", isento->valor);
r += totais_add(dec, "EXCLUSIVOS", isento->valor);
- r += totais_add(dec, "EXCLUSIVOSTIT", isento->valor);
+ if (isento->dependente) {
+ r += totais_add(dec, "EXCLUSIVOSDEP", isento->valor);
+ } else {
+ r += totais_add(dec, "EXCLUSIVOSTIT", isento->valor);
+ }
break;
case 98:
r = totais_add(dec, "POUPANCA", isento->valor);
r += totais_add(dec, "ISENTOS", isento->valor);
- r += totais_add(dec, "ISENTOSTIT", isento->valor);
+ if (isento->dependente) {
+ r += totais_add(dec, "ISENTOSDEP", isento->valor);
+ } else {
+ r += totais_add(dec, "ISENTOSTIT", isento->valor);
+ }
break;
case 99:
r = totais_add(dec, "APLICACOES", isento->valor);
r += totais_add(dec, "EXCLUSIVOS", isento->valor);
- r += totais_add(dec, "EXCLUSIVOSTIT", isento->valor);
+ if (isento->dependente) {
+ r += totais_add(dec, "EXCLUSIVOSDEP", isento->valor);
+ } else {
+ r += totais_add(dec, "EXCLUSIVOSTIT", isento->valor);
+ }
break;
}
return r;