X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fgraph%2Fmoney_time_daily.cgi;h=9b2ca714b10b2164b1c3cd9e3714726955d88835;hb=98ea15536afc6896cce08a41b877d6cb52444d14;hp=4d16ff871315d4438a7612949a2654e049199f47;hpb=20950bb21ee5dd8839a05dfcd58efa0a98e48e5a;p=freeside.git diff --git a/httemplate/graph/money_time_daily.cgi b/httemplate/graph/money_time_daily.cgi index 4d16ff871..9b2ca714b 100644 --- a/httemplate/graph/money_time_daily.cgi +++ b/httemplate/graph/money_time_daily.cgi @@ -1,4 +1,4 @@ -<% include('elements/monthly.html', +<% include('elements/monthly.html', #well, not really, daily flag below 'title' => $agentname. 'Daily Sales, Credits and Receipts Summary', 'items' => \@items, @@ -7,6 +7,7 @@ 'colors' => \%color, 'links' => \%link, 'agentnum' => $agentnum, + 'cust_classnum'=> \@classnums, 'nototal' => scalar($cgi->param('12mo')), 'daily' => 1, 'start_day' => $smday, @@ -32,6 +33,11 @@ if ( $cgi->param('agentnum') =~ /^(\d+)$/ ) { my $agentname = $agent ? $agent->agent.' ' : ''; +my @classnums; +if ( $cgi->param('cust_classnum') ) { + @classnums = grep /^\d+$/, $cgi->param('cust_classnum'); +} + my($beginning, $ending) = FS::UI::Web::parse_beginning_ending($cgi); my ($ssec,$smin,$shour,$smday,$smon,$syear,$swday,$syday,$sisdst) = localtime($beginning);