X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fgraph%2Freport_money_time.html;h=5647496867846136ad8ac45e844cdc6c275b2da9;hp=6c7e42716d2f084effc62afd758f4ca9b371a7ea;hb=e65c6a26ca778166aec2b2d1dd3012ab84fa611a;hpb=29644d5921c99520965b884b25800ed084891e94 diff --git a/httemplate/graph/report_money_time.html b/httemplate/graph/report_money_time.html index 6c7e42716..564749686 100644 --- a/httemplate/graph/report_money_time.html +++ b/httemplate/graph/report_money_time.html @@ -1,23 +1,3 @@ -<% - -#my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time); -my ($curmon,$curyear) = (localtime(time))[4,5]; - -#find first month -my $syear = 1899+$curyear; -my $smonth = $curmon+1; - -#want 12 month by default, not 13 -$smonth++; -if ( $smonth > 12 ) { $smonth-=12; $syear++ } - -#find last month -my $eyear = 1900+$curyear; -my $emonth = $curmon+1; - -my @mon = qw(Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec); - -%> <%= include('/elements/header.html', 'Sales, Credits and Receipts Summary' ) %>
@@ -34,38 +14,20 @@ my @mon = qw(Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec);
--> -From: - -
+ -To: - -
+<%= include('/elements/tr-select-from_to.html' ) %> -For agent: <%= include('/elements/select-agent.html' ) %> -
+<%= include('/elements/tr-select-agent.html', '', 'label' => 'For agent: ' ) %> - Show 12 month totals instead of monthly values. -
+ + + + + +
Show 12 month totals instead of monthly values
- +
<%= include('/elements/footer.html') %> -