#include "rendimento.h"
#include "pagamento.h"
#include "bem.h"
+#include "totais.h"
#include "util.h"
SET_INT(ano);
if (dec->pagar > 0)
printf("a pagar: %lld.%02d\n", reais(dec->pagar),
centavos(dec->pagar));
+ printf("base de cálculo: %lld.%02d\n",
+ reais(totais_get(dec, "BASE")),
+ centavos(totais_get(dec, "BASE")));
+ printf("isentos: %lld.%02d\n",
+ reais(totais_get(dec, "ISENTOS")),
+ centavos(totais_get(dec, "ISENTOS")));
+ printf("exclusivos: %lld.%02d\n",
+ reais(totais_get(dec, "EXCLUSIVOS")),
+ centavos(totais_get(dec, "EXCLUSIVOS")));
+ printf("hash: %010ld\n", dec->hash);
return 0;
}