projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add ;plaintext=1 to view a plaintext invoice for debugging
[freeside.git]
/
httemplate
/
view
/
cust_bill.cgi
diff --git
a/httemplate/view/cust_bill.cgi
b/httemplate/view/cust_bill.cgi
index
4822ab7
..
3440304
100755
(executable)
--- a/
httemplate/view/cust_bill.cgi
+++ b/
httemplate/view/cust_bill.cgi
@@
-135,10
+135,10
@@
function change_invoice_mode(obj) {
<% $br ? '<BR><BR>' : '' %>
<% $br ? '<BR><BR>' : '' %>
-% if ( $conf->exists('invoice_html') ) {
+% if ( $conf->exists('invoice_html')
&& ! $cgi->param('plaintext')
) {
<% join('', $cust_bill->print_html(\%opt) ) %>
% } else {
<% join('', $cust_bill->print_html(\%opt) ) %>
% } else {
- <PRE><% join('', $cust_bill->print_text(\%opt) ) %></PRE>
+ <PRE><% join('', $cust_bill->print_text(\%opt) )
|h
%></PRE>
% }
<& /elements/footer.html &>
% }
<& /elements/footer.html &>