Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Idea: Show measure of size of transactions in journal view #1545

Open
zroug opened this issue Feb 10, 2023 · 1 comment
Open

Idea: Show measure of size of transactions in journal view #1545

zroug opened this issue Feb 10, 2023 · 1 comment

Comments

@zroug
Copy link

zroug commented Feb 10, 2023

It would be great to have a measure of the size of transactions in the journal view, similar to the "Change" column in the account view. Something similar to the following BQL query could be used to calculate the size of a transaction:

SELECT
  first(date) AS date,
  first(narration) AS narration,
  sum(units(position)) AS size
WHERE number(units(position)) >= 0
GROUP BY id

This only makes sense for transactions that are balanced, for unbalanced transactions this value should not be displayed. For multi-currency transactions, one could either display all currencies or ignore them too.

@yagebu
Copy link
Member

yagebu commented May 26, 2023

I like the idea - a PR contributing this would be welcome :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants