[GNC-dev] Feedback on GnuCash 3.903

Christopher Lam christopher.lck at gmail.com
Thu Jun 4 11:40:42 EDT 2020


Oops better patch below:

--snip--
modified   gnucash/report/reports/standard/balsheet-pnl.scm
@@ -176,6 +176,9 @@ also show overall period profit & loss."))
     (gnc:options-add-date-interval!
      options gnc:pagename-general optname-startdate optname-enddate "c")

+    (gnc:option-set-default-value
+     (gnc:lookup-option options gnc:pagename-general optname-enddate)
+     (cons 'relative 'today))
+
     (add-option
      (gnc:make-multichoice-callback-option
       gnc:pagename-general optname-period
@@ -1107,6 +1110,22 @@ also show overall period profit & loss."))
                                    retained-earnings-fn))))
          #:negate-amounts? #t)

+        (add-to-table multicol-table-right (_ "Liability and Equity")
+                      (append liability-accounts
+                              equity-accounts
+                              (if common-currency
+                                  (list (vector (_ "Unrealized Gains")
+                                                unrealized-gain-fn))
+                                  '())
+                              (if (null? income-expense)
+                                  '()
+                                  (list (vector (_ "Retained Earnings")
+                                                retained-earnings-fn))))
+                      #:negate-amounts? #t
+                      #:show-title? #f
+                      #:show-accounts? #f
+                      #:show-total? #t)
+
         (if (and common-currency show-rates?)
             (add-to-table multicol-table-right (_ "Exchange Rates")
                           asset-liability

--snip--


More information about the gnucash-devel mailing list