r23300 - gnucash/trunk/src/report/standard-reports - Fix bug 668530

Geert Janssens gjanssens at code.gnucash.org
Fri Oct 18 08:50:20 EDT 2013


Author: gjanssens
Date: 2013-10-18 08:50:19 -0400 (Fri, 18 Oct 2013)
New Revision: 23300
Trac: http://svn.gnucash.org/trac/changeset/23300

Modified:
   gnucash/trunk/src/report/standard-reports/budget-flow.scm
Log:
Fix bug 668530

* In budget flow report options, change the maximum value
  for period to 60 (Note the FIXMEs)

Author: Robert Ratliff <ratliff.bobby at gmail.com>

Modified: gnucash/trunk/src/report/standard-reports/budget-flow.scm
===================================================================
--- gnucash/trunk/src/report/standard-reports/budget-flow.scm	2013-10-17 15:08:23 UTC (rev 23299)
+++ gnucash/trunk/src/report/standard-reports/budget-flow.scm	2013-10-18 12:50:19 UTC (rev 23300)
@@ -61,7 +61,14 @@
       options
       (gnc:make-number-range-option
         gnc:pagename-general optname-periods
-        "b" (N_ "Period number.") 1 1 12 0 1))
+        ;; FIXME: It would be nice if the max number of budget periods (60) was
+        ;; defined globally somewhere so we could reference it here.  However, it
+        ;; only appears to be defined currently in
+        ;; src/gnome/gtkbuilder/gnc-plugin-page-budget.glade.
+        ;; FIXME: It would be even nicer if the max number of budget
+        ;; periods was determined by the number of periods in the
+        ;; currently selected budget
+        "b" (N_ "Period number.") 1 1 60 0 1))
 
     ;; Option to select the currency the report will be shown in
     (gnc:options-add-currency!



More information about the gnucash-changes mailing list