From b1ef95a6246c69f5288511c6f2258b296f5587c4 Mon Sep 17 00:00:00 2001 From: Thadeu Lima de Souza Cascardo Date: Sat, 1 Aug 2015 22:55:38 -0300 Subject: [PATCH] =?utf8?q?Considera=20o=20total=20de=20pagamentos=20nas=20?= =?utf8?q?dedu=C3=A7=C3=B5es.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Os pagamentos devem ser contabilizados por tipo, a fim de considerar os limites aplicáveis. Neste momento, considere os totais de pagamentos. --- calcula.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calcula.c b/calcula.c index a78d1c8..4603ab5 100644 --- a/calcula.c +++ b/calcula.c @@ -29,7 +29,7 @@ * limites no futuro. */ static long long total_deducao(struct declaracao *dec) { - return totais_get(dec, "INSS"); + return totais_get(dec, "INSS") + totais_get(dec, "PAGAMENTOS"); } static void total_pago(struct declaracao *dec) -- 2.20.1