Skip to content

Commit

Permalink
Changed alignment for totals in multi-currency income/spending operat…
Browse files Browse the repository at this point in the history
…ions.
  • Loading branch information
titov-vv committed Jan 27, 2024
1 parent 79c2e0d commit b0ea5ec
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion jal/db/operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,10 @@ def value_currency(self) -> str:
return f" {self._account_currency}"

def value_total(self) -> list:
return [self._money_total(self._account.id())]
total = [self._money_total(self._account.id())]
if self._currency:
total.append(None)
return total

# Return peer_id of current operation
def peer(self) -> int:
Expand Down

0 comments on commit b0ea5ec

Please sign in to comment.