summaryrefslogtreecommitdiff
path: root/httemplate/graph/money_time.cgi
diff options
context:
space:
mode:
authorivan <ivan>2007-08-14 21:46:18 +0000
committerivan <ivan>2007-08-14 21:46:18 +0000
commit6b74e2e7a98a11b8b4f62a10676ba8b37ee2ef4f (patch)
tree1bfb827ae9ab09efd0faec58a8b559402ae68baa /httemplate/graph/money_time.cgi
parent0cd9e13c265f6acc6b2cccf58af54c445100e4d0 (diff)
add package churn report/graph
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+)$/ ) {