summaryrefslogtreecommitdiff
path: root/httemplate/view/cust_refund.html
diff options
context:
space:
mode:
authorivan <ivan>2008-12-03 21:15:39 +0000
committerivan <ivan>2008-12-03 21:15:39 +0000
commitff873782e78715891b9d5d2eb5b38c735d372556 (patch)
tree078350a30b03a064e44244f4ccd141cbe460613a /httemplate/view/cust_refund.html
parente3c53b20ac5a7e120562bbd259a19707e9c11cb5 (diff)
fix real customer numbers showing on view pages, RT#4099/4379
Diffstat (limited to 'httemplate/view/cust_refund.html')
-rw-r--r--httemplate/view/cust_refund.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/httemplate/view/cust_refund.html b/httemplate/view/cust_refund.html
index 557e0ab24..138c8780d 100644
--- a/httemplate/view/cust_refund.html
+++ b/httemplate/view/cust_refund.html
@@ -11,7 +11,7 @@
% #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>
@@ -19,7 +19,7 @@
% } 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,
))
%>
@@ -131,6 +131,7 @@ die "Refund #$refundnum not found!" unless $cust_refund;
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;