Commit Graph

21672 Commits

Author SHA1 Message Date
Christopher Lam
1a9825febc [new-owner-report] job-reports reverse according to ownertype
Previously job-report assumed owner was customer and assumed use of
A/Receivable account.

This fix ensures the payable? boolean must be derived dynamically from
owner-type rather than from report-type. This commit will check
whether owner is vendor/employee and uses a/payable; otherwise uses
a/receivable.
2019-11-05 23:19:23 +08:00
Christopher Lam
d0743cd0fc [new-aging] restore html link to account register
Current aging-report includes a link to APAR account register. New
aging-report includes the APAR account prior to each section. Ensure
the link to register is offered.
2019-11-05 22:10:16 +08:00
Christopher Lam
1a404b8d76 [new-owner-report] fix signs for calling gnc:owner-splits->aging-list
gnc:owner-splits->aging-list revceives an argument 'receivable'
specifying whether the report is dealing with an AR-type account. The
renderers for the various business types (customer/vendor/employee)
define 'reverse?' to be #f for AR reports, and #t for AP
reports. Therefore we need to send '(not reverse?)' to
gnc:owner-splits->aging-list.

This commit performs 2 changes:
* rename 'reverse?' to 'payable?' to be more explicit throughout
* calls gnc:owner-splits->aging-list with '(not payable?)' instead of
the confusing '(not reverse?)'

The end result is that the signs for aging-list for
new-owner-report.scm is now fixed.
2019-11-05 22:02:02 +08:00
Robert Fewell
085aa76932 Bug 796945 - Search dialog update
Change the search dialog so that when adding search criteria, a max
number of 5 rows are presented before scrolling is required in the
search criteria scroll window so reducing the height required for the
this area and when the search is executed the scroll window is hidden
and the results window has the maximum space available.
2019-11-04 10:23:40 +00:00
Christopher Lam
491088b2f6 Revert "Bug 797468 - Receivable Aging report - phantom company with negative total"
This reverts commit 32a340350d.
2019-11-03 22:29:30 +08:00
Christopher Lam
535632b025 Bug 787295 - Allow UI jump from Business accounts to their relevant invoice/bill/voucher
This enables UI jump via Transaction or Right-click menu to open the
invoice for editing.
2019-11-03 21:06:32 +08:00
Christopher Lam
32a340350d Bug 797468 - Receivable Aging report - phantom company with negative total
usability fix - warn if no documents were selected
2019-11-03 21:06:32 +08:00
Christopher Lam
be4e452424 with-output-to-file -> call-with-output-file 2019-11-03 21:06:32 +08:00
Christopher Lam
977b1fcf9d [qif-guess-map] with-output-to-file -> call-with-output-file
with-output-to-file will redirect stdout to file.
call-with-output-file is better because it accepts a port for it. thus
stdout remains available to log tracefile.
2019-11-03 21:06:32 +08:00
Robert Fewell
0abc09cc4c Fix for previous commit 2ff91cf
When adding new accounts there is no need to clear cached values.
2019-11-03 11:27:26 +00:00
Christopher Lam
3f6c8478a4 [view-column] don't emit raw html, include captured-error 2019-11-03 10:45:07 +08:00
Christopher Lam
d56a47f17a [c-interface] gnc:backtrace-if-exception returns #f if error
previous would return *unspecified* when error was captured.
old code seems to expect #f to signal error
2019-11-03 10:44:50 +08:00
Christopher Lam
47030c7654 [hello-world] fix indenting and incorrect change
928f6145c had changed default list option '(good) to 'good - should be
a list of symbols
2019-11-03 10:24:02 +08:00
Christian Stimming
5870887f12
Merge pull request #597 from ingoha/purpose-encoding
Fix bug 797473, UTF-8 characters were not processed correctly with aqbanking6.
2019-11-02 23:30:54 +01:00
Christian Stimming
99dbb78898 Bug #797405: Fix hiding PIN entry window behind online banking log window
If there is a log window, make the PIN entry transient_for
that one instead of its parent.
2019-11-02 23:17:29 +01:00
Ingo Haschler
b04c494f24 Bug 797473 - UTF8 characters not processed correctly with aqbanking6 2019-11-02 14:12:15 +01:00
Christopher Lam
928f6145c7 cleanup (list->vector (list ...))
this is not an efficiency change, rather a readability change
especially for hello-world which aims to introduce new users to reports.
2019-11-02 20:15:53 +08:00
Christopher Lam
e27338b004 [html-utilities] more deprecations
* gnc:html-table-append-ruler/at! was flawed - the empty-cell defined
as '() would lead to invalid html-table element. it was never used
because colskip was always 0. inline and deprecate function.
2019-11-02 20:15:53 +08:00
Christopher Lam
b5ae8416a0 [new-owner-report] remove dependency on new-aging
because gnc:owner-splits->aging-list belongs to report-utilities.scm
2019-11-02 09:27:13 +08:00
Christopher Lam
158b5caf63 [new-aging] restore display of owner address 2019-11-02 09:05:22 +08:00
Christopher Lam
2df672bdb2 [gncOwner] i18n gncOwnerGetTypeString types 2019-11-02 09:05:22 +08:00
Christopher Lam
b1e32c8a9d [report-utilities] minor refinements 2019-11-01 19:36:08 +08:00
Christopher Lam
5f6413c6c5 [report-utilities] tiny reordering to remove unnecessary reference
instead of split->txn->invoice->lot->invoice
grab split->txn->invoice->lot directly
2019-11-01 19:30:17 +08:00
Christopher Lam
5688204118 [html-style-sheet] compact function using ice-9 match 2019-10-31 09:11:08 +08:00
Christopher Lam
5614cbbe42 [stylesheets] merge easy/fancy/footer stylesheets 2019-10-31 09:07:53 +08:00
Robert Fewell
f35a39c744 Change some spacing in the source files gnc-tree-model-account.* 2019-10-30 13:40:21 +00:00
Robert Fewell
2ff91cf4e1 Bug 797453 - Chart of Accounts is slow to update / redraw
The chart of Accounts tree view gets redrawn often and gets the data
from the model via gnc_tree_model_account_get_value(). As such the
numeric values are constantly being recalculated on every draw which is
not ideal. This change caches all the string values to a GHashTable for
retrieval which should be quicker than before.
Changes to an account will clear the cache for that account and its
parents so values can be updated. Changes to the preference negative
colour clears the whole cache.
2019-10-30 13:39:06 +00:00
Christopher Lam
e83938fdc2 [aging] update error reporting
This error handling was for transactions in APAR accounts whereby
Transaction Currency != Owner Currency. An example is a manually
entered transaction, then assigned as payment to a customer with a
different currency. Update to modern API calls. Show the culprit
split details.

Fixed example output:

IGNORING TRANSACTION!
Invoice Owner: [None:]
Transaction:Txn<d:28/10/19>
Splits are:
Split<d:28/10/19,acc:Current,amt:$150.00,val:£150.00>
Split<d:28/10/19,acc:AR,amt:$0.00,val:-£150.00>
Transaction Currency:GBP
Client Currency:AUD
2019-10-28 23:51:27 +08:00
Christopher Lam
2e1b87e01f [report-utilities] gnc:strify add lot printer 2019-10-28 20:18:47 +08:00
Christopher Lam
644cb4100e [gncOwner] add gncOwnerGetTypeString returns owner-type
* will have several uses
2019-10-28 20:18:47 +08:00
Christopher Lam
d893723479 [new-owner-report] combined job/owner reports 2019-10-27 21:03:27 +08:00
Christopher Lam
f4a9084303 [new-aging] upgrade owner-splits->aging-list to report-utilities
it can be reused by new-owner-report
2019-10-27 19:08:47 +08:00
Christopher Lam
0ef11d16e1 [new-aging] new receivable/payable aging reports 2019-10-27 14:53:45 +08:00
Christopher Lam
6eab852f1c [report-utilities] fix dangling ) in eb929fd6d 2019-10-27 11:45:14 +08:00
Christopher Lam
eb929fd6d3 [report-utilities] gnc:strify add invoice->str, refine owner->str 2019-10-27 11:15:16 +08:00
Christopher Lam
77855a7ed6 [report-utilities] add owner printers 2019-10-26 23:04:06 +08:00
Christopher Lam
0aad777870 [stylesheets] homogenize easy/fancy/footer
* with these reordering of functions, easy == fancy
* also footer = easy|fancy + footer
2019-10-26 11:19:33 +08:00
Christopher Lam
2dd2f0dc65 [stylesheets] replace raw <center> with style attribute 2019-10-25 23:16:11 +08:00
Christopher Lam
7ec1596e9c [stylesheets] replace raw <div> for headpixmap with html-table-cell 2019-10-25 23:16:11 +08:00
Christopher Lam
dc8310843b [stylesheets] remove unnecessary N_ in option section/name 2019-10-25 23:16:11 +08:00
Christopher Lam
b2fcfbd3c6 Bug 797326 - Enhancement: budget's Estimate tool should ignore Closing Entries
Addendum to 8b8c957ed -- if budgeted amounts exclude closing entries,
actual amounts should also exclude closing entries.

Amend documentation, modify budget test to add a closing entry which
will be ignored.
2019-10-25 18:27:47 +08:00
John Ralls
1dc22e53c5 Fix test_xaccTransEqual.
Needed to make the noclosing_balances equal to get the balance-equality test to pass.
2019-10-23 20:09:40 +08:00
Christopher Lam
8b8c957ed2 Bug 797326 - Enhancement: budget's Estimate tool should ignore Closing Entries
addition to estimate-budget tool to optionally ignore closing entries
using brand new API
2019-10-23 20:09:40 +08:00
Christopher Lam
198570d8c8 Bug 797390 - xaccAccountRecomputeBalance also tallies no-closing balances
Add a few API, enough for fixing bug 797326 easily.
2019-10-23 20:09:40 +08:00
Christopher Lam
d881130a19 [standard-reports] convert to srfi-9
because 2-arg record-constructor is being deprecated.

http://git.savannah.gnu.org/cgit/guile.git/commit/?id=f7b4055b
2019-10-23 19:27:20 +08:00
Christopher Lam
df187e70b7 [balsheet-eg] remove dead code
and 2-arg record-constructor is deprecated in new-guile
2019-10-23 00:11:30 +08:00
Frank H. Ellenberger
077ad86622 Merge PR #594 into maint 2019-10-20 03:07:41 +02:00
Christian Stimming
0da671e4e2
Merge pull request #593 from stovocor/iban-error-de
Fixed German IBAN error message
2019-10-19 21:36:05 +02:00
milotype
8b20a7ebea
Update croatian hr.po
- one new translation
- removed orphaned records
2019-10-19 21:20:06 +02:00
Stephan Windmüller
c5d136e469 Fixed German IBAN error message 2019-10-19 20:57:10 +02:00