r21246 - gnucash/branches/2.4/src/report/business-reports - [21245] Bug #658244 - Custom css stylesheet and logo in Tax Invoice report
Geert Janssens
gjanssens at code.gnucash.org
Sun Sep 11 09:51:28 EDT 2011
Author: gjanssens
Date: 2011-09-11 09:51:27 -0400 (Sun, 11 Sep 2011)
New Revision: 21246
Trac: http://svn.gnucash.org/trac/changeset/21246
Modified:
gnucash/branches/2.4/src/report/business-reports/taxinvoice.eguile.scm
Log:
[21245] Bug #658244 - Custom css stylesheet and logo in Tax Invoice report
require protocol in exported HTML
Modified: gnucash/branches/2.4/src/report/business-reports/taxinvoice.eguile.scm
===================================================================
--- gnucash/branches/2.4/src/report/business-reports/taxinvoice.eguile.scm 2011-09-11 13:44:22 UTC (rev 21245)
+++ gnucash/branches/2.4/src/report/business-reports/taxinvoice.eguile.scm 2011-09-11 13:51:27 UTC (rev 21246)
@@ -112,7 +112,7 @@
<title><?scm:d (_ "Invoice") ?> <?scm:d invoiceid ?></title>
<?scm (if css? (begin ?>
-<link rel="stylesheet" href="<?scm:d opt-css-file ?>" type="text/css">
+<link rel="stylesheet" href="<?scm:d (make-file-url opt-css-file) ?>" type="text/css">
<!-- Note that the external stylesheet file is overridden by this following: -->
<style type="text/css">
body {
@@ -139,7 +139,7 @@
<tr valign="top" style="vertical-align: top">
<?scm (if (access? opt-logofile R_OK) (begin ?>
<td align="left">
- <img align="left" src="<?scm:d opt-logofile ?>" alt="logo" class="logo"
+ <img align="left" src="<?scm:d (make-file-url opt-logofile) ?>" alt="logo" class="logo"
<?scm (if opt-logo-width (begin ?>
style="width: <?scm:d opt-logo-width ?>"
<?scm )) ?>
More information about the gnucash-changes
mailing list