This commit was generated by cvs2svn to compensate for changes in r6252,
[freeside.git] / httemplate / view / cust_pay.html
index 2d1a22b..4037d35 100644 (file)
@@ -7,6 +7,14 @@
 % } elsif ( $link eq 'print' ) { 
 
   <% include('/elements/header-popup.html', "Payment Receipt" ) %>
+  
+% #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",
+     )
+  %>
+  <BR><BR>
 
 % } else { 
 
 my $curuser = $FS::CurrentUser::CurrentUser;
 
 die "access denied"
-  unless $curuser->access_right('View invoices') #remove this in 1.9
-      || $curuser->access_right('View customer payments');
+  unless $curuser->access_right('View customer payments');
 
 $cgi->param('paynum') =~ /^(\d+)$/ or die "no paynum";
 my $paynum = $1;