gnucash stable: Multiple changes pushed

John Ralls jralls at code.gnucash.org
Thu Nov 9 17:03:41 EST 2023


Updated	 via  https://github.com/Gnucash/gnucash/commit/e6a30f77 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/c2ef684b (commit)
	from  https://github.com/Gnucash/gnucash/commit/0650f56e (commit)



commit e6a30f77087c2155acc1f2268d16f8e2cf0c6845
Merge: 0650f56e96 c2ef684b59
Author: John Ralls <jralls at ceridwen.us>
Date:   Thu Nov 9 13:57:06 2023 -0800

    Merge Mark Browning's 'check-print-subacct' into stable.

commit c2ef684b59cf7bd3a28d0a8a4c1a7dd9bfd0b76a
Author: Mark Browning <mabrowningrr at gmail.com>
Date:   Fri Feb 28 01:59:36 2020 -0600

    Correct check amount when printed from subaccount
    
    Previously, GnuCash would include only a single split's amount as the check
    amount. If a "bank" account has multiple subaccounts for budgeting reasons, and
    a transaction involves both "internal" (e.g. from one bank subaccount to
    another bank subaccount) and external transfers, then even when a "subaccount"
    register showing the top-level bank account is printed from, the check will
    have the amount of the first split rather than the total of all splits which
    are from subaccounts.
    
    This change communicates the parent account (when viewed from a "subccount"
    register) to the check printing dialog so that the check amount matches the
    amount displayed in the register.



Summary of changes:
 gnucash/gnome/dialog-payment.c           |  2 +-
 gnucash/gnome/dialog-print-check.c       | 47 ++++++++++++++++++++++++++++++--
 gnucash/gnome/dialog-print-check.h       |  3 +-
 gnucash/gnome/gnc-plugin-page-register.c | 14 +++++++---
 4 files changed, 58 insertions(+), 8 deletions(-)



More information about the gnucash-patches mailing list