projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
show a better message when no results are found
[freeside.git]
/
httemplate
/
misc
/
print-invoice.cgi
diff --git
a/httemplate/misc/print-invoice.cgi
b/httemplate/misc/print-invoice.cgi
index
8c1240c
..
144f615
100755
(executable)
--- a/
httemplate/misc/print-invoice.cgi
+++ b/
httemplate/misc/print-invoice.cgi
@@
-13,8
+13,7
@@
die "Can't find invoice!\n" unless $cust_bill;
open(LPR,"|$lpr") or die "Can't open $lpr: $!";
if ( $conf->exists('invoice_latex') ) {
open(LPR,"|$lpr") or die "Can't open $lpr: $!";
if ( $conf->exists('invoice_latex') ) {
- $cust_bill->print_ps;
- #print LPR $cust_bill->print_ps; #( date )
+ print LPR $cust_bill->print_ps; #( date )
} else {
print LPR $cust_bill->print_text; #( date )
}
} else {
print LPR $cust_bill->print_text; #( date )
}
@@
-25,6
+24,6
@@
die "Can't find invoice!\n" unless $cust_bill;
my $custnum = $cust_bill->getfield('custnum');
my $custnum = $cust_bill->getfield('custnum');
-print $cgi->redirect(
popurl(2). "view/cust_main.cgi?$custnum#history
");
+print $cgi->redirect(
"${p}view/cust_main.cgi?$custnum
");
%>
%>