Show total effect on balance, too
This commit is contained in:
parent
c720456749
commit
cf5cae5303
|
@ -113,6 +113,9 @@ class Status:
|
||||||
for i, (command, balance_backup) in enumerate(self.transfers):
|
for i, (command, balance_backup) in enumerate(self.transfers):
|
||||||
show_item(i + 1, command)
|
show_item(i + 1, command)
|
||||||
show_bar()
|
show_bar()
|
||||||
|
if len(self.transfers) > 1:
|
||||||
|
show_total(self.balance - initial_balance, plus='+')
|
||||||
|
show_bar()
|
||||||
show_total(self.balance)
|
show_total(self.balance)
|
||||||
|
|
||||||
if self.balance < 0:
|
if self.balance < 0:
|
||||||
|
|
Loading…
Reference in New Issue