Suporta indenizações isentas, como FGTS e aviso prévio.
[cascardo/declara.git] / lib / isento.c
index af3700e..8bab86c 100644 (file)
@@ -40,6 +40,15 @@ static int isento_totais_update(struct declaracao *dec, struct isento *isento)
                        r += totais_add(dec, "ISENTOSTIT", isento->valor);
                }
                break;
+       case 93:
+               r = totais_add(dec, "INDENIZACOES", isento->valor);
+               r += totais_add(dec, "ISENTOS", 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);