customer view tab for an external info page, RT#8903
[freeside.git] / httemplate / view / cust_main.cgi
index 0b267ad..d5b7d93 100755 (executable)
@@ -230,6 +230,10 @@ Comments
 <% include('cust_main/change_history.html', $cust_main ) %>     
 % }
 
+% if ( $view eq 'custom' ) {
+<% include('cust_main/custom.html', $cust_main ) %>
+% }
+
 <% include('/elements/footer.html') %>
 <%init>
 
@@ -269,6 +273,8 @@ $views{'Payment History'} =  'payment_history'
                                unless $conf->config('payby-default' eq 'HIDE');
 $views{'Change History'}  =  'change_history'
   if $curuser->access_right('View customer history');
+$views{$conf->config('cust_main-custom_title') || 'Custom'} =  'custom'
+  if $conf->config('cust_main-custom_link');
 $views{'Jumbo'}           =  'jumbo';
 
 my %viewname = reverse %views;