mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bug #609005: Add recipient name on invoices
Patch by Mike E:
Having set up a client/customer including the name of a recipient when I print
an invoice the recipients name ("Account Dept" say) is not printed in the
invoice. I think this is a bug rather than a feature. I have attached a patch
to fix.
It still prints the company name above the recipient name however. I could
submit an additional patch to provide an invoice option to toggle printing of
the company name if users/developers feel they want this option, as I do.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18671 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -54,6 +54,8 @@
|
||||
(else (string-append (build-string (cdr lst)) "\n" (car lst)))))
|
||||
(let ((lst '())
|
||||
(addr (gnc:owner-get-address owner)))
|
||||
; Added gncAddressGetName <mikee@saxicola.co.uk>
|
||||
(set! lst (add-if-exists lst (gncAddressGetName addr)))
|
||||
(set! lst (add-if-exists lst (gncAddressGetAddr1 addr)))
|
||||
(set! lst (add-if-exists lst (gncAddressGetAddr2 addr)))
|
||||
(set! lst (add-if-exists lst (gncAddressGetAddr3 addr)))
|
||||
|
||||
Reference in New Issue
Block a user