X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fview%2Fcust_bill.cgi;h=5dd8a8d71ecdf5a0857f33210256460f71e97294;hp=c217cc3896205bf886880df592963b11954358c9;hb=3081639bd119c6d281ef23139649b2e73ba62754;hpb=d33c75b60d9cb9f7155635dc2cd25307f06d947f diff --git a/httemplate/view/cust_bill.cgi b/httemplate/view/cust_bill.cgi index c217cc389..5dd8a8d71 100755 --- a/httemplate/view/cust_bill.cgi +++ b/httemplate/view/cust_bill.cgi @@ -62,7 +62,7 @@ unless ( $templatename ) { ) { my $templatename = $1; print qq! ( !. - 'view text | '. + 'view | '. qq!!. 'view typeset )'; } @@ -74,11 +74,15 @@ unless ( $templatename ) { print '
'; } -print '
', $cust_bill->print_text('', $templatename);
+if ( $conf->exists('invoice_html') ) {
+  print $cust_bill->print_html('', $templatename);
+} else {
+  print '
', $cust_bill->print_text('', $templatename), '
'; +} #formatting print < + END