mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
[balsheet-eg] use "foreign" css class correctly
5093a8fb1 had mistakenly disabled "foreign" class and used html
formatting elements instead.
also remove dead code
This commit is contained in:
@@ -391,8 +391,7 @@
|
||||
|
||||
(define (foreignstyle item)
|
||||
;; apply styling for amount in foreign currency
|
||||
(string-append "<span class=\"foreign\">" item "</span>")
|
||||
(string-append "<small><i>" item "</i></small>"))
|
||||
(string-append "<span class=\"foreign\">" item "</span>"))
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;;; accrec-related routines
|
||||
@@ -592,11 +591,6 @@
|
||||
;; Format the total value of a commodity collector
|
||||
(format-monetary (gnc:sum-collector-commodity cc opt-report-commodity exchange-fn)))
|
||||
|
||||
(define (fmtmoney2 mny)
|
||||
;; format a monetary amount in the given currency/commodity
|
||||
;; !! this takes a gnc-monetary
|
||||
(nbsp (gnc:monetary->string (monetary-rounded mny))))
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
;; Adjust options for convenience
|
||||
|
||||
Reference in New Issue
Block a user