mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
[html-acct-table] remove dead code
balance-mode being 'pre-adjusting has never been used in code since introduction in 2007 in v2.0.
This commit is contained in:
parent
14d444fa33
commit
1b41d517d2
@ -227,19 +227,11 @@
|
||||
;; account having a balance of zero. otherwise, a row will be
|
||||
;; generated for the account.
|
||||
;;
|
||||
;; balance-mode: 'pre-adjusting 'pre-closing 'post-closing
|
||||
;; balance-mode: 'pre-closing 'post-closing
|
||||
;;
|
||||
;; indicates whether or not to ignore adjusting/closing
|
||||
;; entries when computing account balances. 'pre-closing
|
||||
;; ignores only closing entries. 'pre-adjusting also ignores
|
||||
;; adjusting entries. 'post-closing counts all entries.
|
||||
;;
|
||||
;; adjusting-pattern: alist of 'str 'cased 'regexp
|
||||
;;
|
||||
;; a pattern alist, as accepted by
|
||||
;; gnc:account-get-trans-type-balance-interval, matching
|
||||
;; adjusting transactions to be ignored when balance-mode is
|
||||
;; 'pre-adjusting.
|
||||
;; ignores, 'post-closing counts closing entries.
|
||||
;;
|
||||
;; closing-pattern: alist of 'str 'cased 'regexp
|
||||
;;
|
||||
@ -631,11 +623,6 @@
|
||||
(list 'cased #f)
|
||||
(list 'regexp #f)
|
||||
(list 'closing #t))))
|
||||
(adjusting-pattern (or (get-val env 'adjusting-pattern)
|
||||
(list
|
||||
(list 'str (G_ "Adjusting Entries"))
|
||||
(list 'cased #f)
|
||||
(list 'regexp #f))))
|
||||
(report-budget (or (get-val env 'report-budget) #f))
|
||||
;; local variables
|
||||
(toplvl-accts
|
||||
@ -684,13 +671,6 @@
|
||||
(merge-splits (gnc:account-get-trans-type-splits-interval
|
||||
accts closing-pattern start-date end-date) #t))
|
||||
|
||||
;; remove closing and adjusting entries
|
||||
((pre-adjusting)
|
||||
(merge-splits (gnc:account-get-trans-type-splits-interval
|
||||
accts closing-pattern start-date end-date) #t)
|
||||
(merge-splits (gnc:account-get-trans-type-splits-interval
|
||||
accts adjusting-pattern start-date end-date) #t))
|
||||
|
||||
(else
|
||||
(display "you fail it\n"))))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user