projects
/
cascardo
/
declara.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Deduz reembolsos de pagamentos.
[cascardo/declara.git]
/
lib
/
calcula.c
diff --git
a/lib/calcula.c
b/lib/calcula.c
index
68ad6f1
..
50747c9
100644
(file)
--- a/
lib/calcula.c
+++ b/
lib/calcula.c
@@
-41,7
+41,8
@@
static long long total_deducao(struct declaracao *dec)
int i;
return totais_get(dec, "DEPENDENTES") +
totais_get(dec, "INSS") +
- totais_get(dec, "PAGAMENTOS");
+ totais_get(dec, "PAGAMENTOS") -
+ totais_get(dec, "REEMBOLSOS");
}
static void total_pago(struct declaracao *dec)