Commit Graph
30 Commits
Author SHA1 Message Date
christopherlam cdb677633c improve split-remove-duplicates, combine filters
To use inbuilt list functions
2017-10-27 16:53:08 +08:00
christopherlam 3475a894f9 Regex is optional, and add transaction matcher
This commit will reinstate substring matcher, with optional regex matching.

Will also add a Transaction Matcher - will include splits whose description/notes/memo is substring/regex matched. Will be usable for #category matching, especially when backported to transaction.scm

Also strings are defined centrally which will aid localization and reduce typos.
2017-10-27 16:53:08 +08:00
Christopher Lam 885272a150 Enhance transaction.scm account filter to regex
This commit will enhance the account fullname filter to full regex matching capabilities. Will allow complex account fullname queries e.g. 'Car|Flights'
2017-10-27 16:53:08 +08:00
christopherlam d077400ba8 Enhance account filter to a regex
This commit will enhance the account fullname filter to full regex matching capabilities. Will allow complex account fullname queries e.g. "Car|Flights|Travel"
2017-10-27 16:53:08 +08:00
christopherlam b74c0bedfd Amend some strings for improved visibility
Enhance visibility of total-sales and total-purchases (all caps) and amend input/output tax accounts display.
2017-10-27 16:53:08 +08:00
christopherlam 51a0a55e43 Change critical code to pure FP
The function split-adder is the most crucial code  in this report. This commit changes it to pure functional programming.
2017-10-27 16:53:08 +08:00
Christopher Lam 4c007f8b28 Fix spelling insensative->insensitive 2017-10-16 21:00:26 +08:00
christopherlam 090546590d Add missing export (gnc:date-get-week)
hit this bug during development
2017-09-27 19:05:43 +02:00
christopherlam 5b99835cb1 Fix some (gnc:make-gnc-monetary) errors
These errors didn't appear in the tracefile. They only appeared on Linux terminal.
2017-09-21 13:57:13 +02:00
christopherlam 678794c800 Restore "sign reverses" option
This was removed during development.
2017-09-21 13:57:13 +02:00
christopherlam ff32ddc906 Initial commit income-gst-statement.scm 2017-09-21 13:57:13 +02:00
christopherlam 40006a3f04 Reindent from transaction.scm 2017-09-21 13:57:13 +02:00
christopherlam 62824e0036 cp transaction.scm income-gst-statement.scm 2017-09-21 13:57:13 +02:00
christopherlam 53fbc6f62f "Sorting" tab overhaul to improve UI
This change will ensure the Sorting tab only presents *valid* options. e.g.
Changing Primary Sortkey to 'none will disable its descendant options.
Changing to 'Date will enable Date-interval choice.
Changing to 'Account-name will enable relevant account-name options.
Usability fix. This should help newcomers.
2017-09-16 16:10:10 +08:00
christopherlam 499c33cb35 Disallow Closing Transactions.
These txns must not be counted in this report.
2017-09-16 15:08:12 +08:00
christopherlam 9d85ee65d8 Initial commit income-gst-report.scm
Suitable for annual income & expense tax return.
Also suitable for GST/VAT returns.
Derived from transaction.scm
Also handle voided transactions correctly
2017-09-16 12:52:46 +08:00
christopherlam 8c65a1269d Reindent income-gst-report.scm 2017-09-16 12:52:30 +08:00
christopherlam 71b88ab4c5 cp transction.scm income-gst-statement.scm
https://github.com/Gnucash/gnucash/pull/177 rises from the ashes.
Commit memory is now unfortunately lost, due to my inexperience.

Start with transaction.scm as initial commit to illustrate its
heritage.
2017-09-16 12:52:04 +08:00
christopherlam 600f010472 Fix swig wrapper for gncTaxTableGetTaxTables
- Add new typedef GncTaxTableList
- Add SWIG wrapper for gncTaxTableGetTables
- gncTaxTableGetTables to return gncTaxTableList
2017-09-10 18:44:34 +02:00
christopherlam 7c7cef5aed Reduce to compatibility shim
Reduce option to retain compatibility layer for earlier 2.8
2017-08-25 11:43:47 +02:00
christopherlam bdfe184af6 added case sensitive filter
please squash commits for me!
2017-08-25 11:43:45 +02:00
christopherlam 4704e14b3e Account fullname filter for transaction.scm
This small change will introduce an account full-name filter. Only accounts whose fullname containing substring will be selected e.g. ":Travel" will match Expenses:Travel:Holiday and Expenses:Business:Travel. This can be left blank, which will mimic previous behavior. This will ease accounts selection tremendously.
2017-08-25 11:43:44 +02:00
christopherlam 19fe7d8a56 Reduce to compatibility shim
Reduce option to retain compatibility layer for earlier 2.8
2017-08-25 17:13:54 +08:00
christopherlam 11a1ff61c5 added case sensitive filter
please squash commits for me!
2017-08-16 23:46:25 +08:00
christopherlam 6eee9cefca Account fullname filter for transaction.scm
This small change will introduce an account full-name filter. Only accounts whose fullname containing substring will be selected e.g. ":Travel" will match Expenses:Travel:Holiday and Expenses:Business:Travel. This can be left blank, which will mimic previous behavior. This will ease accounts selection tremendously.
2017-08-16 23:33:03 +08:00
christopherlam 1559d26465 Remove clutter from generated html 2017-08-16 16:30:09 +02:00
christopherlam 2bc106a7b7 Partial fix for bug 660027
Encapsulate table header and body with <thead> and <tbody>
and prevent page-breaks within a <tr>
2017-08-16 16:29:29 +02:00
christopherlam 0bb972cd02 Fix income statement when trading accounts not used
Fix cosmetic bug
http://gnucash.1415818.n4.nabble.com/unknown-column-in-Income-Statement-Profit-amp-Loss-td4680661.html#a4692940

Insert empty-cell instead of #unspecified result of (if predicate? result-if-true) where predicate? is #false
2017-08-01 14:18:54 +02:00
christopherlam 54f9cd69af Add vertical-align:top to default text fields.
Add vertical-align top.

Previously, text fields would have vertical-align:default = centre. This means long transaction descriptions would cause all other fields to be vertically centred. This amendment will ensure the transactional report text are aligned from the top.
2017-08-01 17:17:32 +08:00
christopherlam 385ca0c324 Bug 776396 Further Fix
This commit will further improve the styling of the table element used for foreign 
currencies in any report with foreign currencies or stocks. Adds non-breaking space 
between foreign currency/stock and report currency.
2017-06-04 12:26:46 +08:00