[freeside-commits] freeside/httemplate/graph report_money_time_daily.html, 1.1, 1.2

Erik Levinson levinse at wavetail.420.am
Thu May 26 14:00:00 PDT 2011


Update of /home/cvs/cvsroot/freeside/httemplate/graph
In directory wavetail.420.am:/tmp/cvs-serv4834/httemplate/graph

Modified Files:
	report_money_time_daily.html 
Log Message:
daily sales, credits, and receipts report

Index: report_money_time_daily.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/graph/report_money_time_daily.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -w -d -r1.1 -r1.2
--- report_money_time_daily.html	13 May 2011 20:03:19 -0000	1.1
+++ report_money_time_daily.html	26 May 2011 20:59:58 -0000	1.2
@@ -4,7 +4,12 @@
 
 <TABLE>
 
-<% include( '/elements/tr-input-beginning_ending.html' ) %>
+<% include( '/elements/tr-input-beginning_ending.html',
+                'datesrequired' => 1,
+                'from' => time2str('%m/%d/%Y',$from),
+                'to' => time2str('%m/%d/%Y',time),
+            ) 
+%>
 
 <% include('/elements/tr-select-agent.html',
              'label'         => 'For agent: ',
@@ -20,6 +25,8 @@
 <% include('/elements/footer.html') %>
 <%init>
 
+my $from = time - 30*86400;
+
 die "access denied"
   unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');
 



More information about the freeside-commits mailing list