Suporta doações.
[cascardo/declara.git] / lib / isento.c
index 75de486..f078804 100644 (file)
@@ -31,6 +31,11 @@ static int isento_totais_update(struct declaracao *dec, struct isento *isento)
 {
        int r = 0;
        switch (isento->codigo) {
+       case 82:
+               r = totais_add(dec, "DOACOES", isento->valor);
+               r += totais_add(dec, "ISENTOS", isento->valor);
+               r += totais_add(dec, "ISENTOSTIT", isento->valor);
+               break;
        case 96:
                r = totais_add(dec, "PLR", isento->valor);
                r += totais_add(dec, "EXCLUSIVOS", isento->valor);