diff options
author | ivan <ivan> | 2008-12-03 21:15:39 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-12-03 21:15:39 +0000 |
commit | ff873782e78715891b9d5d2eb5b38c735d372556 (patch) | |
tree | 078350a30b03a064e44244f4ccd141cbe460613a /httemplate/view/cust_pay.html | |
parent | e3c53b20ac5a7e120562bbd259a19707e9c11cb5 (diff) |
fix real customer numbers showing on view pages, RT#4099/4379
Diffstat (limited to 'httemplate/view/cust_pay.html')
-rw-r--r-- | httemplate/view/cust_pay.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/httemplate/view/cust_pay.html b/httemplate/view/cust_pay.html index 2e2344d40..c36d76904 100644 --- a/httemplate/view/cust_pay.html +++ b/httemplate/view/cust_pay.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', "Payment 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, )) %> @@ -124,6 +124,7 @@ die "Payment #$paynum not found!" unless $cust_pay; my $pr_link = "${p}view/cust_pay.html?link=print;paynum=$paynum"; my $custnum = $cust_pay->custnum; +my $display_custnum = $cust_pay->cust_main->display_custnum; my $conf = new FS::Conf; |