Bug 445510 - Column order of Debits and Credits
Summary: Column order of Debits and Credits
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 5.1.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-15 04:36 UTC by jesse
Modified: 2021-11-29 07:21 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jesse 2021-11-15 04:36:34 UTC
SUMMARY
Most statements from institutions in the USA, show the statement in the order of Debits/Additions, then Credits/Subtractions.

When I am comparing my monthly statement to the my KMyMoney's ledger, it is something I have to take into account. Is there a way to offer the ability to list the Debits first an then the Credits. For an asset account, it currently shows Payments(Credits) and then Deposit(Debits). I  would rather it be the other way, Deposit(Debits) then Payments(Credits). 
It would be great if there is a total at the bottom. 
There is tons of real estate on the ledger. 


STEPS TO REPRODUCE
1. Open MyMoney file 
2. go to an Asset, like a checking account 
3. Observe how Payments is listed first then Debits. 



OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Gnome 40.4 
KDE Plasma Version: N/A
KDE Frameworks 5.51.0
Qt 5.11.3 (built against 5.11.3)
The xcb windowing system

ADDITIONAL INFORMATION
Comment 1 Thomas Baumgart 2021-11-20 12:55:28 UTC
Git commit 0a9cb4f01e0867dcc67311098bae75b5f3948f5d by Thomas Baumgart.
Committed on 20/11/2021 at 12:47.
Pushed by tbaumgart into branch 'master'.

Allow changing order of ledger columns

The order of the columns in the ledger views can be changed by dragging
a header of the columns with the mouse to its new position.

M  +17   -0    kmymoney/views/ledgerview.cpp
M  +2    -0    kmymoney/views/ledgerview.h
M  +2    -0    kmymoney/views/ledgerviewpage.cpp
M  +2    -0    kmymoney/views/ledgerviewpage.h
M  +35   -6    kmymoney/views/newtransactioneditor.cpp
M  +10   -0    kmymoney/views/simpleledgerview.cpp
M  +2    -0    kmymoney/views/simpleledgerview.h
M  +1    -0    kmymoney/widgets/columnselector.cpp

https://invent.kde.org/office/kmymoney/commit/0a9cb4f01e0867dcc67311098bae75b5f3948f5d
Comment 2 Thomas Baumgart 2021-11-21 08:24:37 UTC
Git commit d213c96c7519b548f28ce4002313242516636b68 by Thomas Baumgart.
Committed on 21/11/2021 at 08:23.
Pushed by tbaumgart into branch 'master'.

Allow changing order of ledger columns in split dialog

The order of the columns in the split dialog can be changed by dragging
a header of the columns with the mouse to its new position.

This amends the functionality of commit 0a9cb4f0

M  +48   -3    kmymoney/views/newspliteditor.cpp
M  +2    -0    kmymoney/views/newspliteditor.h
M  +2    -2    kmymoney/views/newspliteditor.ui
M  +1    -1    kmymoney/views/newtransactioneditor.cpp
M  +2    -0    kmymoney/views/splitdelegate.cpp
M  +3    -5    kmymoney/views/splitview.cpp

https://invent.kde.org/office/kmymoney/commit/d213c96c7519b548f28ce4002313242516636b68
Comment 3 jesse 2021-11-28 22:10:55 UTC
Hi all! Thanks Thomas for the add in feature! I can't wait to use it!
How will I know what version this new feature is in? 

Do i need to build from source or will an app image contain it? 

Thanks!
Comment 4 Thomas Baumgart 2021-11-29 07:20:20 UTC
Currently, it is only available by compiling from source (master branch). It will not be backported to the 5.1 stable branch for technical reasons. Once the appimage builds are working again (see bug #446202), you can give it a try with the unstable version.
Comment 5 jesse 2021-11-29 07:21:58 UTC
Ok thanks!