doc
[freeside.git] / httemplate / view / cust_main.cgi
index bbdfe51..314207b 100755 (executable)
@@ -40,6 +40,7 @@ function areyousure(href, message) {
                 'actionlabel' => 'Confirm Cancellation',
                 'color'       => '#ff0000',
                 'cust_main'   => $cust_main,
+                'width'       => 616, #make room for reasons
               }
             )
   %> | 
@@ -113,6 +114,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 +208,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 +249,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;