diff options
author | ivan <ivan> | 2005-05-18 10:43:59 +0000 |
---|---|---|
committer | ivan <ivan> | 2005-05-18 10:43:59 +0000 |
commit | e96a3fd1c8ee8c711a7e119c0937da6866bbd4f0 (patch) | |
tree | 7d72001fcc288bc03cf79e90836677b3416ddf87 | |
parent | 2fd0023de631502a7a3b86cf7e8269ae7030d248 (diff) |
oops, losing notes!
-rw-r--r-- | FS/FS/cust_bill.pm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm index bd7b8cadb..2c25c6ff2 100644 --- a/FS/FS/cust_bill.pm +++ b/FS/FS/cust_bill.pm @@ -1308,14 +1308,14 @@ sub print_latex { $invoice_data{'country'} = _latex_escape(code2country($cust_main->country)); } + $invoice_data{'notes'} = + join("\n", # #do variable substitutions in notes -# $invoice_data{'notes'} = -# join("\n", # map { my $b=$_; $b =~ s/\$(\w+)/$invoice_data{$1}/eg; $b } -# $conf->config_orbase('invoice_latexnotes', $template) -# ); -# warn "invoice notes: ". $invoice_data{'notes'}. "\n" -# if $DEBUG; + $conf->config_orbase('invoice_latexnotes', $template) + ); + warn "invoice notes: ". $invoice_data{'notes'}. "\n" + if $DEBUG; $invoice_data{'footer'} =~ s/\n+$//; $invoice_data{'smallfooter'} =~ s/\n+$//; |