summaryrefslogtreecommitdiff
path: root/httemplate/graph/money_time.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/graph/money_time.cgi')
-rw-r--r--httemplate/graph/money_time.cgi12
1 files changed, 0 insertions, 12 deletions
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+)$/ ) {