Commit Graph

18950 Commits

Author SHA1 Message Date
Christopher Lam
7a5f2ed49b ENH: Add indenting for main data and subheadings/subtotals
Adds between 0-2 empty columns to the left, depending on subtotal strategy.
Option toggle added to Sorting tab
2017-12-24 00:13:39 +08:00
Christopher Lam
408f609a58 ENH: Add sortkey Reconciled Status
Can be useful for reconcilation report.
2017-12-24 00:13:39 +08:00
Christopher Lam
3de3d3cc9a ENH: Add debit/credit friendly names in subheading rendering
Also add UI to toggle friendly headers
2017-12-24 00:13:39 +08:00
Christopher Lam
139e2aa7f2 ENH: Add option to choose infobox display summary
Options are: always/never display, or display if no splits are matched or found
2017-12-24 00:13:39 +08:00
Christopher Lam
f2df1bd49c COSMETIC: if grand-totals=#f then omit <hr>
I think <hr> and grand-total belong together because they share
the same style.
2017-12-24 00:13:39 +08:00
Christopher Lam
a81c348310 REFACTOR: remove 'renderer-key lookup symbol, simplify custom sorter 2017-12-24 00:13:39 +08:00
Christopher Lam
39dceb5534 REFACTOR: simplify num/t-num display code 2017-12-24 00:13:39 +08:00
Christopher Lam
005fdb5f43 REFACTOR: centralize left-cols to a vector-list 2017-12-24 00:13:39 +08:00
Christopher Lam
7b6ac3a077 ENH: if no Display/* selected, insert empty left-column
Previously, if user selected NO split header (eg Date
Description Memo etc) the report would display the data
columns, which means the subtotal would cause misalignment.
This commit ensures the columns are aligned when user
selects no split information. At least 1 left-column is
required to allow for subtotal headers and summaries within
the table.
2017-12-24 00:13:39 +08:00
Christopher Lam
230493f294 REFACTOR: simplify render-summary
it's the sole user of renderer-keys. access from *-get-info directly.
2017-12-24 00:13:39 +08:00
Christopher Lam
1ce2f3f6d8 REFACTOR: simplify do-rows-with-subtotals 2017-12-24 00:13:39 +08:00
Christopher Lam
7257675218 REFACTOR:bisect subtotal-get-info into primary/secondary 2017-12-24 00:13:39 +08:00
Christopher Lam
e2912d1b9c REFACTOR: start refactor subtotal 2017-12-24 00:13:39 +08:00
Christopher Lam
00b2e76d35 BUGFIX: Reverse sign on display only 2017-12-24 00:13:39 +08:00
Christopher Lam
0854caba95 BUGFIX: Fix incorrect N_ and _ handling 2017-12-24 00:13:39 +08:00
Christopher Lam
c26af85e82 ENH: Upgrade Sign Reversal to use global preference by default 2017-12-24 00:13:39 +08:00
Christopher Lam
e8dc5c545d REFACTOR: move calculated-cells to allow access from add-subtotal-row
This will negate the need to zip calculated cells to call add-subtotal-row.
Note git-diff seems to think lots of functions were moved - it's calculated-cells
that's been moved by a few lines so that it is accessible to add-subtotal-row.

Also rename a few keywords to better describe their use.
2017-12-24 00:13:39 +08:00
Christopher Lam
6f87138bce ENH: 'original currency amt' now shows dual columns 2017-12-24 00:13:39 +08:00
Christopher Lam
2e06c8fc33 REFACTOR+ENH:Add common-currency mnemonic to header if enabled
This requires refactoring calculated cells to centralize
the headers and enable their modification.
2017-12-24 00:13:39 +08:00
Christopher Lam
aaa23dc51e REFACTOR: move column-uses? location
This commit moves column-uses? helper to allow access
to used-columns instead of needing to pass this parameter
around with every call.
2017-12-24 00:13:39 +08:00
Christopher Lam
43cbe65282 REFACTOR:Move Void-status filter to filter tab
Also upgrade lookup-value Void Transactions now in Filter tab
2017-12-24 00:13:39 +08:00
Christopher Lam
20feefe681 REFACTOR:Centralise sign-reverse-list
This allows us to centralise its account type list.
2017-12-24 00:13:39 +08:00
Christopher Lam
3b3c0322cf ENH: add infobox to summarise options used 2017-12-24 00:13:39 +08:00
Christopher Lam
ea416e16d5 REFACTOR: Centralize options 2017-12-24 00:13:39 +08:00
Christopher Lam
d9d4ffaff2 ENH: disable filter accounts selector if filter-mode=none 2017-12-24 00:13:39 +08:00
Christopher Lam
8399ee65bd ENH: dual columns subtotals now in correct column
This commit changes dual column subtotal strategy to limit
to debit/credit columns handling only. Values are summed
and the subtotal is displayed in the appropriate debit or
credit column.
2017-12-24 00:13:39 +08:00
Christopher Lam
521c16241d REFACTOR: Use time64 instead of timepair 2017-12-24 00:13:39 +08:00
Christopher Lam
1be88ad175 COSMETIC: Move Display>Sign reversal option 2017-12-24 00:13:39 +08:00
Christopher Lam
fa0bcf104a ENH: Enable sign reversal for amount 'single only 2017-12-24 00:13:39 +08:00
Christopher Lam
db019ec51e ENH: "Shares" column gets number-cell styling
This commit enables styling for shares column which allows
right-alignment of numeric amount.
2017-12-24 00:13:39 +08:00
Christopher Lam
1a886fac7d ENH: "Price" column gets number-cell styling. 2017-12-24 00:13:39 +08:00
Christopher Lam
ef65f544aa ENH: show original currency, and enable multicolumns.
This commit optionally displays the original currency
if 'common currency' is ticked. This will require
refactoring to enable multicolumn data display and
multiple collectors for subtotals.
2017-12-24 00:13:39 +08:00
Christopher Lam
b549dd68fb ENH: add custom sorter which can handle periodic dates 2017-12-24 00:13:39 +08:00
Christopher Lam
4bfd01e706 REFACTOR: simplify do-rows-with-subtotals to use fewer args 2017-12-24 00:13:39 +08:00
Christopher Lam
c7f9fb1a3a REFACTOR: use scheme idioms 2017-12-24 00:13:39 +08:00
Christopher Lam
68aa61a37c REFACTOR: Simplify Trans Number handling
Previously there was a check for the presence of "Trans Number".
But if 'use-split-action' the options will always contain
the toggle 'Trans Number'. Therefore remove unnecessary check.
2017-12-24 00:13:39 +08:00
Christopher Lam
8044f2b04e COSMETIC:Rename subtitles -> subheadings in sorting/account display 2017-12-24 00:13:39 +08:00
Christopher Lam
b6c6906bb1 REFACTOR: initialize accounts/filter by to null list 2017-12-24 00:13:39 +08:00
Christopher Lam
8e4d72b544 REFACTOR: rewrite renderers to lookup 'renderer-key from sortlists 2017-12-24 00:13:39 +08:00
Christopher Lam
afc6ca078c ENH: Show account description in subheadings 2017-12-24 00:13:39 +08:00
Christopher Lam
c4089ebcc3 REFACTOR: move add-split-row into make-split-table 2017-12-24 00:13:39 +08:00
Christopher Lam
dd22216845 REFACTOR: move *-choice-list into options-generator 2017-12-24 00:13:39 +08:00
Christopher Lam
d88d503b38 REFACTOR: simplify functions, reduce arguments 2017-12-24 00:13:39 +08:00
Christopher Lam
a5306d0454 REFACTOR: improve heading-list to handle dual headings 2017-12-24 00:13:39 +08:00
Christopher Lam
e1ba5f3248 REFACTOR: centralize BOOK-SPLIT-ACTION
Centralize BOOK-SPLIT-ACTION
2017-12-24 00:13:39 +08:00
Christopher Lam
070c99c1c2 REFACTOR: centralize DATE-SORTING-TYPES and SUBTOTAL-ENABLED
Also minor whitespace changes
2017-12-24 00:13:39 +08:00
Christopher Lam
d0c435e73d REFACTOR: centralize key-choice-list 2017-12-24 00:13:39 +08:00
Christopher Lam
a2008c492d REFACTOR: centralize date-subtotal-list 2017-12-24 00:13:39 +08:00
Christopher Lam
b9390cead1 REFACTOR: centralize sortkey-list 2017-12-24 00:13:39 +08:00
Christopher Lam
ff0d7cc2c4 REFACTOR: centralize numerous used-* into column-uses? helper function 2017-12-24 00:13:39 +08:00