From 45cc7cfa33e3ccf0b1065429718118458f639767 Mon Sep 17 00:00:00 2001 From: Ludovic Stephan Date: Thu, 1 Dec 2016 01:39:16 -0200 Subject: [PATCH] =?UTF-8?q?correction=20n=C3=A9gatif=20total?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kfet/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kfet/views.py b/kfet/views.py index f95fb2c6..daf84207 100644 --- a/kfet/views.py +++ b/kfet/views.py @@ -506,7 +506,7 @@ class AccountNegativeList(ListView): offset = Coalesce(Sum('balance_offset'),0), ) ) - context['negatives_sum'] = negs_sum['bal'] + negs_sum['offset'] + context['negatives_sum'] = negs_sum['bal'] - negs_sum['offset'] return context # -----