Soma total do INSS durante processamento de rendimentos.
[cascardo/declara.git] / rendimento.c
index 3a3de23..1f6cb82 100644 (file)
@@ -93,6 +93,7 @@ static int run_rendimento(struct declaracao *dec, char **args, int argc)
        }
        r = totais_add(dec, "RENDPJ", rendimento->rendimento);
        r += totais_add(dec, "RENDPJTIT", rendimento->rendimento);
+       r += totais_add(dec, "INSS", rendimento->previdencia);
        if (r) {
                rendimento_free(rendimento);
                return r;