summaryrefslogtreecommitdiff
path: root/httemplate/index.html
diff options
context:
space:
mode:
authorjeff <jeff>2010-08-02 19:49:26 +0000
committerjeff <jeff>2010-08-02 19:49:26 +0000
commit0a3b346806615bd893048d2a5c26f8d126a12f4b (patch)
tree6912cbc88774bfa513e95a58e05e7ce76fbc04c1 /httemplate/index.html
parent995a145c931164347683071c95c6754379d36604 (diff)
add svc_elec_features merged from reference code RT#7643svc_elec_features
Diffstat (limited to 'httemplate/index.html')
-rw-r--r--httemplate/index.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/httemplate/index.html b/httemplate/index.html
index 5b550dba7..a33ffb5ba 100644
--- a/httemplate/index.html
+++ b/httemplate/index.html
@@ -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 ) {