From b3253e1db05b865a52b663d7d457743844508f47 Mon Sep 17 00:00:00 2001 From: Thadeu Lima de Souza Cascardo Date: Mon, 9 Apr 2018 23:33:24 -0300 Subject: [PATCH] =?utf8?q?Al=C3=ADquota=20efetiva=20na=20declara=C3=A7?= =?utf8?q?=C3=A3o=20completa?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- lib/gera.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/gera.c b/lib/gera.c index 651db97..8a2f5d5 100644 --- a/lib/gera.c +++ b/lib/gera.c @@ -507,6 +507,9 @@ static void gera_totais_completa(struct declaracao *dec, FILE *f) fprintf(f, "%013lld", 0); /* TODO: imposto devido ganho capital */ fprintf(f, "%013lld", 0); /* TODO: imposto ganho líquido renda variável */ fprintf(f, "%013lld", 0); /* TODO: imposto devido ganho capital moeda estrangeira */ + if (dec->ano >= 2018) { + fprintf(f, "%05lld", dec->aliquota_efetiva); + } } static void gera_isentos(struct declaracao *dec, FILE *f) -- 2.20.1