X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_refund.html;h=138c8780d4a1d12fdde17c3d9802b69c89dafbd8;hb=9406701ac3be0d78e44d661b4a132f5a9da23079;hp=40f6ab63019c5b378eec354134c3c5fb35201a8f;hpb=15a02054fe0f91eda70003b8d1cf29497d19aa91;p=freeside.git diff --git a/httemplate/view/cust_refund.html b/httemplate/view/cust_refund.html index 40f6ab630..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", ) %>

@@ -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, )) %> @@ -60,7 +60,7 @@ Refund method - <% $cust_refund->payby_name %> #<% $cust_refund->paymask %> + <% $cust_refund->payby_name %><% $cust_refund->paymask ? ' #'.$cust_refund->paymask : '' %> % if ( $cust_refund->payby =~ /^(CARD|CHEK|LECB)$/ && $cust_refund->paybatch ) { @@ -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;