Remove TODO em alguns casos.
authorThadeu Lima de Souza Cascardo <cascardo@cascardo.eti.br>
Sat, 12 Mar 2016 20:25:43 +0000 (17:25 -0300)
committerThadeu Lima de Souza Cascardo <cascardo@cascardo.eti.br>
Sat, 12 Mar 2016 20:48:27 +0000 (17:48 -0300)
Alguns campos foram implementados, não sendo mais necessário
documentá-los com TODO.

lib/gera.c

index ab59213..f476627 100644 (file)
@@ -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 */