diff options
Diffstat (limited to 'httemplate/view/cust_main/packages/package.html')
| -rw-r--r-- | httemplate/view/cust_main/packages/package.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/httemplate/view/cust_main/packages/package.html b/httemplate/view/cust_main/packages/package.html index 859a7f42f..120944601 100644 --- a/httemplate/view/cust_main/packages/package.html +++ b/httemplate/view/cust_main/packages/package.html @@ -10,7 +10,7 @@ %> <A NAME="cust_pkg<% $cust_pkg->pkgnum %>" ID ="cust_pkg<% $cust_pkg->pkgnum %>" - ><% $curuser->option('show_pkgnum') ? $cust_pkg->pkgnum.': ' : '' %><B><% $part_pkg->pkg |h %></B></A> + ><% $opt{show_pkgnum} ? $cust_pkg->pkgnum.': ' : '' %><B><% $part_pkg->pkg |h %></B></A> % my $custom_comment = $part_pkg->custom_comment(); <% $custom_comment ? ' - ' : '' %> <% $custom_comment |h %> @@ -72,10 +72,10 @@ <% $br ? '<BR>' : '' %> % } -% if ( $cust_pkg->num_cust_event -% && ( $curuser->access_right('Billing event reports') +% if ( ( $curuser->access_right('Billing event reports') % || $curuser->access_right('View customer billing events') % ) +% && $cust_pkg->num_cust_event % ) { ( <%pkg_event_link($cust_pkg)%> ) % } |
