gnucash maint: Multiple changes pushed
Christopher Lam
clam at code.gnucash.org
Sun Jul 14 00:01:38 EDT 2019
Updated via https://github.com/Gnucash/gnucash/commit/8adcacbd (commit)
via https://github.com/Gnucash/gnucash/commit/dae26da0 (commit)
via https://github.com/Gnucash/gnucash/commit/fee383e8 (commit)
via https://github.com/Gnucash/gnucash/commit/74169114 (commit)
from https://github.com/Gnucash/gnucash/commit/105f5396 (commit)
commit 8adcacbdd259ceab3bc49f0de650070c3f93538f
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Fri Jul 12 21:54:53 2019 +0800
[test-owner-report] basic tests for customer and job reports
create invoices, due dates at various points in the past
commit dae26da037744a129a1bfc78b0dd62343d249bd6
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Sat Jul 13 22:55:50 2019 +0800
[owner-report] sanitize strings in preparation for tests
commit fee383e85e441ce2a50b741ac7049b6a5075b4d3
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Sat Jul 13 23:17:43 2019 +0800
[job-report] sanitize strings in preparation for tests
commit 74169114d55e3b25c333d43c47672e1c754ac653
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Sat Jul 13 13:42:23 2019 +0800
[report-utilities] add gnc:dump-book and gnc:dump-invoices
(gnc:dump-book)
utility function for tests. dumps the whole book. sample output:
Account: <Root> Comm<USD> Type<Asset>
Account: <Root.Asset> Comm<USD> Type<Asset>
Account: <Root.Asset.Bank> Comm<USD> Type<Asset>
Split: 07/13/19 Amt<$17,479.18> Val<$17,479.18> Desc<cust-1-name>
Account: <Root.VAT> Comm<USD> Type<Asset>
Account: <Root.VAT.VAT-on-Sales> Comm<USD> Type<Liability>
Split: 07/13/19 Amt<-$1,111.01> Val<-$1,111.01> Desc<cust-1-name>
Account: <Root.A/Receivable> Comm<USD> Type<A/Receivable>
Split: 07/13/19 Amt<-$17,479.18> Val<-$17,479.18> Desc<cust-1-name>
Split: 07/13/19 Amt<$17,479.18> Val<$17,479.18> Desc<cust-1-name>
Account: <Root.Income> Comm<USD> Type<Income>
Split: 07/13/19 Amt<-$16,368.17> Val<-$16,368.17> Desc<cust-1-name>
(gnc:dump-invoices)
Invoice: ID<> Owner<cust-1-name>
Date: Open<?> Post<07/13/19> Due<07/13/19>
Entry: Date<07/13/19> Desc<taxable=N tax-inc...> Action<action> Notes<> Qty<11>
Entry: Date<07/13/19> Desc<taxable=N tax-inc...> Action<action> Notes<> Qty<11>
Entry: Date<07/13/19> Desc<taxable=N tax-inc...> Action<action> Notes<> Qty<11>
Entry: Date<07/13/19> Desc<taxable=Y tax-inc...> Action<action> Notes<> Qty<11>
Entry: Date<07/13/19> Desc<taxable=Y tax-inc...> Action<action> Notes<> Qty<11>
Entry: Date<07/13/19> Desc<taxable=Y tax-inc...> Action<action> Notes<> Qty<11>
Entry: Date<07/13/19> Desc<taxable=Y tax-inc...> Action<action> Notes<> Qty<11>
Entry: Date<07/13/19> Desc<taxable=Y tax-inc...> Action<action> Notes<> Qty<11>
Totals: Total<$17,479.18> TotalSubtotal<$16,368.17> TotalTax<$1,111.01>
Summary of changes:
gnucash/report/business-reports/job-report.scm | 6 +-
gnucash/report/business-reports/owner-report.scm | 4 +-
.../report/business-reports/test/CMakeLists.txt | 1 +
.../business-reports/test/test-owner-report.scm | 347 +++++++++++++++++++++
gnucash/report/report-system/report-system.scm | 2 +
gnucash/report/report-system/report-utilities.scm | 72 +++++
6 files changed, 427 insertions(+), 5 deletions(-)
create mode 100644 gnucash/report/business-reports/test/test-owner-report.scm
More information about the gnucash-patches
mailing list