Add totals row on table reports
ClosedPublic

Authored by wojnilowicz on Mar 18 2017, 2:05 PM.

Details

Reviewers
None
Group Reviewers
KMyMoney
Commits
R261:98af682ab805: Add totals row on table reports
Summary

Patch changes the way subtotals are delivered to the screen. Instead of
calculating subtotals in renderer, renderer identifies specific row as
totals row.
Things changed:

  1. multiple subtotals possible instead of only one,
  2. radesigned rank variable as follows 0 - opening balance 1 - major split of transaction 2 - minor splits of transaction 3 - closing balance 4 - totals row
  3. GroupIterator has been replaced by simpler code without any hacks
  4. in case of multiple currencies only grand total isn't displayed and

not all totals

  1. Investment Performance and Capital Gains report have all columns

subtotaled

BUG:314021
FIXED-IN:5.0

Test Plan

Tested investment reports and transactions by everything.

Diff Detail

Repository
R261 KMyMoney
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
wojnilowicz created this revision.Mar 18 2017, 2:05 PM
This revision was automatically updated to reflect the committed changes.