summaryrefslogtreecommitdiff
path: root/httemplate/graph
diff options
context:
space:
mode:
authorlevinse <levinse>2010-12-30 23:03:52 +0000
committerlevinse <levinse>2010-12-30 23:03:52 +0000
commit180dce3fb97569331accc27fb6061392e11b3efe (patch)
tree2a62508a4fef813d4d3dd9920ba13ccdd398680c /httemplate/graph
parent3da7811e91e0c6937304a7b98aec5c1c433c3643 (diff)
add customer accounting summary report, RT10911
Diffstat (limited to 'httemplate/graph')
-rw-r--r--httemplate/graph/elements/monthly.html1
-rw-r--r--httemplate/graph/elements/report.html2
2 files changed, 3 insertions, 0 deletions
diff --git a/httemplate/graph/elements/monthly.html b/httemplate/graph/elements/monthly.html
index 7b1b98a61..de2b2e9d4 100644
--- a/httemplate/graph/elements/monthly.html
+++ b/httemplate/graph/elements/monthly.html
@@ -101,6 +101,7 @@ my $report = new FS::Report::Table::Monthly (
'agentnum' => $opt{'agentnum'},
'remove_empty' => $opt{'remove_empty'},
+ 'doublemonths' => $opt{'doublemonths'},
);
my $data = $report->data;
diff --git a/httemplate/graph/elements/report.html b/httemplate/graph/elements/report.html
index b831f3a4f..2a5a1420f 100644
--- a/httemplate/graph/elements/report.html
+++ b/httemplate/graph/elements/report.html
@@ -163,9 +163,11 @@ any delimiter and linked from the elements in @data.
% } else {
%
<% include('/elements/header.html', $opt{'title'} ) %>
+% unless ( $opt{'graph_type'} eq 'none' ) {
% $cgi->param('_type', 'png');
<IMG SRC="<% $cgi->self_url %>" WIDTH="976" HEIGHT="384">
+% }
<P ALIGN="right">
% unless ( $opt{'disable_download'} ) {