[freeside-commits] freeside/httemplate index.html,1.105,1.105.2.1

Jeff Finucane,420,, jeff at wavetail.420.am
Mon Aug 2 12:49:23 PDT 2010


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

Modified Files:
      Tag: svc_elec_features
	index.html 
Log Message:
add svc_elec_features merged from reference code RT#7643

Index: index.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/index.html,v
retrieving revision 1.105
retrieving revision 1.105.2.1
diff -u -w -d -r1.105 -r1.105.2.1
--- index.html	17 Jun 2010 01:14:12 -0000	1.105
+++ index.html	2 Aug 2010 19:49:21 -0000	1.105.2.1
@@ -19,7 +19,10 @@
 %  my %saw = ();
 %  my @custnums = grep { !$saw{$_}++ } map $_->[0], @{ $sth->fetchall_arrayref };
 %
-%  @custnums = splice(@custnums, 0, 10);
+%  my $curuser = $FS::CurrentUser::CurrentUser;
+%  my $number_of_customers =
+%    $curuser->option('dashboard_customer_history_length') || 10;
+%  @custnums = splice(@custnums, 0, $number_of_customers);
 %
 %  if ( @custnums ) {
 



More information about the freeside-commits mailing list