From ad409cde9f5f394e6ba68a9e914e31689add6cf3 Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Fri, 1 Aug 2014 22:25:56 +0200 Subject: [PATCH] balance = income - expenses --- public/app/js/main/templates/balance.tpl.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/app/js/main/templates/balance.tpl.html b/public/app/js/main/templates/balance.tpl.html index 2a204b31..9182240a 100644 --- a/public/app/js/main/templates/balance.tpl.html +++ b/public/app/js/main/templates/balance.tpl.html @@ -12,8 +12,8 @@ -

- Balance: {{( balance.expenses_total - balance.income_total * -1 ) * -1 | number:2}} € +

+ Balance: {{( balance.income_total - balance.expenses_total ) | number:2}} €