rendimento_free(rendimento);
return r;
}
- r = totais_add(dec, "RENDPJ", rendimento->rendimento);
+ r = totais_add(dec, "RENDTRIB", rendimento->rendimento);
+ r += totais_add(dec, "RENDPJ", rendimento->rendimento);
r += totais_add(dec, "RENDPJTIT", rendimento->rendimento);
r += totais_add(dec, "INSS", rendimento->previdencia);
r += totais_add(dec, "DECIMOTERCEIRO", rendimento->decimoterceiro);