X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fgraph%2Fmoney_time.cgi;h=41b82fa84cccecbb109ff0c3012d2480c32ee92e;hb=0a1c8ced70c7497a38aa5a25dcfdcb34862d5299;hp=2b98af838a582e16ced6b0efad197596ecd27d4c;hpb=590603ecaea3184f64530755a76626be8205da49;p=freeside.git diff --git a/httemplate/graph/money_time.cgi b/httemplate/graph/money_time.cgi index 2b98af838..41b82fa84 100644 --- a/httemplate/graph/money_time.cgi +++ b/httemplate/graph/money_time.cgi @@ -6,10 +6,6 @@ 'graph_labels' => \%graph_label, 'colors' => \%color, 'links' => \%link, - 'start_month' => $smonth, - 'start_year' => $syear, - 'end_month' => $emonth, - 'end_year' => $eyear, 'agentnum' => $agentnum, 'nototal' => scalar($cgi->param('12mo')), ) @@ -19,14 +15,6 @@ die "access denied" unless $FS::CurrentUser::CurrentUser->access_right('Financial reports'); -#find first month -my $syear = $cgi->param('start_year'); # || 1899+$curyear; -my $smonth = $cgi->param('start_month'); # || $curmon+1; - -#find last month -my $eyear = $cgi->param('end_year'); # || 1900+$curyear; -my $emonth = $cgi->param('end_month'); # || $curmon+1; - #XXX or virtual my( $agentnum, $agent ) = ('', ''); if ( $cgi->param('agentnum') =~ /^(\d+)$/ ) {