diff options
Diffstat (limited to 'httemplate/index.html')
-rw-r--r-- | httemplate/index.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/httemplate/index.html b/httemplate/index.html index 5b550db..a33ffb5 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 ) { |