X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Freport_prepaid_income.cgi;h=2fe5b6f10f44108099b0b296cbc2919ec368c800;hb=c4b71bc4459cb7d403cbebede470aeb2c6292a6e;hp=c0e2b807e1847b6bc8557a4c08e6a1955cb107b3;hpb=d2c621ec6c3d2edbd3d8b44600a92d6773ffa971;p=freeside.git diff --git a/httemplate/search/report_prepaid_income.cgi b/httemplate/search/report_prepaid_income.cgi index c0e2b807e..2fe5b6f10 100644 --- a/httemplate/search/report_prepaid_income.cgi +++ b/httemplate/search/report_prepaid_income.cgi @@ -84,7 +84,7 @@ my $actual_label = $legacy ? 'Actual ' : ''; my $time = time; -my $now = $cgi->param('date') && str2time($cgi->param('date')) || $time; +my $now = $cgi->param('date') && parse_datetime($cgi->param('date')) || $time; $now =~ /^(\d+)$/ or die "unparsable date?"; $now = $1; @@ -108,10 +108,6 @@ my @where = (); #here is the agent virtualization push @where, $curuser->agentnums_sql( 'table'=>'cust_main' ); -#well, because cust_bill_pkg.cgi has it and without it the numbers don't match.. -push @where , " payby != 'COMP' " - unless $cgi->param('include_comp_cust'); - my %total = (); my %total_legacy = (); foreach my $agentnum (@agentnums) {