summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xhttemplate/view/cust_main.cgi8
1 files changed, 7 insertions, 1 deletions
diff --git a/httemplate/view/cust_main.cgi b/httemplate/view/cust_main.cgi
index bbdfe5166..3e5a8cee3 100755
--- a/httemplate/view/cust_main.cgi
+++ b/httemplate/view/cust_main.cgi
@@ -113,6 +113,7 @@ Comments
% if ( ! $conf->exists('cust_main-disable_notes') || $notecount) {
% unless ( $view eq 'notes' && $cust_main->comments !~ /[^\s\n\r]/ ) {
+ <BR>
<A NAME="cust_main_note"><FONT SIZE="+2">Notes</FONT></A><BR>
% }
@@ -206,6 +207,10 @@ Comments
% }
+% if ( $view eq 'change_history' ) { # || $view eq 'jumbo'
+<% include('cust_main/change_history.html', $cust_main ) %>
+% }
+
<% include('/elements/footer.html') %>
<%init>
@@ -243,7 +248,8 @@ $views{'Tickets'} = 'tickets'
$views{'Packages'} = 'packages';
$views{'Payment History'} = 'payment_history'
unless $conf->config('payby-default' eq 'HIDE');
-#$views{'Change History'} = '';
+$views{'Change History'} = 'change_history'
+ if $curuser->access_right('View customer history');
$views{'Jumbo'} = 'jumbo';
my %viewname = reverse %views;