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_bill.cgi | |
| parent | e3c53b20ac5a7e120562bbd259a19707e9c11cb5 (diff) | |
fix real customer numbers showing on view pages, RT#4099/4379
Diffstat (limited to 'httemplate/view/cust_bill.cgi')
| -rwxr-xr-x | httemplate/view/cust_bill.cgi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/view/cust_bill.cgi b/httemplate/view/cust_bill.cgi index db30d3ecc..450c74e61 100755 --- a/httemplate/view/cust_bill.cgi +++ b/httemplate/view/cust_bill.cgi @@ -1,5 +1,5 @@ <% include("/elements/header.html",'Invoice View', menubar( - "View this customer (#$custnum)" => "${p}view/cust_main.cgi?$custnum", + "View this customer (#$display_custnum)" => "${p}view/cust_main.cgi?$custnum", )) %> @@ -109,6 +109,7 @@ my $cust_bill = qsearchs({ die "Invoice #$invnum not found!" unless $cust_bill; my $custnum = $cust_bill->custnum; +my $display_custnum = $cust_bill->cust_main->display_custnum; #my $printed = $cust_bill->printed; |
