[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:
Christopher Lam
2020-04-05 20:33:56 +08:00
parent 010a0f1586
commit 9667a47da0

View File

@@ -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