AUDIT: r22248 - gnucash/trunk/src/report/business-reports - Bug #678848 - Customer/Vendor reports off-by-one on start date

Geert Janssens gjanssens at code.gnucash.org
Thu Jun 28 12:13:11 EDT 2012


Author: gjanssens
Date: 2012-06-28 12:13:11 -0400 (Thu, 28 Jun 2012)
New Revision: 22248
Trac: http://svn.gnucash.org/trac/changeset/22248

Modified:
   gnucash/trunk/src/report/business-reports/owner-report.scm
Log:
Bug #678848 - Customer/Vendor reports off-by-one on start date
Additionally removes a superfluous module load
BP

Modified: gnucash/trunk/src/report/business-reports/owner-report.scm
===================================================================
--- gnucash/trunk/src/report/business-reports/owner-report.scm	2012-06-27 20:45:12 UTC (rev 22247)
+++ gnucash/trunk/src/report/business-reports/owner-report.scm	2012-06-28 16:13:11 UTC (rev 22248)
@@ -28,7 +28,6 @@
 
 (use-modules (srfi srfi-1))
 (use-modules (gnucash gnc-module))
-(use-modules (gnucash printf))
 (use-modules (gnucash main))        ; for gnc:debug
 
 (gnc:module-load "gnucash/report/report-system" 0)
@@ -351,7 +350,7 @@
    (if reverse?
     (set! value (gnc-numeric-neg value)))
 
-   (if (gnc:timepair-later start-date date)
+   (if (gnc:timepair-le start-date date)
     (begin
       
       ; Adds 'balance' row if needed



More information about the gnucash-changes mailing list