From cf5cae5303d4c0b8d7b86519e851dc958480275d Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Mon, 10 Oct 2011 04:46:34 +0200 Subject: [PATCH] Show total effect on balance, too --- client-barcode/freitagskasse.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client-barcode/freitagskasse.py b/client-barcode/freitagskasse.py index ad91341..59304e7 100644 --- a/client-barcode/freitagskasse.py +++ b/client-barcode/freitagskasse.py @@ -113,6 +113,9 @@ class Status: for i, (command, balance_backup) in enumerate(self.transfers): show_item(i + 1, command) show_bar() + if len(self.transfers) > 1: + show_total(self.balance - initial_balance, plus='+') + show_bar() show_total(self.balance) if self.balance < 0: