X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Findex.html;h=a33ffb5ba6ccfadd69fc9ad318df4e41ffb977de;hb=refs%2Fheads%2Fsvc_elec_features;hp=5b550dba7d98e5628b1a9c6108572d577a03b61a;hpb=995a145c931164347683071c95c6754379d36604;p=freeside.git 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 ) {