[freeside-commits] freeside/httemplate/view cust_main.cgi, 1.122, 1.123

Ivan,,, ivan at wavetail.420.am
Thu Aug 13 02:25:04 PDT 2009


Update of /home/cvs/cvsroot/freeside/httemplate/view
In directory wavetail.420.am:/tmp/cvs-serv16856

Modified Files:
	cust_main.cgi 
Log Message:
fix reverted changes.  grr.  RT#4964

Index: cust_main.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main.cgi,v
retrieving revision 1.122
retrieving revision 1.123
diff -u -d -r1.122 -r1.123
--- cust_main.cgi	10 Aug 2009 23:04:57 -0000	1.122
+++ cust_main.cgi	13 Aug 2009 09:25:02 -0000	1.123
@@ -113,6 +113,7 @@
 % 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 @@
 
 % }
 
+% 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{'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;



More information about the freeside-commits mailing list