Similar to the fancy-invoice I've updated the customer report to also
show the company-id.
I looked over the other business reports but did not see anything else
but the default printable invoice that is missing the company-id. If
you think it should get it I can generate a patch for it if you like.
--
Brian <[EMAIL PROTECTED]>
Index: business-reports/owner-report.scm
===================================================================
--- business-reports/owner-report.scm (revision 13316)
+++ business-reports/owner-report.scm (working copy)
@@ -497,7 +497,10 @@
(list gnc:*business-label* gnc:*company-name*))))
(addy (gnc:kvp-frame-get-slot-path
slots (append gnc:*kvp-option-path*
- (list gnc:*business-label* gnc:*company-addy*)))))
+ (list gnc:*business-label* gnc:*company-addy*))))
+ (id (gnc:kvp-frame-get-slot-path
+ slots (append gnc:*kvp-option-path*
+ (list gnc:*business-label* gnc:*company-id*)))))
(gnc:html-table-set-style!
table "table"
@@ -509,7 +512,7 @@
(gnc:html-table-append-row! table (list (if name name "")))
(gnc:html-table-append-row! table (list (string-expand
- (if addy addy "")
+ (string-append (if addy addy "") (if id (string-append "\n" id) ""))
#\newline "<br>")))
(gnc:html-table-append-row! table (list
(strftime
_______________________________________________
gnucash-devel mailing list
[email protected]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel