[freeside-commits] freeside/httemplate/view cust_main.cgi, 1.119, 1.120
Ivan,,,
ivan at wavetail.420.am
Tue Jul 28 14:17:47 PDT 2009
- Previous message: [freeside-commits] freeside/httemplate/pref pref.html,1.12,1.13
- Next message: [freeside-commits] freeside/FS/FS Conf.pm, 1.304, 1.305 Schema.pm, 1.158, 1.159 cust_bill.pm, 1.248, 1.249 cust_main.pm, 1.445, 1.446
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/view
In directory wavetail.420.am:/tmp/cvs-serv18538/httemplate/view
Modified Files:
cust_main.cgi
Log Message:
adding a basic change history using history tables, RT#1005, RT#4357
Index: cust_main.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main.cgi,v
retrieving revision 1.119
retrieving revision 1.120
diff -u -d -r1.119 -r1.120
--- cust_main.cgi 17 Jun 2009 02:39:09 -0000 1.119
+++ cust_main.cgi 28 Jul 2009 21:17:45 -0000 1.120
@@ -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>
% }
@@ -180,6 +181,10 @@
% }
+% if ( $view eq 'change_history' ) { # || $view eq 'jumbo'
+ <% include('cust_main/change_history.html', $cust_main ) %>
+% }
+
<% include('/elements/footer.html') %>
<%init>
@@ -213,11 +218,12 @@
'Notes' => 'notes', #notes and files?
;
$views{'Tickets'} = 'tickets'
- if $conf->config('ticket_system');
+ if $conf->config('ticket_system');
$views{'Packages'} = 'packages';
$views{'Payment History'} = 'payment_history'
- unless $conf->config('payby-default' eq 'HIDE');
-#$views{'Change History'} = '';
+ unless $conf->config('payby-default' eq 'HIDE');
+$views{'Change History'} = 'change_history'
+ if $curuser->access_right('View customer history');
$views{'Jumbo'} = 'jumbo';
my %viewname = reverse %views;
- Previous message: [freeside-commits] freeside/httemplate/pref pref.html,1.12,1.13
- Next message: [freeside-commits] freeside/FS/FS Conf.pm, 1.304, 1.305 Schema.pm, 1.158, 1.159 cust_bill.pm, 1.248, 1.249 cust_main.pm, 1.445, 1.446
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list