projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
50410b4
)
fix reverted changes. grr. RT#4964
author
ivan
<ivan>
Thu, 13 Aug 2009 09:25:02 +0000
(09:25 +0000)
committer
ivan
<ivan>
Thu, 13 Aug 2009 09:25:02 +0000
(09:25 +0000)
httemplate/view/cust_main.cgi
patch
|
blob
|
history
diff --git
a/httemplate/view/cust_main.cgi
b/httemplate/view/cust_main.cgi
index
bbdfe51
..
3e5a8ce
100755
(executable)
--- 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]/ ) {
% 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>
% }
<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>
<% 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{'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;
$views{'Jumbo'} = 'jumbo';
my %viewname = reverse %views;