% #it would be nice if the menubar could be hidden for print, but better to
% # have it available than not, otherwise the user winds up at a dead end
<% menubar(
- "View this customer (#$custnum)" => "${p}view/cust_main.cgi?$custnum",
+ "View this customer (#$display_custnum)" => "${p}view/cust_main.cgi?$custnum",
)
%>
<BR><BR>
% } else {
<% include('/elements/header.html', "Refund Receipt", menubar(
- "View this customer (#$custnum)" => "${p}view/cust_main.cgi?$custnum",
+ "View this customer (#$display_custnum)" => "${p}view/cust_main.cgi?$custnum",
'Print receipt' => $pr_link,
))
%>
my $pr_link = "${p}view/cust_refund.html?link=print;refundnum=$refundnum";
my $custnum = $cust_refund->custnum;
+my $display_custnum = $cust_refund->cust_main->display_custnum;
my $conf = new FS::Conf;