r20131 - gnucash/trunk/src/report/business-reports - Bug #535774: Fix label for employee option on "Employee Report"

Christian Stimming cstim at code.gnucash.org
Thu Jan 20 15:20:46 EST 2011

Author: cstim
Date: 2011-01-20 15:20:45 -0500 (Thu, 20 Jan 2011)
New Revision: 20131
Trac: http://svn.gnucash.org/trac/changeset/20131

Bug #535774: Fix label for employee option on "Employee Report"

Patch by Bert Claesen:

The attached patch (against r20122) tries to solve bug #535774 and:

*Introduces Option naming consistent with report title (e.g. Customer Report
shows Customer in the Option screen)
*Removes the printf() default string in case no arguments where given
*Moves the docname up to a higher level for easy of overview

Cases default to a GNC-OWNER-VENDOR.

Note on the patch:
*As indicated in the comments, two functions are nearly identical, where in the
Vendor report the use of Vendor/Company is mixed. This can easily be moved into
one function as the footprint is the same.

cstim: I've clarified which ones of the functions returns translated vs.
untranslated strings, too.

More information about the gnucash-patches mailing list