From: Thadeu Lima de Souza Cascardo Date: Sat, 12 Mar 2016 20:25:43 +0000 (-0300) Subject: Remove TODO em alguns casos. X-Git-Url: http://git.cascardo.eti.br/?a=commitdiff_plain;ds=sidebyside;h=3d8989b4080bc97feaa4d2f2a227f5c97ab2919c;p=cascardo%2Fdeclara.git Remove TODO em alguns casos. Alguns campos foram implementados, não sendo mais necessário documentá-los com TODO. --- diff --git a/lib/gera.c b/lib/gera.c index ab59213..f476627 100644 --- a/lib/gera.c +++ b/lib/gera.c @@ -88,10 +88,10 @@ static void gera_header(struct declaracao *dec, FILE *f) fprintf(f, " "); /* RRA4 */ fprintf(f, "%-11.11s", ""); /* CPF RRA4 */ fprintf(f, "0000000000000"); /* TODO: Doacao ECA */ - fprintf(f, "%-14.14s", rendimento_cnpj_ordenado(dec, 0)); /* TODO: CNPJ maior */ - fprintf(f, "%-14.14s", rendimento_cnpj_ordenado(dec, 1)); /* TODO: CNPJ maior 2 */ - fprintf(f, "%-14.14s", rendimento_cnpj_ordenado(dec, 2)); /* TODO: CNPJ maior 3 */ - fprintf(f, "%-14.14s", rendimento_cnpj_ordenado(dec, 3)); /* TODO: CNPJ maior 4 */ + fprintf(f, "%-14.14s", rendimento_cnpj_ordenado(dec, 0)); /* CNPJ maior */ + fprintf(f, "%-14.14s", rendimento_cnpj_ordenado(dec, 1)); /* CNPJ maior 2 */ + fprintf(f, "%-14.14s", rendimento_cnpj_ordenado(dec, 2)); /* CNPJ maior 3 */ + fprintf(f, "%-14.14s", rendimento_cnpj_ordenado(dec, 3)); /* CNPJ maior 4 */ fprintf(f, "%-11.11s", ""); /* CPF Dependente 1 */ fprintf(f, "%-8.8s", ""); /* DN Dependente 1 */ fprintf(f, "%-11.11s", ""); /* CPF Dependente 2 */ @@ -258,7 +258,7 @@ static void gera_totais_simples(struct declaracao *dec, FILE *f) fprintf(f, "%013lld", dec->pagar); /* TODO: valor quota */ fprintf(f, "%013lld", totais_get(dec, "ISENTOS")); /* rendimentos isentos */ fprintf(f, "%013lld", totais_get(dec, "EXCLUSIVOS")); /* rendimentos tributação exclusiva */ - fprintf(f, "%013lld", dec->conjuge.total); /* TODO: conjuge */ + fprintf(f, "%013lld", dec->conjuge.total); /* conjuge */ fprintf(f, "%013lld", 0); /* TODO: rendimento PJ dependente */ fprintf(f, "%013lld", 0); /* TODO: imposto retido dependente */ fprintf(f, "%013lld", 0); /* TODO: imposto ganhos de capital */