mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Show the running balance column by default. #92052.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8662 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
7149c52213
commit
f1377d1cd4
@ -6,7 +6,7 @@
|
||||
2003-06-23 David Hampton <hampton@employees.org>
|
||||
|
||||
* src/gnome-utils/dialog-account.c: Limit the commodity choices
|
||||
based upon the current account type.
|
||||
based upon the current account type. #102023, #115461
|
||||
|
||||
* src/gnome-utils/dialog-commodity.c: Add a new argument to the
|
||||
dialog creation functions to specify what types of commodities
|
||||
@ -20,6 +20,9 @@
|
||||
* src/import-export/qif-import/druid-qif-import.c: Updated for new
|
||||
commodity dialog argument.
|
||||
|
||||
* src/report/standard-reports/register.scm: Show the running
|
||||
balance column by default. #92052.
|
||||
|
||||
2003-06-22 David Hampton <hampton@employees.org>
|
||||
|
||||
* src/gnome-utils/dialog-commodity.[ch]: Clean up usage of the
|
||||
|
@ -304,7 +304,7 @@
|
||||
(gnc:register-reg-option
|
||||
(gnc:make-simple-boolean-option
|
||||
(N_ "Display") (N_ "Running Balance")
|
||||
"k" (N_ "Display a running balance") #f))
|
||||
"k" (N_ "Display a running balance") #t))
|
||||
|
||||
(gnc:register-reg-option
|
||||
(gnc:make-simple-boolean-option
|
||||
@ -334,14 +334,13 @@
|
||||
|
||||
(define (colspan monetary)
|
||||
(cond
|
||||
((balance-col used-columns) (balance-col used-columns))
|
||||
((amount-single-col used-columns) (amount-single-col used-columns))
|
||||
((gnc:numeric-negative-p (gnc:gnc-monetary-amount monetary))
|
||||
(credit-col used-columns))
|
||||
(else (debit-col used-columns))))
|
||||
|
||||
(define (display-subtotal monetary)
|
||||
(if (or (balance-col used-columns) (amount-single-col used-columns))
|
||||
(if (amount-single-col used-columns)
|
||||
(if (and leader (gnc:account-reverse-balance? leader))
|
||||
(gnc:monetary-neg monetary)
|
||||
monetary)
|
||||
@ -362,7 +361,7 @@
|
||||
table
|
||||
subtotal-style
|
||||
(append (cons (gnc:make-html-table-cell/markup
|
||||
"total-label-cell" (_ "Total"))
|
||||
"total-label-cell" (_ "Net Change"))
|
||||
'())
|
||||
(list (gnc:make-html-table-cell/size/markup
|
||||
1 (colspan currency)
|
||||
|
Loading…
Reference in New Issue
Block a user